From 39f7eef0249edac4613e3b9cad1e17f172ecc180 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 13 Dec 2022 23:51:24 +0000 Subject: [PATCH 1/4] docs: updated comment for Route.route_token docs: updated comment for RouteTravelMode PiperOrigin-RevId: 495099777 Source-Link: https://github.com/googleapis/googleapis/commit/f40f54b68f91805162104232aea90dbfff913b96 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b0f20707e7ff69d6de08f7c7f5db68591e29a5d4 Copy-Tag: eyJwIjoiamF2YS1tYXBzLXJvdXRpbmcvLk93bEJvdC55YW1sIiwiaCI6ImIwZjIwNzA3ZTdmZjY5ZDZkZTA4ZjdjN2Y1ZGI2ODU5MWUyOWE1ZDQifQ== --- .../maps/routing/v2/FallbackInfoProto.java | 74 - .../google/maps/routing/v2/LocationProto.java | 75 - .../google/maps/routing/v2/ManeuverProto.java | 61 - .../v2/NavigationInstructionProto.java | 73 - .../google/maps/routing/v2/PolylineProto.java | 78 - .../maps/routing/v2/RouteLabelProto.java | 55 - .../maps/routing/v2/RouteModifiersProto.java | 84 - .../google/maps/routing/v2/RouteProto.java | 219 -- .../maps/routing/v2/RouteTravelModeProto.java | 55 - .../maps/routing/v2/RoutesServiceProto.java | 263 --- .../routing/v2/RoutingPreferenceProto.java | 56 - .../routing/v2/SpeedReadingIntervalProto.java | 77 - .../google/maps/routing/v2/TollInfoProto.java | 71 - .../maps/routing/v2/TollPassesProto.java | 107 - .../google/maps/routing/v2/UnitsProto.java | 54 - .../routing/v2/VehicleEmissionTypeProto.java | 56 - .../maps/routing/v2/VehicleInfoProto.java | 73 - .../google/maps/routing/v2/WaypointProto.java | 74 - .../google/maps/routing/v2/RoutesClient.java | 0 .../maps/routing/v2/RoutesSettings.java | 1 + .../maps/routing/v2/gapic_metadata.json | 0 .../google/maps/routing/v2/package-info.java | 0 .../v2/stub/GrpcRoutesCallableFactory.java | 0 .../maps/routing/v2/stub/GrpcRoutesStub.java | 0 .../stub/HttpJsonRoutesCallableFactory.java | 0 .../routing/v2/stub/HttpJsonRoutesStub.java | 0 .../maps/routing/v2/stub/RoutesStub.java | 0 .../routing/v2/stub/RoutesStubSettings.java | 0 .../google/maps/routing/v2/MockRoutes.java | 0 .../maps/routing/v2/MockRoutesImpl.java | 0 .../routing/v2/RoutesClientHttpJsonTest.java | 0 .../maps/routing/v2/RoutesClientTest.java | 0 .../google/maps/routing/v2/RoutesGrpc.java | 327 +-- .../routing/v2/ComputeRouteMatrixRequest.java | 1370 +++++------ .../ComputeRouteMatrixRequestOrBuilder.java | 220 +- .../maps/routing/v2/ComputeRoutesRequest.java | 2037 ++++++----------- .../v2/ComputeRoutesRequestOrBuilder.java | 312 +-- .../routing/v2/ComputeRoutesResponse.java | 494 ++-- .../v2/ComputeRoutesResponseOrBuilder.java | 45 +- .../google/maps/routing/v2/FallbackInfo.java | 364 ++- .../routing/v2/FallbackInfoOrBuilder.java | 30 +- .../maps/routing/v2/FallbackInfoProto.java | 61 + .../maps/routing/v2/FallbackReason.java | 82 +- .../maps/routing/v2/FallbackRoutingMode.java | 77 +- .../com/google/maps/routing/v2/Location.java | 387 ++-- .../maps/routing/v2/LocationOrBuilder.java | 34 +- .../google/maps/routing/v2/LocationProto.java | 60 + .../com/google/maps/routing/v2/Maneuver.java | 192 +- .../google/maps/routing/v2/ManeuverProto.java | 50 + .../routing/v2/NavigationInstruction.java | 383 ++-- .../v2/NavigationInstructionOrBuilder.java | 33 +- .../v2/NavigationInstructionProto.java | 58 + .../com/google/maps/routing/v2/Polyline.java | 472 ++-- .../maps/routing/v2/PolylineEncoding.java | 82 +- .../maps/routing/v2/PolylineOrBuilder.java | 38 +- .../google/maps/routing/v2/PolylineProto.java | 63 + .../maps/routing/v2/PolylineQuality.java | 82 +- .../com/google/maps/routing/v2/Route.java | 1260 ++++------ .../google/maps/routing/v2/RouteLabel.java | 89 +- .../maps/routing/v2/RouteLabelProto.java | 44 + .../com/google/maps/routing/v2/RouteLeg.java | 941 +++----- .../maps/routing/v2/RouteLegOrBuilder.java | 87 +- .../google/maps/routing/v2/RouteLegStep.java | 829 +++---- .../routing/v2/RouteLegStepOrBuilder.java | 69 +- .../v2/RouteLegStepTravelAdvisory.java | 457 ++-- .../RouteLegStepTravelAdvisoryOrBuilder.java | 33 +- .../routing/v2/RouteLegTravelAdvisory.java | 537 ++--- .../v2/RouteLegTravelAdvisoryOrBuilder.java | 41 +- .../routing/v2/RouteMatrixDestination.java | 381 ++- .../v2/RouteMatrixDestinationOrBuilder.java | 35 +- .../maps/routing/v2/RouteMatrixElement.java | 836 +++---- .../v2/RouteMatrixElementCondition.java | 77 +- .../v2/RouteMatrixElementOrBuilder.java | 79 +- .../maps/routing/v2/RouteMatrixOrigin.java | 508 ++-- .../v2/RouteMatrixOriginOrBuilder.java | 55 +- .../maps/routing/v2/RouteModifiers.java | 605 ++--- .../routing/v2/RouteModifiersOrBuilder.java | 56 +- .../maps/routing/v2/RouteModifiersProto.java | 64 + .../maps/routing/v2/RouteOrBuilder.java | 142 +- .../google/maps/routing/v2/RouteProto.java | 176 ++ .../maps/routing/v2/RouteTravelAdvisory.java | 567 ++--- .../v2/RouteTravelAdvisoryOrBuilder.java | 44 +- .../maps/routing/v2/RouteTravelMode.java | 100 +- .../maps/routing/v2/RouteTravelModeProto.java | 44 + .../maps/routing/v2/RoutesServiceProto.java | 221 ++ .../maps/routing/v2/RoutingPreference.java | 87 +- .../routing/v2/RoutingPreferenceProto.java | 45 + .../maps/routing/v2/SpeedReadingInterval.java | 458 ++-- .../v2/SpeedReadingIntervalOrBuilder.java | 36 +- .../routing/v2/SpeedReadingIntervalProto.java | 60 + .../com/google/maps/routing/v2/TollInfo.java | 387 ++-- .../maps/routing/v2/TollInfoOrBuilder.java | 37 +- .../google/maps/routing/v2/TollInfoProto.java | 56 + .../com/google/maps/routing/v2/TollPass.java | 703 +----- .../maps/routing/v2/TollPassesProto.java | 96 + .../com/google/maps/routing/v2/Units.java | 82 +- .../google/maps/routing/v2/UnitsProto.java | 43 + .../maps/routing/v2/VehicleEmissionType.java | 95 +- .../routing/v2/VehicleEmissionTypeProto.java | 45 + .../google/maps/routing/v2/VehicleInfo.java | 298 +-- .../maps/routing/v2/VehicleInfoOrBuilder.java | 24 +- .../maps/routing/v2/VehicleInfoProto.java | 58 + .../com/google/maps/routing/v2/Waypoint.java | 576 ++--- .../maps/routing/v2/WaypointOrBuilder.java | 47 +- .../google/maps/routing/v2/WaypointProto.java | 59 + .../maps/routing/v2/fallback_info.proto | 0 .../google/maps/routing/v2/location.proto | 0 .../google/maps/routing/v2/maneuver.proto | 0 .../routing/v2/navigation_instruction.proto | 0 .../google/maps/routing/v2/polyline.proto | 0 .../proto/google/maps/routing/v2/route.proto | 4 + .../google/maps/routing/v2/route_label.proto | 0 .../maps/routing/v2/route_modifiers.proto | 0 .../maps/routing/v2/route_travel_mode.proto | 4 + .../maps/routing/v2/routes_service.proto | 70 +- .../maps/routing/v2/routing_preference.proto | 0 .../routing/v2/speed_reading_interval.proto | 0 .../google/maps/routing/v2/toll_info.proto | 0 .../google/maps/routing/v2/toll_passes.proto | 0 .../proto/google/maps/routing/v2/units.proto | 0 .../routing/v2/vehicle_emission_type.proto | 0 .../google/maps/routing/v2/vehicle_info.proto | 0 .../google/maps/routing/v2/waypoint.proto | 0 123 files changed, 7329 insertions(+), 13377 deletions(-) delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java (99%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java (68%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java (60%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java (51%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java (64%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java (61%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java (81%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java (72%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java (73%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java (74%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java (63%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java (74%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java (71%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java (79%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java (71%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java (88%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java (73%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java (86%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java (76%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java (83%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java (78%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java (87%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java (61%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java (52%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java (71%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java (88%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java (61%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java (54%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java (89%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java (78%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java (87%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java (69%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java (77%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java (72%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java (75%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java (80%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java (66%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java (70%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java (65%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java (74%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto (97%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto (84%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto (87%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto (100%) diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java deleted file mode 100644 index a7ea937c97bb..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java +++ /dev/null @@ -1,74 +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/routing/v2/fallback_info.proto - -package com.google.maps.routing.v2; - -public final class FallbackInfoProto { - private FallbackInfoProto() {} - - 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_routing_v2_FallbackInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" - + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" - + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" - + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" - + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" - + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" - + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" - + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" - + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" - + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" - + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." - + "routing.v2B\021FallbackInfoProtoP\001Z=google." - + "golang.org/genproto/googleapis/maps/rout" - + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." - + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" - + "ogle::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_routing_v2_FallbackInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_FallbackInfo_descriptor, - new java.lang.String[] { - "RoutingMode", "Reason", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java deleted file mode 100644 index 6c97294ff432..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java +++ /dev/null @@ -1,75 +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/routing/v2/location.proto - -package com.google.maps.routing.v2; - -public final class LocationProto { - private LocationProto() {} - - 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_routing_v2_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" - + "\026google.maps.routing.v2\032\036google/protobuf" - + "/wrappers.proto\032\030google/type/latlng.prot" - + "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." - + "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" - + "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" - + "uting.v2B\rLocationProtoP\001Z=google.golang" - + ".org/genproto/googleapis/maps/routing/v2" - + ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" - + "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" - + "Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Location_descriptor, - new java.lang.String[] { - "LatLng", "Heading", - }); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java deleted file mode 100644 index f6c50fb87124..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java +++ /dev/null @@ -1,61 +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/routing/v2/maneuver.proto - -package com.google.maps.routing.v2; - -public final class ManeuverProto { - private ManeuverProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/maneuver.proto\022" - + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" - + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" - + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" - + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" - + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" - + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" - + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" - + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" - + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" - + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" - + ".v2B\rManeuverProtoP\001Z=google.golang.org/" - + "genproto/googleapis/maps/routing/v2;rout" - + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" - + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" - + ":Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java deleted file mode 100644 index 13190eb8f396..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java +++ /dev/null @@ -1,73 +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/routing/v2/navigation_instruction.proto - -package com.google.maps.routing.v2; - -public final class NavigationInstructionProto { - private NavigationInstructionProto() {} - - 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_routing_v2_NavigationInstruction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/navigation_inst" - + "ruction.proto\022\026google.maps.routing.v2\032%g" - + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" - + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" - + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" - + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" - + "ing.v2B\032NavigationInstructionProtoP\001Z=go" - + "ogle.golang.org/genproto/googleapis/maps" - + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." - + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" - + "\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.ManeuverProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, - new java.lang.String[] { - "Maneuver", "Instructions", - }); - com.google.maps.routing.v2.ManeuverProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java deleted file mode 100644 index a743db5a4a31..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java +++ /dev/null @@ -1,78 +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/routing/v2/polyline.proto - -package com.google.maps.routing.v2; - -public final class PolylineProto { - private PolylineProto() {} - - 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_routing_v2_Polyline_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" - + "\026google.maps.routing.v2\032\034google/protobuf" - + "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" - + "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" - + "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" - + "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" - + "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" - + "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" - + "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" - + "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" - + "m.google.maps.routing.v2B\rPolylineProtoP" - + "\001Z=google.golang.org/genproto/googleapis" - + "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" - + "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" - + "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Polyline_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Polyline_descriptor, - new java.lang.String[] { - "EncodedPolyline", "GeoJsonLinestring", "PolylineType", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java deleted file mode 100644 index d2d2b74e93af..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java +++ /dev/null @@ -1,55 +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/routing/v2/route_label.proto - -package com.google.maps.routing.v2; - -public final class RouteLabelProto { - private RouteLabelProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_label.pro" - + "to\022\026google.maps.routing.v2*m\n\nRouteLabel" - + "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" - + "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" - + "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" - + "uting.v2B\017RouteLabelProtoP\001Z=google.gola" - + "ng.org/genproto/googleapis/maps/routing/" - + "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" - + "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" - + "::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java deleted file mode 100644 index f01f5afec580..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java +++ /dev/null @@ -1,84 +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/routing/v2/route_modifiers.proto - -package com.google.maps.routing.v2; - -public final class RouteModifiersProto { - private RouteModifiersProto() {} - - 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_routing_v2_RouteModifiers_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" - + ".proto\022\026google.maps.routing.v2\032(google/m" - + "aps/routing/v2/toll_passes.proto\032)google" - + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" - + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" - + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" - + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" - + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" - + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" - + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" - + "outing.v2B\023RouteModifiersProtoP\001Z=google" - + ".golang.org/genproto/googleapis/maps/rou" - + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" - + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" - + "oogle::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.TollPassesProto.getDescriptor(), - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_RouteModifiers_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteModifiers_descriptor, - new java.lang.String[] { - "AvoidTolls", - "AvoidHighways", - "AvoidFerries", - "AvoidIndoor", - "VehicleInfo", - "TollPasses", - }); - com.google.maps.routing.v2.TollPassesProto.getDescriptor(); - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java deleted file mode 100644 index 8fb18903f5a6..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java +++ /dev/null @@ -1,219 +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/routing/v2/route.proto - -package com.google.maps.routing.v2; - -public final class RouteProto { - private RouteProto() {} - - 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_routing_v2_Route_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Route_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLeg_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" - + "ogle.maps.routing.v2\032\036google/geo/type/vi" - + "ewport.proto\032%google/maps/routing/v2/loc" - + "ation.proto\0323google/maps/routing/v2/navi" - + "gation_instruction.proto\032%google/maps/ro" - + "uting/v2/polyline.proto\032(google/maps/rou" - + "ting/v2/route_label.proto\0323google/maps/r" - + "outing/v2/speed_reading_interval.proto\032&" - + "google/maps/routing/v2/toll_info.proto\032\036" - + "google/protobuf/duration.proto\"\316\003\n\005Route" - + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" - + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" - + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" - + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" - + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" - + "\0132\031.google.protobuf.Duration\0222\n\010polyline" - + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" - + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" - + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" - + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" - + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" - + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" - + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" - + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" - + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" - + "ingInterval\022$\n\034fuel_consumption_microlit" - + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" - + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" - + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" - + "(\0132,.google.maps.routing.v2.SpeedReading" - + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" - + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" - + ".maps.routing.v2.SpeedReadingInterval\"\250\003" - + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" - + "uration\030\002 \001(\0132\031.google.protobuf.Duration" - + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" - + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." - + "maps.routing.v2.Polyline\0228\n\016start_locati" - + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" - + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" - + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" - + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" - + "l_advisory\030\010 \001(\0132..google.maps.routing.v" - + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" - + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" - + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" - + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" - + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" - + "gle.maps.routing.v2.Location\0226\n\014end_loca" - + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" - + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" - + "oogle.maps.routing.v2.NavigationInstruct" - + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" - + "ps.routing.v2.RouteLegStepTravelAdvisory" - + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" - + "otoP\001Z=google.golang.org/genproto/google" - + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" - + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" - + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.maps.routing.v2.LocationProto.getDescriptor(), - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), - com.google.maps.routing.v2.TollInfoProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Route_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Route_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Route_descriptor, - new java.lang.String[] { - "RouteLabels", - "Legs", - "DistanceMeters", - "Duration", - "StaticDuration", - "Polyline", - "Description", - "Warnings", - "Viewport", - "TravelAdvisory", - "RouteToken", - }); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, - new java.lang.String[] { - "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", - }); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, - new java.lang.String[] { - "TollInfo", "SpeedReadingIntervals", - }); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, - new java.lang.String[] { - "SpeedReadingIntervals", - }); - internal_static_google_maps_routing_v2_RouteLeg_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLeg_descriptor, - new java.lang.String[] { - "DistanceMeters", - "Duration", - "StaticDuration", - "Polyline", - "StartLocation", - "EndLocation", - "Steps", - "TravelAdvisory", - }); - internal_static_google_maps_routing_v2_RouteLegStep_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStep_descriptor, - new java.lang.String[] { - "DistanceMeters", - "StaticDuration", - "Polyline", - "StartLocation", - "EndLocation", - "NavigationInstruction", - "TravelAdvisory", - }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); - com.google.maps.routing.v2.TollInfoProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java deleted file mode 100644 index aef7e626a506..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java +++ /dev/null @@ -1,55 +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/routing/v2/route_travel_mode.proto - -package com.google.maps.routing.v2; - -public final class RouteTravelModeProto { - private RouteTravelModeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_travel_mo" - + "de.proto\022\026google.maps.routing.v2*a\n\017Rout" - + "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" - + "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" - + "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." - + "v2B\024RouteTravelModeProtoP\001Z=google.golan" - + "g.org/genproto/googleapis/maps/routing/v" - + "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" - + "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" - + ":Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java deleted file mode 100644 index c849957989f0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java +++ /dev/null @@ -1,263 +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/routing/v2/routes_service.proto - -package com.google.maps.routing.v2; - -public final class RoutesServiceProto { - private RoutesServiceProto() {} - - 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_routing_v2_ComputeRoutesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." - + "proto\022\026google.maps.routing.v2\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032*g" - + "oogle/maps/routing/v2/fallback_info.prot" - + "o\032%google/maps/routing/v2/polyline.proto" - + "\032\"google/maps/routing/v2/route.proto\032,go" - + "ogle/maps/routing/v2/route_modifiers.pro" - + "to\032.google/maps/routing/v2/route_travel_" - + "mode.proto\032/google/maps/routing/v2/routi" - + "ng_preference.proto\032\"google/maps/routing" - + "/v2/units.proto\032%google/maps/routing/v2/" - + "waypoint.proto\032\036google/protobuf/duration" - + ".proto\032\037google/protobuf/timestamp.proto\032" - + "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" - + "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." - + "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" - + "\002 \001(\0132 .google.maps.routing.v2.WaypointB" - + "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" - + "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" - + "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" - + "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" - + "\0162).google.maps.routing.v2.RoutingPrefer" - + "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" - + "ogle.maps.routing.v2.PolylineQualityB\003\340A" - + "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" - + "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" - + "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" - + "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" - + ".google.maps.routing.v2.RouteModifiersB\003" - + "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" - + "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" - + "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" - + ".google.maps.routing.v2.ComputeRoutesReq" - + "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" - + "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" - + "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" - + "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." - + "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" - + ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" - + "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" - + "oogle.maps.routing.v2.RouteMatrixOriginB" - + "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" - + ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" - + "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" - + "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" - + "eference\030\004 \001(\0162).google.maps.routing.v2." - + "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" - + "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" - + "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" - + " .google.maps.routing.v2.WaypointB\003\340A\002\022D" - + "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" - + "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" - + "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" - + "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" - + "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" - + "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" - + "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" - + "on\030\t \001(\01623.google.maps.routing.v2.RouteM" - + "atrixElementCondition\022\027\n\017distance_meters" - + "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" - + "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" - + "oogle.protobuf.Duration\022D\n\017travel_adviso" - + "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" - + "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" - + "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" - + "rigin_indexB\024\n\022_destination_index*t\n\033Rou" - + "teMatrixElementCondition\022.\n*ROUTE_MATRIX" - + "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" - + "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" - + "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" - + "ng.v2.ComputeRoutesRequest\032-.google.maps" - + ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" - + "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" - + "omputeRouteMatrix\0221.google.maps.routing." - + "v2.ComputeRouteMatrixRequest\032*.google.ma" - + "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" - + "\"%/distanceMatrix/v2:computeRouteMatrix:" - + "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" - + "oogle.maps.routing.v2B\022RoutesServiceProt" - + "oP\001Z=google.golang.org/genproto/googleap" - + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" - + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" - + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" - + "to3" - }; - 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.routing.v2.FallbackInfoProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteProto.getDescriptor(), - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(), - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(), - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(), - com.google.maps.routing.v2.UnitsProto.getDescriptor(), - com.google.maps.routing.v2.WaypointProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor, - new java.lang.String[] { - "Origin", - "Destination", - "Intermediates", - "TravelMode", - "RoutingPreference", - "PolylineQuality", - "PolylineEncoding", - "DepartureTime", - "ComputeAlternativeRoutes", - "RouteModifiers", - "LanguageCode", - "Units", - "RequestedReferenceRoutes", - }); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor, - new java.lang.String[] { - "Routes", "FallbackInfo", - }); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor, - new java.lang.String[] { - "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", - }); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor, - new java.lang.String[] { - "Waypoint", "RouteModifiers", - }); - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor, - new java.lang.String[] { - "Waypoint", - }); - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor, - new java.lang.String[] { - "OriginIndex", - "DestinationIndex", - "Status", - "Condition", - "DistanceMeters", - "Duration", - "StaticDuration", - "TravelAdvisory", - "FallbackInfo", - "OriginIndex", - "DestinationIndex", - }); - 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.routing.v2.FallbackInfoProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteProto.getDescriptor(); - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(); - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(); - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(); - com.google.maps.routing.v2.UnitsProto.getDescriptor(); - com.google.maps.routing.v2.WaypointProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java deleted file mode 100644 index ff6abe39e2ae..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java +++ /dev/null @@ -1,56 +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/routing/v2/routing_preference.proto - -package com.google.maps.routing.v2; - -public final class RoutingPreferenceProto { - private RoutingPreferenceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/routing_prefere" - + "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" - + "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" - + "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" - + "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" - + "\n\032com.google.maps.routing.v2B\026RoutingPre" - + "ferenceProtoP\001Z=google.golang.org/genpro" - + "to/googleapis/maps/routing/v2;routing\370\001\001" - + "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" - + "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" - + "ng::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java deleted file mode 100644 index 31094d5dcea0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java +++ /dev/null @@ -1,77 +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/routing/v2/speed_reading_interval.proto - -package com.google.maps.routing.v2; - -public final class SpeedReadingIntervalProto { - private SpeedReadingIntervalProto() {} - - 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_routing_v2_SpeedReadingInterval_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/speed_reading_i" - + "nterval.proto\022\026google.maps.routing.v2\"\254\002" - + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" - + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" - + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." - + "google.maps.routing.v2.SpeedReadingInter" - + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" - + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" - + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" - + "polyline_point_indexB\321\001\n\032com.google.maps" - + ".routing.v2B\031SpeedReadingIntervalProtoP\001" - + "Z=google.golang.org/genproto/googleapis/" - + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" - + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" - + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, - new java.lang.String[] { - "StartPolylinePointIndex", - "EndPolylinePointIndex", - "Speed", - "StartPolylinePointIndex", - "EndPolylinePointIndex", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java deleted file mode 100644 index 2a9ed26f48f0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.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/routing/v2/toll_info.proto - -package com.google.maps.routing.v2; - -public final class TollInfoProto { - private TollInfoProto() {} - - 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_routing_v2_TollInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" - + "\022\026google.maps.routing.v2\032\027google/type/mo" - + "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" - + "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" - + "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" - + "le.golang.org/genproto/googleapis/maps/r" - + "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" - + "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" - + "\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_TollInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_TollInfo_descriptor, - new java.lang.String[] { - "EstimatedPrice", - }); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java deleted file mode 100644 index c2008ea40f54..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java +++ /dev/null @@ -1,107 +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/routing/v2/toll_passes.proto - -package com.google.maps.routing.v2; - -public final class TollPassesProto { - private TollPassesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/toll_passes.pro" - + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" - + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" - + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" - + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" - + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" - + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" - + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" - + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" - + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" - + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" - + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" - + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" - + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" - + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" - + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" - + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" - + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" - + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" - + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" - + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" - + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" - + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" - + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" - + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" - + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" - + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" - + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" - + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" - + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" - + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" - + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" - + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" - + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" - + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" - + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" - + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" - + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" - + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" - + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" - + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" - + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" - + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" - + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" - + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" - + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" - + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" - + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" - + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" - + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" - + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" - + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" - + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" - + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" - + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" - + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" - + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" - + "ollPassesProtoP\001Z=google.golang.org/genp" - + "roto/googleapis/maps/routing/v2;routing\370" - + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" - + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" - + "ting::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java deleted file mode 100644 index cc81ec25ded8..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java +++ /dev/null @@ -1,54 +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/routing/v2/units.proto - -package com.google.maps.routing.v2; - -public final class UnitsProto { - private UnitsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/units.proto\022\026go" - + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" - + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" - + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" - + "oP\001Z=google.golang.org/genproto/googleap" - + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" - + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" - + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java deleted file mode 100644 index c8d9ac7c9dcc..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java +++ /dev/null @@ -1,56 +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/routing/v2/vehicle_emission_type.proto - -package com.google.maps.routing.v2; - -public final class VehicleEmissionTypeProto { - private VehicleEmissionTypeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/maps/routing/v2/vehicle_emissio" - + "n_type.proto\022\026google.maps.routing.v2*p\n\023" - + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" - + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" - + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" - + "oogle.maps.routing.v2B\030VehicleEmissionTy" - + "peProtoP\001Z=google.golang.org/genproto/go" - + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" - + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" - + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" - + "2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java deleted file mode 100644 index 9b6b78cf0360..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java +++ /dev/null @@ -1,73 +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/routing/v2/vehicle_info.proto - -package com.google.maps.routing.v2; - -public final class VehicleInfoProto { - private VehicleInfoProto() {} - - 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_routing_v2_VehicleInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" - + "oto\022\026google.maps.routing.v2\0322google/maps" - + "/routing/v2/vehicle_emission_type.proto\"" - + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." - + "google.maps.routing.v2.VehicleEmissionTy" - + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" - + "leInfoProtoP\001Z=google.golang.org/genprot" - + "o/googleapis/maps/routing/v2;routing\370\001\001\242" - + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" - + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" - + "g::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_VehicleInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_VehicleInfo_descriptor, - new java.lang.String[] { - "EmissionType", - }); - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java deleted file mode 100644 index dfabac701a3f..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java +++ /dev/null @@ -1,74 +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/routing/v2/waypoint.proto - -package com.google.maps.routing.v2; - -public final class WaypointProto { - private WaypointProto() {} - - 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_routing_v2_Waypoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" - + "\026google.maps.routing.v2\032%google/maps/rou" - + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" - + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" - + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" - + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" - + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" - + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" - + "gle.golang.org/genproto/googleapis/maps/" - + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" - + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" - + "\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.LocationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Waypoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Waypoint_descriptor, - new java.lang.String[] { - "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", - }); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java similarity index 99% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java index 1e4eae9ddd14..385c731cf93f 100644 --- a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java +++ b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java @@ -26,6 +26,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; +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.routing.v2.stub.RoutesStubSettings; diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java diff --git a/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java b/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java similarity index 68% rename from java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java rename to owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java index c58e60777cda..15ebf2b95ac9 100644 --- a/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java +++ b/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.routing.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The Routes API.
  * 
@@ -35,148 +18,120 @@ private RoutesGrpc() {} public static final String SERVICE_NAME = "google.maps.routing.v2.Routes"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod; + private static volatile io.grpc.MethodDescriptor getComputeRoutesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRoutes", requestType = com.google.maps.routing.v2.ComputeRoutesRequest.class, responseType = com.google.maps.routing.v2.ComputeRoutesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod() { - io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod; + public static io.grpc.MethodDescriptor getComputeRoutesMethod() { + io.grpc.MethodDescriptor getComputeRoutesMethod; if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { - RoutesGrpc.getComputeRoutesMethod = - getComputeRoutesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) - .build(); + RoutesGrpc.getComputeRoutesMethod = getComputeRoutesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) + .build(); } } } return getComputeRoutesMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod; + private static volatile io.grpc.MethodDescriptor getComputeRouteMatrixMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRouteMatrix", requestType = com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, responseType = com.google.maps.routing.v2.RouteMatrixElement.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod() { - io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod; + public static io.grpc.MethodDescriptor getComputeRouteMatrixMethod() { + io.grpc.MethodDescriptor getComputeRouteMatrixMethod; if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { - RoutesGrpc.getComputeRouteMatrixMethod = - getComputeRouteMatrixMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRouteMatrixRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) - .build(); + RoutesGrpc.getComputeRouteMatrixMethod = getComputeRouteMatrixMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) + .build(); } } } return getComputeRouteMatrixMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static RoutesStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesStub(channel, callOptions); + } + }; return RoutesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static RoutesBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static RoutesBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesBlockingStub(channel, callOptions); + } + }; return RoutesBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static RoutesFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static RoutesFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesFutureStub(channel, callOptions); + } + }; return RoutesFutureStub.newStub(factory, channel); } /** - * - * *
    * The Routes API.
    * 
*/ - public abstract static class RoutesImplBase implements io.grpc.BindableService { + public static abstract class RoutesImplBase implements io.grpc.BindableService { /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -210,17 +165,12 @@ public abstract static class RoutesImplBase implements io.grpc.BindableService {
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getComputeRoutesMethod(), responseObserver); + public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRoutesMethod(), responseObserver); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -254,55 +204,49 @@ public void computeRoutes(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix( - com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getComputeRouteMatrixMethod(), responseObserver); + public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRouteMatrixMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getComputeRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse>( - this, METHODID_COMPUTE_ROUTES))) + getComputeRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse>( + this, METHODID_COMPUTE_ROUTES))) .addMethod( - getComputeRouteMatrixMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement>( - this, METHODID_COMPUTE_ROUTE_MATRIX))) + getComputeRouteMatrixMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement>( + this, METHODID_COMPUTE_ROUTE_MATRIX))) .build(); } } /** - * - * *
    * The Routes API.
    * 
*/ public static final class RoutesStub extends io.grpc.stub.AbstractAsyncStub { - private RoutesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private RoutesStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -336,19 +280,13 @@ protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOpti
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -382,38 +320,31 @@ public void computeRoutes(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix( - com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The Routes API.
    * 
*/ - public static final class RoutesBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RoutesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private RoutesBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesBlockingStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -447,15 +378,12 @@ protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * size, and thus higher network throughput.
      * 
*/ - public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getComputeRoutesMethod(), getCallOptions(), request); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -497,26 +425,23 @@ public java.util.Iterator compute
   }
 
   /**
-   *
-   *
    * 
    * The Routes API.
    * 
*/ - public static final class RoutesFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RoutesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesFutureStub extends io.grpc.stub.AbstractFutureStub { + private RoutesFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesFutureStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -550,9 +475,8 @@ protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * size, and thus higher network throughput.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.maps.routing.v2.ComputeRoutesResponse> - computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.common.util.concurrent.ListenableFuture computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request); } @@ -561,11 +485,11 @@ protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca private static final int METHODID_COMPUTE_ROUTES = 0; private static final int METHODID_COMPUTE_ROUTE_MATRIX = 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 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 RoutesImplBase serviceImpl; private final int methodId; @@ -579,16 +503,12 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPUTE_ROUTES: - serviceImpl.computeRoutes( - (com.google.maps.routing.v2.ComputeRoutesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.computeRoutes((com.google.maps.routing.v2.ComputeRoutesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COMPUTE_ROUTE_MATRIX: - serviceImpl.computeRouteMatrix( - (com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.computeRouteMatrix((com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -606,9 +526,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class RoutesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class RoutesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { RoutesBaseDescriptorSupplier() {} @java.lang.Override @@ -622,11 +541,13 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class RoutesFileDescriptorSupplier extends RoutesBaseDescriptorSupplier { + private static final class RoutesFileDescriptorSupplier + extends RoutesBaseDescriptorSupplier { RoutesFileDescriptorSupplier() {} } - private static final class RoutesMethodDescriptorSupplier extends RoutesBaseDescriptorSupplier + private static final class RoutesMethodDescriptorSupplier + extends RoutesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -648,13 +569,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (RoutesGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) - .addMethod(getComputeRoutesMethod()) - .addMethod(getComputeRouteMatrixMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) + .addMethod(getComputeRoutesMethod()) + .addMethod(getComputeRouteMatrixMethod()) + .build(); } } } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java similarity index 60% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java index 48d661e9795e..1321bdb9f31c 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRouteMatrix request message
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ -public final class ComputeRouteMatrixRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRouteMatrixRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRouteMatrixRequest) ComputeRouteMatrixRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRouteMatrixRequest.newBuilder() to construct. private ComputeRouteMatrixRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRouteMatrixRequest() { origins_ = java.util.Collections.emptyList(); destinations_ = java.util.Collections.emptyList(); @@ -46,38 +28,35 @@ private ComputeRouteMatrixRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRouteMatrixRequest(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, - com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } public static final int ORIGINS_FIELD_NUMBER = 1; private java.util.List origins_; /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -87,20 +66,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getOriginsList() { return origins_; } /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -110,21 +85,17 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getOriginsOrBuilderList() { return origins_; } /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -134,20 +105,16 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getOriginsCount() { return origins_.size(); } /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -157,20 +124,16 @@ public int getOriginsCount() {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { return origins_.get(index); } /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -180,88 +143,72 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index) { return origins_.get(index); } public static final int DESTINATIONS_FIELD_NUMBER = 2; private java.util.List destinations_; /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getDestinationsList() { return destinations_; } /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getDestinationsOrBuilderList() { return destinations_; } /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getDestinationsCount() { return destinations_.size(); } /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { return destinations_.get(index); } /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( @@ -272,109 +219,79 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination public static final int TRAVEL_MODE_FIELD_NUMBER = 3; private int travelMode_; /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 4; private int routingPreference_; /** - * - * *
-   * Optional. Specifies how to compute the route. The server attempts to use the selected
-   * routing preference to compute the route. If the routing preference results
-   * in an error or an extra long latency, an error is returned. In the future,
-   * we might implement a fallback mechanism to use a different option when the
-   * preferred option does not give a valid result. You can specify this option
-   * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-   * request fails.
+   * Optional. Specifies how to compute the route. The server attempts to use
+   * the selected routing preference to compute the route. If the routing
+   * preference results in an error or an extra long latency, an error is
+   * returned. In the future, we might implement a fallback mechanism to use a
+   * different option when the preferred option does not give a valid result.
+   * You can specify this option only when the `travel_mode` is `DRIVE` or
+   * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
-   * Optional. Specifies how to compute the route. The server attempts to use the selected
-   * routing preference to compute the route. If the routing preference results
-   * in an error or an extra long latency, an error is returned. In the future,
-   * we might implement a fallback mechanism to use a different option when the
-   * preferred option does not give a valid result. You can specify this option
-   * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-   * request fails.
+   * Optional. Specifies how to compute the route. The server attempts to use
+   * the selected routing preference to compute the route. If the routing
+   * preference results in an error or an extra long latency, an error is
+   * returned. In the future, we might implement a fallback mechanism to use a
+   * different option when the preferred option does not give a valid result.
+   * You can specify this option only when the `travel_mode` is `DRIVE` or
+   * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ - @java.lang.Override - public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp departureTime_; /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ @java.lang.Override @@ -382,36 +299,27 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -419,7 +327,6 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,20 +338,18 @@ 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 { for (int i = 0; i < origins_.size(); i++) { output.writeMessage(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { output.writeMessage(2, destinations_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(4, routingPreference_); } if (departureTime_ != null) { @@ -460,22 +365,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < origins_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, origins_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, destinations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, destinations_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, travelMode_); + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, routingPreference_); + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, routingPreference_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDepartureTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -485,21 +392,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.routing.v2.ComputeRouteMatrixRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRouteMatrixRequest other = - (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; + com.google.maps.routing.v2.ComputeRouteMatrixRequest other = (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; - if (!getOriginsList().equals(other.getOriginsList())) return false; - if (!getDestinationsList().equals(other.getDestinationsList())) return false; + if (!getOriginsList() + .equals(other.getOriginsList())) return false; + if (!getDestinationsList() + .equals(other.getDestinationsList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime().equals(other.getDepartureTime())) return false; + if (!getDepartureTime() + .equals(other.getDepartureTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -534,135 +443,129 @@ public int hashCode() { } public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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; } /** - * - * *
    * ComputeRouteMatrix request message
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ - 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.routing.v2.ComputeRouteMatrixRequest) com.google.maps.routing.v2.ComputeRouteMatrixRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, - com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRouteMatrixRequest.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(); @@ -694,9 +597,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override @@ -715,8 +618,7 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRouteMatrixRequest buildPartial() { - com.google.maps.routing.v2.ComputeRouteMatrixRequest result = - new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); + com.google.maps.routing.v2.ComputeRouteMatrixRequest result = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); int from_bitField0_ = bitField0_; if (originsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -751,39 +653,38 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest)other); } else { super.mergeFrom(other); return this; @@ -791,8 +692,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest other) { - if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) return this; if (originsBuilder_ == null) { if (!other.origins_.isEmpty()) { if (origins_.isEmpty()) { @@ -811,10 +711,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot originsBuilder_ = null; origins_ = other.origins_; bitField0_ = (bitField0_ & ~0x00000001); - originsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOriginsFieldBuilder() - : null; + originsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOriginsFieldBuilder() : null; } else { originsBuilder_.addAllMessages(other.origins_); } @@ -838,10 +737,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot destinationsBuilder_ = null; destinations_ = other.destinations_; bitField0_ = (bitField0_ & ~0x00000002); - destinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDestinationsFieldBuilder() - : null; + destinationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDestinationsFieldBuilder() : null; } else { destinationsBuilder_.addAllMessages(other.destinations_); } @@ -882,58 +780,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.maps.routing.v2.RouteMatrixOrigin m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixOrigin.parser(), extensionRegistry); - if (originsBuilder_ == null) { - ensureOriginsIsMutable(); - origins_.add(m); - } else { - originsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.maps.routing.v2.RouteMatrixDestination m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixDestination.parser(), - extensionRegistry); - if (destinationsBuilder_ == null) { - ensureDestinationsIsMutable(); - destinations_.add(m); - } else { - destinationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: - { - travelMode_ = input.readEnum(); + case 10: { + com.google.maps.routing.v2.RouteMatrixOrigin m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixOrigin.parser(), + extensionRegistry); + if (originsBuilder_ == null) { + ensureOriginsIsMutable(); + origins_.add(m); + } else { + originsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.maps.routing.v2.RouteMatrixDestination m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixDestination.parser(), + extensionRegistry); + if (destinationsBuilder_ == null) { + ensureDestinationsIsMutable(); + destinations_.add(m); + } else { + destinationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: { + travelMode_ = input.readEnum(); - break; - } // case 24 - case 32: - { - routingPreference_ = input.readEnum(); + break; + } // case 24 + case 32: { + routingPreference_ = input.readEnum(); - break; - } // case 32 - case 42: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 32 + case 42: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -943,31 +838,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List origins_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOriginsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { origins_ = new java.util.ArrayList(origins_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> - originsBuilder_; + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> originsBuilder_; /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -977,9 +865,7 @@ private void ensureOriginsIsMutable() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getOriginsList() { if (originsBuilder_ == null) { @@ -989,11 +875,9 @@ public java.util.List getOriginsLi } } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1003,9 +887,7 @@ public java.util.List getOriginsLi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getOriginsCount() { if (originsBuilder_ == null) { @@ -1015,11 +897,9 @@ public int getOriginsCount() { } } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1029,9 +909,7 @@ public int getOriginsCount() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { if (originsBuilder_ == null) { @@ -1041,11 +919,9 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { } } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1055,11 +931,10 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder setOrigins( + int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1073,11 +948,9 @@ public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1087,9 +960,7 @@ public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1103,11 +974,9 @@ public Builder setOrigins( return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1117,9 +986,7 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { @@ -1135,11 +1002,9 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1149,11 +1014,10 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder addOrigins( + int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1167,11 +1031,9 @@ public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1181,9 +1043,7 @@ public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins( com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1197,11 +1057,9 @@ public Builder addOrigins( return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1211,9 +1069,7 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1227,11 +1083,9 @@ public Builder addOrigins( return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1241,15 +1095,14 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllOrigins( java.lang.Iterable values) { if (originsBuilder_ == null) { ensureOriginsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, origins_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, origins_); onChanged(); } else { originsBuilder_.addAllMessages(values); @@ -1257,11 +1110,9 @@ public Builder addAllOrigins( return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1271,9 +1122,7 @@ public Builder addAllOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOrigins() { if (originsBuilder_ == null) { @@ -1286,11 +1135,9 @@ public Builder clearOrigins() { return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1300,9 +1147,7 @@ public Builder clearOrigins() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeOrigins(int index) { if (originsBuilder_ == null) { @@ -1315,11 +1160,9 @@ public Builder removeOrigins(int index) { return this; } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1329,19 +1172,16 @@ public Builder removeOrigins(int index) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder( + int index) { return getOriginsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1351,23 +1191,19 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(in
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index) { if (originsBuilder_ == null) { - return origins_.get(index); - } else { + return origins_.get(index); } else { return originsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1377,12 +1213,10 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOriginsOrBuilderList() { + public java.util.List + getOriginsOrBuilderList() { if (originsBuilder_ != null) { return originsBuilder_.getMessageOrBuilderList(); } else { @@ -1390,11 +1224,9 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder } } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1404,20 +1236,16 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder() { - return getOriginsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + return getOriginsFieldBuilder().addBuilder( + com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1427,20 +1255,17 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder()
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(int index) { - return getOriginsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder( + int index) { + return getOriginsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** - * - * *
-     * Required. Array of origins, which determines the rows of the response matrix.
-     * Several size restrictions apply to the cardinality of origins and
+     * Required. Array of origins, which determines the rows of the response
+     * matrix. Several size restrictions apply to the cardinality of origins and
      * destinations:
      * * The number of elements (origins × destinations) must be no greater than
      * 625 in any case.
@@ -1450,60 +1275,46 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(in
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOriginsBuilderList() { + public java.util.List + getOriginsBuilderList() { return getOriginsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> getOriginsFieldBuilder() { if (originsBuilder_ == null) { - originsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( - origins_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + originsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( + origins_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); origins_ = null; } return originsBuilder_; } private java.util.List destinations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDestinationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - destinations_ = - new java.util.ArrayList( - destinations_); + destinations_ = new java.util.ArrayList(destinations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> - destinationsBuilder_; + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> destinationsBuilder_; /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getDestinationsList() { if (destinationsBuilder_ == null) { @@ -1513,15 +1324,12 @@ public java.util.List getDest } } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getDestinationsCount() { if (destinationsBuilder_ == null) { @@ -1531,15 +1339,12 @@ public int getDestinationsCount() { } } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1549,15 +1354,12 @@ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int ind } } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1574,15 +1376,12 @@ public Builder setDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1596,15 +1395,12 @@ public Builder setDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination value) { if (destinationsBuilder_ == null) { @@ -1620,15 +1416,12 @@ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1645,15 +1438,12 @@ public Builder addDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1667,15 +1457,12 @@ public Builder addDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1689,21 +1476,19 @@ public Builder addDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllDestinations( java.lang.Iterable values) { if (destinationsBuilder_ == null) { ensureDestinationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, destinations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, destinations_); onChanged(); } else { destinationsBuilder_.addAllMessages(values); @@ -1711,15 +1496,12 @@ public Builder addAllDestinations( return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestinations() { if (destinationsBuilder_ == null) { @@ -1732,15 +1514,12 @@ public Builder clearDestinations() { return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1753,52 +1532,42 @@ public Builder removeDestinations(int index) { return this; } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder getDestinationsBuilder( int index) { return getDestinationsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( int index) { if (destinationsBuilder_ == null) { - return destinations_.get(index); - } else { + return destinations_.get(index); } else { return destinationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getDestinationsOrBuilderList() { + public java.util.List + getDestinationsOrBuilderList() { if (destinationsBuilder_ != null) { return destinationsBuilder_.getMessageOrBuilderList(); } else { @@ -1806,65 +1575,52 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination } } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder() { - return getDestinationsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder().addBuilder( + com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder( int index) { - return getDestinationsFieldBuilder() - .addBuilder( - index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** - * - * *
-     * Required. Array of destinations, which determines the columns of the response matrix.
+     * Required. Array of destinations, which determines the columns of the
+     * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getDestinationsBuilderList() { + public java.util.List + getDestinationsBuilderList() { return getDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> getDestinationsFieldBuilder() { if (destinationsBuilder_ == null) { - destinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( - destinations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + destinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( + destinations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); destinations_ = null; } return destinationsBuilder_; @@ -1872,73 +1628,51 @@ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinations private int travelMode_ = 0; /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The travelMode to set. * @return This builder for chaining. */ @@ -1946,26 +1680,21 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -1973,97 +1702,75 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** - * - * *
-     * Optional. Specifies how to compute the route. The server attempts to use the selected
-     * routing preference to compute the route. If the routing preference results
-     * in an error or an extra long latency, an error is returned. In the future,
-     * we might implement a fallback mechanism to use a different option when the
-     * preferred option does not give a valid result. You can specify this option
-     * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-     * request fails.
+     * Optional. Specifies how to compute the route. The server attempts to use
+     * the selected routing preference to compute the route. If the routing
+     * preference results in an error or an extra long latency, an error is
+     * returned. In the future, we might implement a fallback mechanism to use a
+     * different option when the preferred option does not give a valid result.
+     * You can specify this option only when the `travel_mode` is `DRIVE` or
+     * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
-     * Optional. Specifies how to compute the route. The server attempts to use the selected
-     * routing preference to compute the route. If the routing preference results
-     * in an error or an extra long latency, an error is returned. In the future,
-     * we might implement a fallback mechanism to use a different option when the
-     * preferred option does not give a valid result. You can specify this option
-     * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-     * request fails.
+     * Optional. Specifies how to compute the route. The server attempts to use
+     * the selected routing preference to compute the route. If the routing
+     * preference results in an error or an extra long latency, an error is
+     * returned. In the future, we might implement a fallback mechanism to use a
+     * different option when the preferred option does not give a valid result.
+     * You can specify this option only when the `travel_mode` is `DRIVE` or
+     * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. Specifies how to compute the route. The server attempts to use the selected
-     * routing preference to compute the route. If the routing preference results
-     * in an error or an extra long latency, an error is returned. In the future,
-     * we might implement a fallback mechanism to use a different option when the
-     * preferred option does not give a valid result. You can specify this option
-     * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-     * request fails.
+     * Optional. Specifies how to compute the route. The server attempts to use
+     * the selected routing preference to compute the route. If the routing
+     * preference results in an error or an extra long latency, an error is
+     * returned. In the future, we might implement a fallback mechanism to use a
+     * different option when the preferred option does not give a valid result.
+     * You can specify this option only when the `travel_mode` is `DRIVE` or
+     * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** - * - * *
-     * Optional. Specifies how to compute the route. The server attempts to use the selected
-     * routing preference to compute the route. If the routing preference results
-     * in an error or an extra long latency, an error is returned. In the future,
-     * we might implement a fallback mechanism to use a different option when the
-     * preferred option does not give a valid result. You can specify this option
-     * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-     * request fails.
+     * Optional. Specifies how to compute the route. The server attempts to use
+     * the selected routing preference to compute the route. If the routing
+     * preference results in an error or an extra long latency, an error is
+     * returned. In the future, we might implement a fallback mechanism to use a
+     * different option when the preferred option does not give a valid result.
+     * You can specify this option only when the `travel_mode` is `DRIVE` or
+     * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2071,32 +1778,27 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-     * Optional. Specifies how to compute the route. The server attempts to use the selected
-     * routing preference to compute the route. If the routing preference results
-     * in an error or an extra long latency, an error is returned. In the future,
-     * we might implement a fallback mechanism to use a different option when the
-     * preferred option does not give a valid result. You can specify this option
-     * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-     * request fails.
+     * Optional. Specifies how to compute the route. The server attempts to use
+     * the selected routing preference to compute the route. If the routing
+     * preference results in an error or an extra long latency, an error is
+     * returned. In the future, we might implement a fallback mechanism to use a
+     * different option when the preferred option does not give a valid result.
+     * You can specify this option only when the `travel_mode` is `DRIVE` or
+     * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2104,64 +1806,45 @@ public Builder clearRoutingPreference() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - departureTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -2177,19 +1860,16 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -2200,25 +1880,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); } else { departureTime_ = value; } @@ -2230,17 +1904,13 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -2254,77 +1924,61 @@ public Builder clearDepartureTime() { return this; } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } } /** - * - * *
-     * Optional. The departure time. If you don't set this value, this defaults to the time
-     * that you made the request. If you set this value to a time that has already
-     * occurred, the request fails.
+     * Optional. The departure time. If you don't set this value, this defaults to
+     * the time that you made the request. If you set this value to a time that
+     * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), getParentForChildren(), isClean()); + departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), + getParentForChildren(), + isClean()); departureTime_ = null; } return departureTimeBuilder_; } - @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); } @@ -2334,12 +1988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) private static final com.google.maps.routing.v2.ComputeRouteMatrixRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(); } @@ -2348,27 +2002,27 @@ public static com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRouteMatrixRequest 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 ComputeRouteMatrixRequest 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; @@ -2383,4 +2037,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java similarity index 51% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java index 6e7f1ef478d8..7a2ba62fbd2f 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java @@ -1,34 +1,16 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRouteMatrixRequestOrBuilder - extends +public interface ComputeRouteMatrixRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRouteMatrixRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -38,17 +20,14 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getOriginsList(); + java.util.List + getOriginsList(); /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -58,17 +37,13 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index); /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -78,17 +53,13 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getOriginsCount(); /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -98,18 +69,14 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getOriginsOrBuilderList(); /** - * - * *
-   * Required. Array of origins, which determines the rows of the response matrix.
-   * Several size restrictions apply to the cardinality of origins and
+   * Required. Array of origins, which determines the rows of the response
+   * matrix. Several size restrictions apply to the cardinality of origins and
    * destinations:
    * * The number of elements (origins × destinations) must be no greater than
    * 625 in any case.
@@ -119,185 +86,140 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index); + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index); /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getDestinationsList(); + java.util.List + getDestinationsList(); /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index); /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getDestinationsCount(); /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getDestinationsOrBuilderList(); /** - * - * *
-   * Required. Array of destinations, which determines the columns of the response matrix.
+   * Required. Array of destinations, which determines the columns of the
+   * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder(int index); + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( + int index); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** - * - * *
-   * Optional. Specifies how to compute the route. The server attempts to use the selected
-   * routing preference to compute the route. If the routing preference results
-   * in an error or an extra long latency, an error is returned. In the future,
-   * we might implement a fallback mechanism to use a different option when the
-   * preferred option does not give a valid result. You can specify this option
-   * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-   * request fails.
+   * Optional. Specifies how to compute the route. The server attempts to use
+   * the selected routing preference to compute the route. If the routing
+   * preference results in an error or an extra long latency, an error is
+   * returned. In the future, we might implement a fallback mechanism to use a
+   * different option when the preferred option does not give a valid result.
+   * You can specify this option only when the `travel_mode` is `DRIVE` or
+   * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** - * - * *
-   * Optional. Specifies how to compute the route. The server attempts to use the selected
-   * routing preference to compute the route. If the routing preference results
-   * in an error or an extra long latency, an error is returned. In the future,
-   * we might implement a fallback mechanism to use a different option when the
-   * preferred option does not give a valid result. You can specify this option
-   * only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the
-   * request fails.
+   * Optional. Specifies how to compute the route. The server attempts to use
+   * the selected routing preference to compute the route. If the routing
+   * preference results in an error or an extra long latency, an error is
+   * returned. In the future, we might implement a fallback mechanism to use a
+   * different option when the preferred option does not give a valid result.
+   * You can specify this option only when the `travel_mode` is `DRIVE` or
+   * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** - * - * *
-   * Optional. The departure time. If you don't set this value, this defaults to the time
-   * that you made the request. If you set this value to a time that has already
-   * occurred, the request fails.
+   * Optional. The departure time. If you don't set this value, this defaults to
+   * the time that you made the request. If you set this value to a time that
+   * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java similarity index 64% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java index 86bd34992e8b..e34f6688f1bc 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRoutes request message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ -public final class ComputeRoutesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRoutesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesRequest) ComputeRoutesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRoutesRequest.newBuilder() to construct. private ComputeRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRoutesRequest() { intermediates_ = java.util.Collections.emptyList(); travelMode_ = 0; @@ -50,43 +32,39 @@ private ComputeRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRoutesRequest(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, - com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } /** - * - * *
    * A supported reference route on the ComputeRoutesRequest.
    * 
* * Protobuf enum {@code google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute} */ - public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { + public enum ReferenceRoute + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used. Requests containing this value fail.
      * 
@@ -95,8 +73,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { */ REFERENCE_ROUTE_UNSPECIFIED(0), /** - * - * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -109,8 +85,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not used. Requests containing this value fail.
      * 
@@ -119,8 +93,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REFERENCE_ROUTE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -130,6 +102,7 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FUEL_EFFICIENT_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,47 +127,48 @@ public static ReferenceRoute valueOf(int value) {
      */
     public static ReferenceRoute forNumber(int value) {
       switch (value) {
-        case 0:
-          return REFERENCE_ROUTE_UNSPECIFIED;
-        case 1:
-          return FUEL_EFFICIENT;
-        default:
-          return null;
+        case 0: return REFERENCE_ROUTE_UNSPECIFIED;
+        case 1: return FUEL_EFFICIENT;
+        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<
+        ReferenceRoute> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ReferenceRoute findValueByNumber(int number) {
+              return ReferenceRoute.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ReferenceRoute findValueByNumber(int number) {
-            return ReferenceRoute.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.routing.v2.ComputeRoutesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReferenceRoute[] VALUES = values();
 
-    public static ReferenceRoute valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReferenceRoute 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;
@@ -214,15 +188,11 @@ private ReferenceRoute(int value) {
   public static final int ORIGIN_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.Waypoint origin_;
   /**
-   *
-   *
    * 
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ @java.lang.Override @@ -230,15 +200,11 @@ public boolean hasOrigin() { return origin_ != null; } /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ @java.lang.Override @@ -246,14 +212,11 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { @@ -263,16 +226,11 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { public static final int DESTINATION_FIELD_NUMBER = 2; private com.google.maps.routing.v2.Waypoint destination_; /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ @java.lang.Override @@ -280,34 +238,23 @@ public boolean hasDestination() { return destination_ != null; } /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getDestination() { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { @@ -317,137 +264,103 @@ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { public static final int INTERMEDIATES_FIELD_NUMBER = 3; private java.util.List intermediates_; /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getIntermediatesList() { return intermediates_; } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getIntermediatesOrBuilderList() { return intermediates_; } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getIntermediatesCount() { return intermediates_.size(); } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { return intermediates_.get(index); } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index) { return intermediates_.get(index); } public static final int TRAVEL_MODE_FIELD_NUMBER = 4; private int travelMode_; /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 5; private int routingPreference_; /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -458,19 +371,13 @@ public com.google.maps.routing.v2.RouteTravelMode getTravelMode() {
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -481,114 +388,79 @@ public int getRoutingPreferenceValue() {
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ - @java.lang.Override - public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int POLYLINE_QUALITY_FIELD_NUMBER = 6; private int polylineQuality_; /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override - public int getPolylineQualityValue() { + @java.lang.Override public int getPolylineQualityValue() { return polylineQuality_; } /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ - @java.lang.Override - public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { + @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = - com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } public static final int POLYLINE_ENCODING_FIELD_NUMBER = 12; private int polylineEncoding_; /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override - public int getPolylineEncodingValue() { + @java.lang.Override public int getPolylineEncodingValue() { return polylineEncoding_; } /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ - @java.lang.Override - public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { + @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = - com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp departureTime_; /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ @java.lang.Override @@ -596,36 +468,27 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -635,14 +498,12 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { public static final int COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER = 8; private boolean computeAlternativeRoutes_; /** - * - * *
-   * Optional. Specifies whether to calculate alternate routes in addition to the route.
+   * Optional. Specifies whether to calculate alternate routes in addition to
+   * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -653,17 +514,12 @@ public boolean getComputeAlternativeRoutes() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -671,36 +527,25 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -710,8 +555,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -722,7 +565,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -731,15 +573,14 @@ 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; } } /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -750,15 +591,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -769,8 +611,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int UNITS_FIELD_NUMBER = 11; private int units_; /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -779,18 +619,13 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ - @java.lang.Override - public int getUnitsValue() { + @java.lang.Override public int getUnitsValue() { return units_; } /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -799,13 +634,10 @@ public int getUnitsValue() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ - @java.lang.Override - public com.google.maps.routing.v2.Units getUnits() { + @java.lang.Override public com.google.maps.routing.v2.Units getUnits() { @SuppressWarnings("deprecation") com.google.maps.routing.v2.Units result = com.google.maps.routing.v2.Units.valueOf(units_); return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; @@ -814,61 +646,42 @@ public com.google.maps.routing.v2.Units getUnits() { public static final int REQUESTED_REFERENCE_ROUTES_FIELD_NUMBER = 14; private java.util.List requestedReferenceRoutes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> - requestedReferenceRoutes_converter_ = + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> requestedReferenceRoutes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>() { - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert( - java.lang.Integer from) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); - return result == null - ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED - : result; + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); + return result == null ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED : result; } }; /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ @java.lang.Override - public java.util.List - getRequestedReferenceRoutesList() { + public java.util.List getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( - requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ @java.lang.Override @@ -876,67 +689,49 @@ public int getRequestedReferenceRoutesCount() { return requestedReferenceRoutes_.size(); } /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ @java.lang.Override - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( - int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ @java.lang.Override - public java.util.List getRequestedReferenceRoutesValueList() { + public java.util.List + getRequestedReferenceRoutesValueList() { return requestedReferenceRoutes_; } /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -944,11 +739,9 @@ public java.util.List getRequestedReferenceRoutesValueList() public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } - private int requestedReferenceRoutesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -960,7 +753,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 { getSerializedSize(); if (origin_ != null) { output.writeMessage(1, getOrigin()); @@ -971,17 +765,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < intermediates_.size(); i++) { output.writeMessage(3, intermediates_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, routingPreference_); } - if (polylineQuality_ - != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, polylineQuality_); } if (departureTime_ != null) { @@ -999,8 +789,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { output.writeEnum(11, units_); } - if (polylineEncoding_ - != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(12, polylineEncoding_); } if (getRequestedReferenceRoutesList().size() > 0) { @@ -1020,59 +809,63 @@ public int getSerializedSize() { size = 0; if (origin_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOrigin()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOrigin()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDestination()); } for (int i = 0; i < intermediates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, intermediates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, intermediates_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, travelMode_); + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, routingPreference_); + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, routingPreference_); } - if (polylineQuality_ - != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, polylineQuality_); + if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, polylineQuality_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getDepartureTime()); } if (computeAlternativeRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, computeAlternativeRoutes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, computeAlternativeRoutes_); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getRouteModifiers()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, units_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, units_); } - if (polylineEncoding_ - != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, polylineEncoding_); + if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, polylineEncoding_); } { int dataSize = 0; for (int i = 0; i < requestedReferenceRoutes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - requestedReferenceRoutes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(requestedReferenceRoutes_.get(i)); } size += dataSize; - if (!getRequestedReferenceRoutesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - requestedReferenceRoutesMemoizedSerializedSize = dataSize; + if (!getRequestedReferenceRoutesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }requestedReferenceRoutesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1082,37 +875,43 @@ 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.routing.v2.ComputeRoutesRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRoutesRequest other = - (com.google.maps.routing.v2.ComputeRoutesRequest) obj; + com.google.maps.routing.v2.ComputeRoutesRequest other = (com.google.maps.routing.v2.ComputeRoutesRequest) obj; if (hasOrigin() != other.hasOrigin()) return false; if (hasOrigin()) { - if (!getOrigin().equals(other.getOrigin())) return false; + if (!getOrigin() + .equals(other.getOrigin())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination().equals(other.getDestination())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; } - if (!getIntermediatesList().equals(other.getIntermediatesList())) return false; + if (!getIntermediatesList() + .equals(other.getIntermediatesList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (polylineQuality_ != other.polylineQuality_) return false; if (polylineEncoding_ != other.polylineEncoding_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime().equals(other.getDepartureTime())) return false; + if (!getDepartureTime() + .equals(other.getDepartureTime())) return false; } - if (getComputeAlternativeRoutes() != other.getComputeAlternativeRoutes()) return false; + if (getComputeAlternativeRoutes() + != other.getComputeAlternativeRoutes()) return false; if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers() + .equals(other.getRouteModifiers())) return false; } - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (units_ != other.units_) return false; if (!requestedReferenceRoutes_.equals(other.requestedReferenceRoutes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1151,7 +950,8 @@ public int hashCode() { hash = (53 * hash) + getDepartureTime().hashCode(); } hash = (37 * hash) + COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getComputeAlternativeRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getComputeAlternativeRoutes()); if (hasRouteModifiers()) { hash = (37 * hash) + ROUTE_MODIFIERS_FIELD_NUMBER; hash = (53 * hash) + getRouteModifiers().hashCode(); @@ -1169,136 +969,130 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRoutesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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; } /** - * - * *
    * ComputeRoutes request message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ - 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.routing.v2.ComputeRoutesRequest) com.google.maps.routing.v2.ComputeRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, - com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesRequest.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(); @@ -1353,9 +1147,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override @@ -1374,8 +1168,7 @@ public com.google.maps.routing.v2.ComputeRoutesRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { - com.google.maps.routing.v2.ComputeRoutesRequest result = - new com.google.maps.routing.v2.ComputeRoutesRequest(this); + com.google.maps.routing.v2.ComputeRoutesRequest result = new com.google.maps.routing.v2.ComputeRoutesRequest(this); int from_bitField0_ = bitField0_; if (originBuilder_ == null) { result.origin_ = origin_; @@ -1414,8 +1207,7 @@ public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { result.languageCode_ = languageCode_; result.units_ = units_; if (((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = - java.util.Collections.unmodifiableList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = java.util.Collections.unmodifiableList(requestedReferenceRoutes_); bitField0_ = (bitField0_ & ~0x00000002); } result.requestedReferenceRoutes_ = requestedReferenceRoutes_; @@ -1427,39 +1219,38 @@ public com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest)other); } else { super.mergeFrom(other); return this; @@ -1467,8 +1258,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) { - if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) return this; if (other.hasOrigin()) { mergeOrigin(other.getOrigin()); } @@ -1493,10 +1283,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) intermediatesBuilder_ = null; intermediates_ = other.intermediates_; bitField0_ = (bitField0_ & ~0x00000001); - intermediatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIntermediatesFieldBuilder() - : null; + intermediatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIntermediatesFieldBuilder() : null; } else { intermediatesBuilder_.addAllMessages(other.intermediates_); } @@ -1566,111 +1355,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - com.google.maps.routing.v2.Waypoint m = - input.readMessage( - com.google.maps.routing.v2.Waypoint.parser(), extensionRegistry); - if (intermediatesBuilder_ == null) { - ensureIntermediatesIsMutable(); - intermediates_.add(m); - } else { - intermediatesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - travelMode_ = input.readEnum(); - - break; - } // case 32 - case 40: - { - routingPreference_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - polylineQuality_ = input.readEnum(); - - break; - } // case 48 - case 58: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 64: - { - computeAlternativeRoutes_ = input.readBool(); - - break; - } // case 64 - case 74: - { - input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 82: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: - { - units_ = input.readEnum(); - - break; - } // case 88 - case 96: - { - polylineEncoding_ = input.readEnum(); - - break; - } // case 96 - case 112: - { + case 10: { + input.readMessage( + getOriginFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getDestinationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + com.google.maps.routing.v2.Waypoint m = + input.readMessage( + com.google.maps.routing.v2.Waypoint.parser(), + extensionRegistry); + if (intermediatesBuilder_ == null) { + ensureIntermediatesIsMutable(); + intermediates_.add(m); + } else { + intermediatesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + travelMode_ = input.readEnum(); + + break; + } // case 32 + case 40: { + routingPreference_ = input.readEnum(); + + break; + } // case 40 + case 48: { + polylineQuality_ = input.readEnum(); + + break; + } // case 48 + case 58: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 64: { + computeAlternativeRoutes_ = input.readBool(); + + break; + } // case 64 + case 74: { + input.readMessage( + getRouteModifiersFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + case 82: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: { + units_ = input.readEnum(); + + break; + } // case 88 + case 96: { + polylineEncoding_ = input.readEnum(); + + break; + } // case 96 + case 112: { + int tmpRaw = input.readEnum(); + ensureRequestedReferenceRoutesIsMutable(); + requestedReferenceRoutes_.add(tmpRaw); + break; + } // case 112 + case 114: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.add(tmpRaw); - break; - } // case 112 - case 114: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureRequestedReferenceRoutesIsMutable(); - requestedReferenceRoutes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 114 + 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) { @@ -1680,40 +1463,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.maps.routing.v2.Waypoint origin_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - originBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> originBuilder_; /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ public boolean hasOrigin() { return originBuilder_ != null || origin_ != null; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ public com.google.maps.routing.v2.Waypoint getOrigin() { @@ -1724,14 +1495,11 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { } } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { @@ -1747,16 +1515,14 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setOrigin( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (originBuilder_ == null) { origin_ = builderForValue.build(); onChanged(); @@ -1767,22 +1533,17 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForV return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { if (origin_ != null) { origin_ = - com.google.maps.routing.v2.Waypoint.newBuilder(origin_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(origin_).mergeFrom(value).buildPartial(); } else { origin_ = value; } @@ -1794,14 +1555,11 @@ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOrigin() { if (originBuilder_ == null) { @@ -1815,59 +1573,48 @@ public Builder clearOrigin() { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getOriginBuilder() { - + onChanged(); return getOriginFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { if (originBuilder_ != null) { return originBuilder_.getMessageOrBuilder(); } else { - return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; + return origin_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { - originBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getOrigin(), getParentForChildren(), isClean()); + originBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getOrigin(), + getParentForChildren(), + isClean()); origin_ = null; } return originBuilder_; @@ -1875,58 +1622,39 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { private com.google.maps.routing.v2.Waypoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - destinationBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> destinationBuilder_; /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ public boolean hasDestination() { return destinationBuilder_ != null || destination_ != null; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ public com.google.maps.routing.v2.Waypoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } else { return destinationBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { @@ -1942,17 +1670,14 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setDestination( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (destinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1963,23 +1688,17 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builde return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { if (destination_ != null) { destination_ = - com.google.maps.routing.v2.Waypoint.newBuilder(destination_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(destination_).mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -1991,15 +1710,11 @@ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestination() { if (destinationBuilder_ == null) { @@ -2013,98 +1728,73 @@ public Builder clearDestination() { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getDestinationBuilder() { - + onChanged(); return getDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getDestination(), getParentForChildren(), isClean()); + destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getDestination(), + getParentForChildren(), + isClean()); destination_ = null; } return destinationBuilder_; } private java.util.List intermediates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIntermediatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - intermediates_ = - new java.util.ArrayList(intermediates_); + intermediates_ = new java.util.ArrayList(intermediates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - intermediatesBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> intermediatesBuilder_; /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getIntermediatesList() { if (intermediatesBuilder_ == null) { @@ -2114,17 +1804,13 @@ public java.util.List getIntermediatesList( } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getIntermediatesCount() { if (intermediatesBuilder_ == null) { @@ -2134,17 +1820,13 @@ public int getIntermediatesCount() { } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2154,19 +1836,16 @@ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { + public Builder setIntermediates( + int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2180,17 +1859,13 @@ public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint v return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -2204,17 +1879,13 @@ public Builder setIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { @@ -2230,19 +1901,16 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { + public Builder addIntermediates( + int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2256,19 +1924,16 @@ public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint v return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder addIntermediates( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); intermediates_.add(builderForValue.build()); @@ -2279,17 +1944,13 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder buil return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -2303,23 +1964,20 @@ public Builder addIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllIntermediates( java.lang.Iterable values) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, intermediates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, intermediates_); onChanged(); } else { intermediatesBuilder_.addAllMessages(values); @@ -2327,17 +1985,13 @@ public Builder addAllIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIntermediates() { if (intermediatesBuilder_ == null) { @@ -2350,17 +2004,13 @@ public Builder clearIntermediates() { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2373,56 +2023,45 @@ public Builder removeIntermediates(int index) { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder(int index) { + public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder( + int index) { return getIntermediatesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index) { if (intermediatesBuilder_ == null) { - return intermediates_.get(index); - } else { + return intermediates_.get(index); } else { return intermediatesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getIntermediatesOrBuilderList() { + public java.util.List + getIntermediatesOrBuilderList() { if (intermediatesBuilder_ != null) { return intermediatesBuilder_.getMessageOrBuilderList(); } else { @@ -2430,68 +2069,51 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(in } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder() { - return getIntermediatesFieldBuilder() - .addBuilder(com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + return getIntermediatesFieldBuilder().addBuilder( + com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int index) { - return getIntermediatesFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( + int index) { + return getIntermediatesFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getIntermediatesBuilderList() { + public java.util.List + getIntermediatesBuilderList() { return getIntermediatesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getIntermediatesFieldBuilder() { if (intermediatesBuilder_ == null) { - intermediatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( + intermediatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( intermediates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2503,73 +2125,51 @@ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int i private int travelMode_ = 0; /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The travelMode to set. * @return This builder for chaining. */ @@ -2577,26 +2177,21 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -2604,8 +2199,6 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2616,19 +2209,13 @@ public Builder clearTravelMode() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2639,22 +2226,17 @@ public int getRoutingPreferenceValue() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2665,22 +2247,16 @@ public Builder setRoutingPreferenceValue(int value) {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2691,10 +2267,7 @@ public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2702,14 +2275,12 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2720,14 +2291,11 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2735,73 +2303,51 @@ public Builder clearRoutingPreference() { private int polylineQuality_ = 0; /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override - public int getPolylineQualityValue() { + @java.lang.Override public int getPolylineQualityValue() { return polylineQuality_; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for polylineQuality to set. * @return This builder for chaining. */ public Builder setPolylineQualityValue(int value) { - + polylineQuality_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = - com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The polylineQuality to set. * @return This builder for chaining. */ @@ -2809,26 +2355,21 @@ public Builder setPolylineQuality(com.google.maps.routing.v2.PolylineQuality val if (value == null) { throw new NullPointerException(); } - + polylineQuality_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPolylineQuality() { - + polylineQuality_ = 0; onChanged(); return this; @@ -2836,73 +2377,51 @@ public Builder clearPolylineQuality() { private int polylineEncoding_ = 0; /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override - public int getPolylineEncodingValue() { + @java.lang.Override public int getPolylineEncodingValue() { return polylineEncoding_; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for polylineEncoding to set. * @return This builder for chaining. */ public Builder setPolylineEncodingValue(int value) { - + polylineEncoding_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = - com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @param value The polylineEncoding to set. * @return This builder for chaining. */ @@ -2910,26 +2429,21 @@ public Builder setPolylineEncoding(com.google.maps.routing.v2.PolylineEncoding v if (value == null) { throw new NullPointerException(); } - + polylineEncoding_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPolylineEncoding() { - + polylineEncoding_ = 0; onChanged(); return this; @@ -2937,64 +2451,45 @@ public Builder clearPolylineEncoding() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - departureTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -3010,19 +2505,16 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -3033,25 +2525,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); } else { departureTime_ = value; } @@ -3063,17 +2549,13 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -3087,85 +2569,67 @@ public Builder clearDepartureTime() { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), getParentForChildren(), isClean()); + departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), + getParentForChildren(), + isClean()); departureTime_ = null; } return departureTimeBuilder_; } - private boolean computeAlternativeRoutes_; + private boolean computeAlternativeRoutes_ ; /** - * - * *
-     * Optional. Specifies whether to calculate alternate routes in addition to the route.
+     * Optional. Specifies whether to calculate alternate routes in addition to
+     * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -3173,36 +2637,32 @@ public boolean getComputeAlternativeRoutes() { return computeAlternativeRoutes_; } /** - * - * *
-     * Optional. Specifies whether to calculate alternate routes in addition to the route.
+     * Optional. Specifies whether to calculate alternate routes in addition to
+     * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The computeAlternativeRoutes to set. * @return This builder for chaining. */ public Builder setComputeAlternativeRoutes(boolean value) { - + computeAlternativeRoutes_ = value; onChanged(); return this; } /** - * - * *
-     * Optional. Specifies whether to calculate alternate routes in addition to the route.
+     * Optional. Specifies whether to calculate alternate routes in addition to
+     * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearComputeAlternativeRoutes() { - + computeAlternativeRoutes_ = false; onChanged(); return this; @@ -3210,61 +2670,42 @@ public Builder clearComputeAlternativeRoutes() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> - routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -3280,16 +2721,12 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -3303,24 +2740,18 @@ public Builder setRouteModifiers( return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); } else { routeModifiers_ = value; } @@ -3332,16 +2763,12 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -3355,67 +2782,51 @@ public Builder clearRouteModifiers() { return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? + com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), getParentForChildren(), isClean()); + routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), + getParentForChildren(), + isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; @@ -3423,8 +2834,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3435,13 +2844,13 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3450,8 +2859,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3462,14 +2869,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3477,8 +2885,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3489,22 +2895,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3515,18 +2919,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3537,16 +2938,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3554,8 +2955,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int units_ = 0; /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3564,18 +2963,13 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ - @java.lang.Override - public int getUnitsValue() { + @java.lang.Override public int getUnitsValue() { return units_; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3584,21 +2978,17 @@ public int getUnitsValue() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ public Builder setUnitsValue(int value) { - + units_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3607,9 +2997,7 @@ public Builder setUnitsValue(int value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ @java.lang.Override @@ -3619,8 +3007,6 @@ public com.google.maps.routing.v2.Units getUnits() { return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3629,9 +3015,7 @@ public com.google.maps.routing.v2.Units getUnits() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @param value The units to set. * @return This builder for chaining. */ @@ -3639,14 +3023,12 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) { if (value == null) { throw new NullPointerException(); } - + units_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3655,112 +3037,81 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUnits() { - + units_ = 0; onChanged(); return this; } private java.util.List requestedReferenceRoutes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestedReferenceRoutesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = - new java.util.ArrayList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = new java.util.ArrayList(requestedReferenceRoutes_); bitField0_ |= 0x00000002; } } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ - public java.util.List - getRequestedReferenceRoutesList() { + public java.util.List getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( - requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ public int getRequestedReferenceRoutesCount() { return requestedReferenceRoutes_.size(); } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute - getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The requestedReferenceRoutes to set. * @return This builder for chaining. @@ -3776,26 +3127,19 @@ public Builder setRequestedReferenceRoutes( return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param value The requestedReferenceRoutes to add. * @return This builder for chaining. */ - public Builder addRequestedReferenceRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { + public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { if (value == null) { throw new NullPointerException(); } @@ -3805,27 +3149,20 @@ public Builder addRequestedReferenceRoutes( return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param values The requestedReferenceRoutes to add. * @return This builder for chaining. */ public Builder addAllRequestedReferenceRoutes( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureRequestedReferenceRoutesIsMutable(); for (com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value : values) { requestedReferenceRoutes_.add(value.getNumber()); @@ -3834,21 +3171,15 @@ public Builder addAllRequestedReferenceRoutes( return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRequestedReferenceRoutes() { @@ -3858,42 +3189,31 @@ public Builder clearRequestedReferenceRoutes() { return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - public java.util.List getRequestedReferenceRoutesValueList() { + public java.util.List + getRequestedReferenceRoutesValueList() { return java.util.Collections.unmodifiableList(requestedReferenceRoutes_); } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -3901,47 +3221,36 @@ public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for requestedReferenceRoutes to set. * @return This builder for chaining. */ - public Builder setRequestedReferenceRoutesValue(int index, int value) { + public Builder setRequestedReferenceRoutesValue( + int index, int value) { ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.set(index, value); onChanged(); return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3952,21 +3261,15 @@ public Builder addRequestedReferenceRoutesValue(int value) { return this; } /** - * - * *
-     * Optional. Specifies what reference routes to calculate as part of the request in
-     * addition to the default route.
-     * A reference route is a route with a different route calculation objective
-     * than the default route. For example an FUEL_EFFICIENT reference route
-     * calculation takes into account various parameters that would generate an
-     * optimal fuel efficient route.
+     * Optional. Specifies what reference routes to calculate as part of the
+     * request in addition to the default route. A reference route is a route with
+     * a different route calculation objective than the default route. For example
+     * an FUEL_EFFICIENT reference route calculation takes into account various
+     * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3979,9 +3282,9 @@ public Builder addAllRequestedReferenceRoutesValue( 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); } @@ -3991,12 +3294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesRequest) private static final com.google.maps.routing.v2.ComputeRoutesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesRequest(); } @@ -4005,27 +3308,27 @@ public static com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRoutesRequest 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 ComputeRoutesRequest 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; @@ -4040,4 +3343,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java similarity index 61% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java index bd62b69664af..e08991041bb3 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java @@ -1,211 +1,140 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRoutesRequestOrBuilder - extends +public interface ComputeRoutesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ boolean hasOrigin(); /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ com.google.maps.routing.v2.Waypoint getOrigin(); /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ boolean hasDestination(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ com.google.maps.routing.v2.Waypoint getDestination(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getIntermediatesList(); + java.util.List + getIntermediatesList(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.Waypoint getIntermediates(int index); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getIntermediatesCount(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getIntermediatesOrBuilderList(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index); + com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -216,16 +145,11 @@ public interface ComputeRoutesRequestOrBuilder
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -236,176 +160,124 @@ public interface ComputeRoutesRequestOrBuilder
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ int getPolylineQualityValue(); /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ com.google.maps.routing.v2.PolylineQuality getPolylineQuality(); /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ int getPolylineEncodingValue(); /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); /** - * - * *
-   * Optional. Specifies whether to calculate alternate routes in addition to the route.
+   * Optional. Specifies whether to calculate alternate routes in addition to
+   * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ boolean getComputeAlternativeRoutes(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -416,13 +288,10 @@ public interface ComputeRoutesRequestOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -433,14 +302,12 @@ public interface ComputeRoutesRequestOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -449,15 +316,11 @@ public interface ComputeRoutesRequestOrBuilder
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ int getUnitsValue(); /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -466,108 +329,75 @@ public interface ComputeRoutesRequestOrBuilder
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ com.google.maps.routing.v2.Units getUnits(); /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ - java.util.List - getRequestedReferenceRoutesList(); + java.util.List getRequestedReferenceRoutesList(); /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ int getRequestedReferenceRoutesCount(); /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( - int index); + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index); /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - java.util.List getRequestedReferenceRoutesValueList(); + java.util.List + getRequestedReferenceRoutesValueList(); /** - * - * *
-   * Optional. Specifies what reference routes to calculate as part of the request in
-   * addition to the default route.
-   * A reference route is a route with a different route calculation objective
-   * than the default route. For example an FUEL_EFFICIENT reference route
-   * calculation takes into account various parameters that would generate an
-   * optimal fuel efficient route.
+   * Optional. Specifies what reference routes to calculate as part of the
+   * request in addition to the default route. A reference route is a route with
+   * a different route calculation objective than the default route. For example
+   * an FUEL_EFFICIENT reference route calculation takes into account various
+   * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java index 79b113ddb84e..32283f083a49 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRoutes the response message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ -public final class ComputeRoutesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRoutesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesResponse) ComputeRoutesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRoutesResponse.newBuilder() to construct. private ComputeRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRoutesResponse() { routes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRoutesResponse(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, - com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** - * - * *
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -87,8 +66,6 @@ public java.util.List getRoutesList() {
     return routes_;
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -100,13 +77,11 @@ public java.util.List getRoutesList() {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRoutesOrBuilderList() {
     return routes_;
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -122,8 +97,6 @@ public int getRoutesCount() {
     return routes_.size();
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -139,8 +112,6 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
     return routes_.get(index);
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -152,15 +123,14 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+      int index) {
     return routes_.get(index);
   }
 
   public static final int FALLBACK_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -169,7 +139,6 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -177,8 +146,6 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -187,18 +154,13 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -214,7 +176,6 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -226,7 +187,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 {
     for (int i = 0; i < routes_.size(); i++) {
       output.writeMessage(1, routes_.get(i));
     }
@@ -243,10 +205,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < routes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, routes_.get(i));
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getFallbackInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -256,18 +220,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.routing.v2.ComputeRoutesResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.ComputeRoutesResponse other =
-        (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
+    com.google.maps.routing.v2.ComputeRoutesResponse other = (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
 
-    if (!getRoutesList().equals(other.getRoutesList())) return false;
+    if (!getRoutesList()
+        .equals(other.getRoutesList())) return false;
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo()
+          .equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -293,136 +258,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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;
   }
   /**
-   *
-   *
    * 
    * ComputeRoutes the response message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ - 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.routing.v2.ComputeRoutesResponse) com.google.maps.routing.v2.ComputeRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, - com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesResponse.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(); @@ -443,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override @@ -464,8 +423,7 @@ public com.google.maps.routing.v2.ComputeRoutesResponse build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesResponse buildPartial() { - com.google.maps.routing.v2.ComputeRoutesResponse result = - new com.google.maps.routing.v2.ComputeRoutesResponse(this); + com.google.maps.routing.v2.ComputeRoutesResponse result = new com.google.maps.routing.v2.ComputeRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -489,39 +447,38 @@ public com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse)other); } else { super.mergeFrom(other); return this; @@ -529,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) { - if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -549,10 +505,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRoutesFieldBuilder() - : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRoutesFieldBuilder() : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -587,31 +542,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.maps.routing.v2.Route m = - input.readMessage(com.google.maps.routing.v2.Route.parser(), extensionRegistry); - if (routesBuilder_ == null) { - ensureRoutesIsMutable(); - routes_.add(m); - } else { - routesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.maps.routing.v2.Route m = + input.readMessage( + com.google.maps.routing.v2.Route.parser(), + extensionRegistry); + if (routesBuilder_ == null) { + ensureRoutesIsMutable(); + routes_.add(m); + } else { + routesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getFallbackInfoFieldBuilder().getBuilder(), + extensionRegistry); - 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) { @@ -621,28 +577,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Route, - com.google.maps.routing.v2.Route.Builder, - com.google.maps.routing.v2.RouteOrBuilder> - routesBuilder_; + com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> routesBuilder_; /** - * - * *
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -661,8 +610,6 @@ public java.util.List getRoutesList() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -681,8 +628,6 @@ public int getRoutesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -701,8 +646,6 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -713,7 +656,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
+    public Builder setRoutes(
+        int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -727,8 +671,6 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -739,7 +681,8 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder setRoutes(
+        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.set(index, builderForValue.build());
@@ -750,8 +693,6 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -776,8 +717,6 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -788,7 +727,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
+    public Builder addRoutes(
+        int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -802,8 +742,6 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -814,7 +752,8 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(
+        com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(builderForValue.build());
@@ -825,8 +764,6 @@ public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -837,7 +774,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValu
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(
+        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(index, builderForValue.build());
@@ -848,8 +786,6 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -864,7 +800,8 @@ public Builder addAllRoutes(
         java.lang.Iterable values) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, routes_);
         onChanged();
       } else {
         routesBuilder_.addAllMessages(values);
@@ -872,8 +809,6 @@ public Builder addAllRoutes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -895,8 +830,6 @@ public Builder clearRoutes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -918,8 +851,6 @@ public Builder removeRoutes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -930,12 +861,11 @@ public Builder removeRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
+    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
+        int index) {
       return getRoutesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -946,16 +876,14 @@ public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+        int index) {
       if (routesBuilder_ == null) {
-        return routes_.get(index);
-      } else {
+        return routes_.get(index);  } else {
         return routesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -966,8 +894,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List
-        getRoutesOrBuilderList() {
+    public java.util.List 
+         getRoutesOrBuilderList() {
       if (routesBuilder_ != null) {
         return routesBuilder_.getMessageOrBuilderList();
       } else {
@@ -975,8 +903,6 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -988,12 +914,10 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
     public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
-      return getRoutesFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.Route.getDefaultInstance());
+      return getRoutesFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -1004,13 +928,12 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
-      return getRoutesFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.Route.getDefaultInstance());
+    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
+        int index) {
+      return getRoutesFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -1021,22 +944,20 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List getRoutesBuilderList() {
+    public java.util.List 
+         getRoutesBuilderList() {
       return getRoutesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.Route,
-            com.google.maps.routing.v2.Route.Builder,
-            com.google.maps.routing.v2.RouteOrBuilder>
+        com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> 
         getRoutesFieldBuilder() {
       if (routesBuilder_ == null) {
-        routesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.Route,
-                com.google.maps.routing.v2.Route.Builder,
-                com.google.maps.routing.v2.RouteOrBuilder>(
-                routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder>(
+                routes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         routes_ = null;
       }
       return routesBuilder_;
@@ -1044,13 +965,8 @@ public java.util.List getRoutesBuilder
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
-        fallbackInfoBuilder_;
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1059,15 +975,12 @@ public java.util.List getRoutesBuilder
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** - * - * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1076,21 +989,16 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** - * - * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1114,8 +1022,6 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1137,8 +1043,6 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1152,9 +1056,7 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1166,8 +1068,6 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1189,8 +1089,6 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1201,13 +1099,11 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-
+      
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1221,14 +1117,11 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null
-            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
-            : fallbackInfo_;
+        return fallbackInfo_ == null ?
+            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1239,24 +1132,21 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.FallbackInfo,
-                com.google.maps.routing.v2.FallbackInfo.Builder,
-                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(), getParentForChildren(), isClean());
+        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(),
+                getParentForChildren(),
+                isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
-
     @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);
     }
 
@@ -1266,12 +1156,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesResponse)
   private static final com.google.maps.routing.v2.ComputeRoutesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesResponse();
   }
@@ -1280,27 +1170,27 @@ public static com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ComputeRoutesResponse 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 ComputeRoutesResponse 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;
@@ -1315,4 +1205,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
similarity index 81%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
index aacbe14e3748..49e6d8b70374 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface ComputeRoutesResponseOrBuilder
-    extends
+public interface ComputeRoutesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -36,10 +18,9 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List getRoutesList();
+  java.util.List 
+      getRoutesList();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -52,8 +33,6 @@ public interface ComputeRoutesResponseOrBuilder
    */
   com.google.maps.routing.v2.Route getRoutes(int index);
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -66,8 +45,6 @@ public interface ComputeRoutesResponseOrBuilder
    */
   int getRoutesCount();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -78,10 +55,9 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List getRoutesOrBuilderList();
+  java.util.List 
+      getRoutesOrBuilderList();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -92,11 +68,10 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index);
+  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -105,13 +80,10 @@ public interface ComputeRoutesResponseOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -120,13 +92,10 @@ public interface ComputeRoutesResponseOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
similarity index 69%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
index 81f93112455e..3b5f07f7ec1d 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Information related to how and why a fallback result was used. If this field
  * is set, then it means the server used a different routing mode from your
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
  */
-public final class FallbackInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FallbackInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.FallbackInfo)
     FallbackInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FallbackInfo.newBuilder() to construct.
   private FallbackInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FallbackInfo() {
     routingMode_ = 0;
     reason_ = 0;
@@ -46,35 +28,32 @@ private FallbackInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FallbackInfo();
   }
 
   @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.routing.v2.FallbackInfoProto
-        .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.FallbackInfoProto
-        .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.FallbackInfo.class,
-            com.google.maps.routing.v2.FallbackInfo.Builder.class);
+            com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
   }
 
   public static final int ROUTING_MODE_FIELD_NUMBER = 1;
   private int routingMode_;
   /**
-   *
-   *
    * 
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -82,16 +61,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override - public int getRoutingModeValue() { + @java.lang.Override public int getRoutingModeValue() { return routingMode_; } /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -99,22 +74,17 @@ public int getRoutingModeValue() {
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ - @java.lang.Override - public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { + @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = - com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } public static final int REASON_FIELD_NUMBER = 2; private int reason_; /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -122,16 +92,12 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -139,19 +105,15 @@ public int getReasonValue() {
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ - @java.lang.Override - public com.google.maps.routing.v2.FallbackReason getReason() { + @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = - com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,14 +125,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (routingMode_ - != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, routingMode_); } - if (reason_ - != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { output.writeEnum(2, reason_); } getUnknownFields().writeTo(output); @@ -182,14 +142,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routingMode_ - != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routingMode_); + if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, routingMode_); } - if (reason_ - != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reason_); + if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, reason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,7 +158,7 @@ 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.routing.v2.FallbackInfo)) { return super.equals(obj); @@ -228,104 +187,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.FallbackInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.FallbackInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.FallbackInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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; } /** - * - * *
    * Information related to how and why a fallback result was used. If this field
    * is set, then it means the server used a different routing mode from your
@@ -334,32 +286,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
    */
-  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.routing.v2.FallbackInfo)
       com.google.maps.routing.v2.FallbackInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.FallbackInfo.class,
-              com.google.maps.routing.v2.FallbackInfo.Builder.class);
+              com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.FallbackInfo.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();
@@ -371,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +345,7 @@ public com.google.maps.routing.v2.FallbackInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.FallbackInfo buildPartial() {
-      com.google.maps.routing.v2.FallbackInfo result =
-          new com.google.maps.routing.v2.FallbackInfo(this);
+      com.google.maps.routing.v2.FallbackInfo result = new com.google.maps.routing.v2.FallbackInfo(this);
       result.routingMode_ = routingMode_;
       result.reason_ = reason_;
       onBuilt();
@@ -404,39 +356,38 @@ public com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo) {
-        return mergeFrom((com.google.maps.routing.v2.FallbackInfo) other);
+        return mergeFrom((com.google.maps.routing.v2.FallbackInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,25 +428,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                routingMode_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                reason_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              routingMode_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 16: {
+              reason_ = input.readEnum();
+
+              break;
+            } // case 16
+            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) {
@@ -508,8 +456,6 @@ public Builder mergeFrom(
 
     private int routingMode_ = 0;
     /**
-     *
-     *
      * 
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -517,16 +463,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override - public int getRoutingModeValue() { + @java.lang.Override public int getRoutingModeValue() { return routingMode_; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -534,19 +476,16 @@ public int getRoutingModeValue() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @param value The enum numeric value on the wire for routingMode to set. * @return This builder for chaining. */ public Builder setRoutingModeValue(int value) { - + routingMode_ = value; onChanged(); return this; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -554,19 +493,15 @@ public Builder setRoutingModeValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = - com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -574,7 +509,6 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @param value The routingMode to set. * @return This builder for chaining. */ @@ -582,14 +516,12 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val if (value == null) { throw new NullPointerException(); } - + routingMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -597,11 +529,10 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return This builder for chaining. */ public Builder clearRoutingMode() { - + routingMode_ = 0; onChanged(); return this; @@ -609,8 +540,6 @@ public Builder clearRoutingMode() { private int reason_ = 0; /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -618,16 +547,12 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -635,19 +560,16 @@ public int getReasonValue() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { - + reason_ = value; onChanged(); return this; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -655,19 +577,15 @@ public Builder setReasonValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = - com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -675,7 +593,6 @@ public com.google.maps.routing.v2.FallbackReason getReason() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @param value The reason to set. * @return This builder for chaining. */ @@ -683,14 +600,12 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) { if (value == null) { throw new NullPointerException(); } - + reason_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -698,18 +613,17 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; 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); } @@ -719,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.FallbackInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.FallbackInfo) private static final com.google.maps.routing.v2.FallbackInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.FallbackInfo(); } @@ -733,27 +647,27 @@ public static com.google.maps.routing.v2.FallbackInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FallbackInfo 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 FallbackInfo 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; @@ -768,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.FallbackInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java similarity index 72% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java index 109280a99d17..eab36a068616 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; -public interface FallbackInfoOrBuilder - extends +public interface FallbackInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.FallbackInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -33,13 +15,10 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ int getRoutingModeValue(); /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -47,14 +26,11 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode(); /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -62,13 +38,10 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -76,7 +49,6 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ com.google.maps.routing.v2.FallbackReason getReason(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java new file mode 100644 index 000000000000..fdcaa7d94177 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/fallback_info.proto + +package com.google.maps.routing.v2; + +public final class FallbackInfoProto { + private FallbackInfoProto() {} + 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_routing_v2_FallbackInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + + "routing.v2B\021FallbackInfoProtoP\001Z=google." + + "golang.org/genproto/googleapis/maps/rout" + + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + + "ogle::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_routing_v2_FallbackInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_FallbackInfo_descriptor, + new java.lang.String[] { "RoutingMode", "Reason", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java index 4c4557ffaed8..c9b91da581c9 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java @@ -1,36 +1,18 @@ -/* - * 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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Reasons for using fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackReason} */ -public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No fallback reason specified.
    * 
@@ -39,8 +21,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { */ FALLBACK_REASON_UNSPECIFIED(0), /** - * - * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -51,8 +31,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   SERVER_ERROR(1),
   /**
-   *
-   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -66,8 +44,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No fallback reason specified.
    * 
@@ -76,8 +52,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FALLBACK_REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -88,8 +62,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SERVER_ERROR_VALUE = 1;
   /**
-   *
-   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -100,6 +72,7 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LATENCY_EXCEEDED_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -124,49 +97,49 @@ public static FallbackReason valueOf(int value) {
    */
   public static FallbackReason forNumber(int value) {
     switch (value) {
-      case 0:
-        return FALLBACK_REASON_UNSPECIFIED;
-      case 1:
-        return SERVER_ERROR;
-      case 2:
-        return LATENCY_EXCEEDED;
-      default:
-        return null;
+      case 0: return FALLBACK_REASON_UNSPECIFIED;
+      case 1: return SERVER_ERROR;
+      case 2: return LATENCY_EXCEEDED;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public FallbackReason findValueByNumber(int number) {
-          return FallbackReason.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      FallbackReason> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FallbackReason findValueByNumber(int number) {
+            return FallbackReason.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final FallbackReason[] VALUES = values();
 
-  public static FallbackReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FallbackReason 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;
@@ -182,3 +155,4 @@ private FallbackReason(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackReason)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
similarity index 70%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
index caa8b5d34cf9..da291a274980 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Actual routing mode used for returned fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackRoutingMode} */ -public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackRoutingMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn */ FALLBACK_ROUTING_MODE_UNSPECIFIED(0), /** - * - * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -50,8 +30,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   FALLBACK_TRAFFIC_UNAWARE(1),
   /**
-   *
-   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -64,8 +42,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
   ;
 
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -74,8 +50,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn */ public static final int FALLBACK_ROUTING_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -85,8 +59,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int FALLBACK_TRAFFIC_UNAWARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -96,6 +68,7 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int FALLBACK_TRAFFIC_AWARE_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,14 +93,10 @@ public static FallbackRoutingMode valueOf(int value) {
    */
   public static FallbackRoutingMode forNumber(int value) {
     switch (value) {
-      case 0:
-        return FALLBACK_ROUTING_MODE_UNSPECIFIED;
-      case 1:
-        return FALLBACK_TRAFFIC_UNAWARE;
-      case 2:
-        return FALLBACK_TRAFFIC_AWARE;
-      default:
-        return null;
+      case 0: return FALLBACK_ROUTING_MODE_UNSPECIFIED;
+      case 1: return FALLBACK_TRAFFIC_UNAWARE;
+      case 2: return FALLBACK_TRAFFIC_AWARE;
+      default: return null;
     }
   }
 
@@ -135,28 +104,28 @@ public static FallbackRoutingMode forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FallbackRoutingMode findValueByNumber(int number) {
-              return FallbackRoutingMode.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      FallbackRoutingMode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FallbackRoutingMode findValueByNumber(int number) {
+            return FallbackRoutingMode.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -165,7 +134,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static FallbackRoutingMode 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;
@@ -181,3 +151,4 @@ private FallbackRoutingMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackRoutingMode)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
similarity index 73%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
index dfde9cbbf63c..a5edc9ef18bc 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a location (a geographic point, and an optional heading).
  * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Location() {} + private Location() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @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.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, - com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); } public static final int LAT_LNG_FIELD_NUMBER = 1; private com.google.type.LatLng latLng_; /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The waypoint's geographic coordinates.
    * 
@@ -114,8 +88,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int HEADING_FIELD_NUMBER = 2; private com.google.protobuf.Int32Value heading_; /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -125,7 +97,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ @java.lang.Override @@ -133,8 +104,6 @@ public boolean hasHeading() { return heading_ != null; } /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -144,7 +113,6 @@ public boolean hasHeading() {
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ @java.lang.Override @@ -152,8 +120,6 @@ public com.google.protobuf.Int32Value getHeading() { return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_; } /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -170,7 +136,6 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,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 (latLng_ != null) {
       output.writeMessage(1, getLatLng());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (latLng_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLatLng());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getLatLng());
     }
     if (heading_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHeading());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getHeading());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +180,7 @@ 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.routing.v2.Location)) {
       return super.equals(obj);
@@ -221,11 +189,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasLatLng() != other.hasLatLng()) return false;
     if (hasLatLng()) {
-      if (!getLatLng().equals(other.getLatLng())) return false;
+      if (!getLatLng()
+          .equals(other.getLatLng())) return false;
     }
     if (hasHeading() != other.hasHeading()) return false;
     if (hasHeading()) {
-      if (!getHeading().equals(other.getHeading())) return false;
+      if (!getHeading()
+          .equals(other.getHeading())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -251,135 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Location parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Location parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.Location parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a location (a geographic point, and an optional heading).
    * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ - 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.routing.v2.Location) com.google.maps.routing.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, - com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); } // Construct using com.google.maps.routing.v2.Location.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(); @@ -399,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override @@ -439,39 +404,38 @@ public com.google.maps.routing.v2.Location 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.routing.v2.Location) { - return mergeFrom((com.google.maps.routing.v2.Location) other); + return mergeFrom((com.google.maps.routing.v2.Location)other); } else { super.mergeFrom(other); return this; @@ -512,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getHeadingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getHeadingFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -543,31 +508,24 @@ public Builder mergeFrom( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -578,8 +536,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -600,15 +556,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -619,8 +574,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -630,7 +583,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -642,8 +596,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -662,8 +614,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -671,13 +621,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 1; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -688,12 +636,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -701,14 +648,14 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 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> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; @@ -716,13 +663,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { private com.google.protobuf.Int32Value heading_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, - com.google.protobuf.Int32Value.Builder, - com.google.protobuf.Int32ValueOrBuilder> - headingBuilder_; + com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> headingBuilder_; /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -732,15 +674,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ public boolean hasHeading() { return headingBuilder_ != null || heading_ != null; } /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -750,7 +689,6 @@ public boolean hasHeading() {
      * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ public com.google.protobuf.Int32Value getHeading() { @@ -761,8 +699,6 @@ public com.google.protobuf.Int32Value getHeading() { } } /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -787,8 +723,6 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -799,7 +733,8 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value heading = 2;
      */
-    public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setHeading(
+        com.google.protobuf.Int32Value.Builder builderForValue) {
       if (headingBuilder_ == null) {
         heading_ = builderForValue.build();
         onChanged();
@@ -810,8 +745,6 @@ public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -826,7 +759,7 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       if (headingBuilder_ == null) {
         if (heading_ != null) {
           heading_ =
-              com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
         } else {
           heading_ = value;
         }
@@ -838,8 +771,6 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -862,8 +793,6 @@ public Builder clearHeading() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -875,13 +804,11 @@ public Builder clearHeading() {
      * .google.protobuf.Int32Value heading = 2;
      */
     public com.google.protobuf.Int32Value.Builder getHeadingBuilder() {
-
+      
       onChanged();
       return getHeadingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -896,12 +823,11 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
       if (headingBuilder_ != null) {
         return headingBuilder_.getMessageOrBuilder();
       } else {
-        return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
+        return heading_ == null ?
+            com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
       }
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -913,24 +839,21 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
      * .google.protobuf.Int32Value heading = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value,
-            com.google.protobuf.Int32Value.Builder,
-            com.google.protobuf.Int32ValueOrBuilder>
+        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
         getHeadingFieldBuilder() {
       if (headingBuilder_ == null) {
-        headingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int32Value,
-                com.google.protobuf.Int32Value.Builder,
-                com.google.protobuf.Int32ValueOrBuilder>(
-                getHeading(), getParentForChildren(), isClean());
+        headingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
+                getHeading(),
+                getParentForChildren(),
+                isClean());
         heading_ = null;
       }
       return headingBuilder_;
     }
-
     @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);
     }
 
@@ -940,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Location)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Location)
   private static final com.google.maps.routing.v2.Location DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Location();
   }
@@ -954,27 +877,27 @@ public static com.google.maps.routing.v2.Location getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Location 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 Location 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;
@@ -989,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Location getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
index 58e544a661c5..6e984768bab2 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
-public interface LocationOrBuilder
-    extends
+public interface LocationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Location)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The waypoint's geographic coordinates.
    * 
@@ -59,8 +35,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -70,13 +44,10 @@ public interface LocationOrBuilder
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ boolean hasHeading(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -86,13 +57,10 @@ public interface LocationOrBuilder
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ com.google.protobuf.Int32Value getHeading(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
new file mode 100644
index 000000000000..a4aa1ac4fe64
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
@@ -0,0 +1,60 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/location.proto
+
+package com.google.maps.routing.v2;
+
+public final class LocationProto {
+  private LocationProto() {}
+  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_routing_v2_Location_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" +
+      "\026google.maps.routing.v2\032\036google/protobuf" +
+      "/wrappers.proto\032\030google/type/latlng.prot" +
+      "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." +
+      "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" +
+      "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" +
+      "uting.v2B\rLocationProtoP\001Z=google.golang" +
+      ".org/genproto/googleapis/maps/routing/v2" +
+      ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" +
+      "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" +
+      "Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.WrappersProto.getDescriptor(),
+          com.google.type.LatLngProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_Location_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Location_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_Location_descriptor,
+        new java.lang.String[] { "LatLng", "Heading", });
+    com.google.protobuf.WrappersProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
similarity index 74%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
index 912c04595aa0..e4e986514923 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.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/routing/v2/maneuver.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify the navigation action to take for the current
  * step (e.g., turn left, merge, straight, etc.).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.Maneuver}
  */
-public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum {
+public enum Maneuver
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -40,8 +22,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ MANEUVER_UNSPECIFIED(0), /** - * - * *
    * Turn slightly to the left.
    * 
@@ -50,8 +30,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SLIGHT_LEFT(1), /** - * - * *
    * Turn sharply to the left.
    * 
@@ -60,8 +38,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SHARP_LEFT(2), /** - * - * *
    * Make a left u-turn.
    * 
@@ -70,8 +46,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ UTURN_LEFT(3), /** - * - * *
    * Turn left.
    * 
@@ -80,8 +54,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_LEFT(4), /** - * - * *
    * Turn slightly to the right.
    * 
@@ -90,8 +62,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SLIGHT_RIGHT(5), /** - * - * *
    * Turn sharply to the right.
    * 
@@ -100,8 +70,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SHARP_RIGHT(6), /** - * - * *
    * Make a right u-turn.
    * 
@@ -110,8 +78,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ UTURN_RIGHT(7), /** - * - * *
    * Turn right.
    * 
@@ -120,8 +86,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_RIGHT(8), /** - * - * *
    * Go straight.
    * 
@@ -130,8 +94,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ STRAIGHT(9), /** - * - * *
    * Take the left ramp.
    * 
@@ -140,8 +102,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ RAMP_LEFT(10), /** - * - * *
    * Take the right ramp.
    * 
@@ -150,8 +110,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ RAMP_RIGHT(11), /** - * - * *
    * Merge into traffic.
    * 
@@ -160,8 +118,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ MERGE(12), /** - * - * *
    * Take the left fork.
    * 
@@ -170,8 +126,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FORK_LEFT(13), /** - * - * *
    * Take the right fork.
    * 
@@ -180,8 +134,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FORK_RIGHT(14), /** - * - * *
    * Take the ferry.
    * 
@@ -190,8 +142,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FERRY(15), /** - * - * *
    * Take the train leading onto the ferry.
    * 
@@ -200,8 +150,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FERRY_TRAIN(16), /** - * - * *
    * Turn left at the roundabout.
    * 
@@ -210,8 +158,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ ROUNDABOUT_LEFT(17), /** - * - * *
    * Turn right at the roundabout.
    * 
@@ -223,8 +169,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -233,8 +177,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANEUVER_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Turn slightly to the left.
    * 
@@ -243,8 +185,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SLIGHT_LEFT_VALUE = 1; /** - * - * *
    * Turn sharply to the left.
    * 
@@ -253,8 +193,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SHARP_LEFT_VALUE = 2; /** - * - * *
    * Make a left u-turn.
    * 
@@ -263,8 +201,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTURN_LEFT_VALUE = 3; /** - * - * *
    * Turn left.
    * 
@@ -273,8 +209,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_LEFT_VALUE = 4; /** - * - * *
    * Turn slightly to the right.
    * 
@@ -283,8 +217,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SLIGHT_RIGHT_VALUE = 5; /** - * - * *
    * Turn sharply to the right.
    * 
@@ -293,8 +225,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SHARP_RIGHT_VALUE = 6; /** - * - * *
    * Make a right u-turn.
    * 
@@ -303,8 +233,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTURN_RIGHT_VALUE = 7; /** - * - * *
    * Turn right.
    * 
@@ -313,8 +241,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_RIGHT_VALUE = 8; /** - * - * *
    * Go straight.
    * 
@@ -323,8 +249,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRAIGHT_VALUE = 9; /** - * - * *
    * Take the left ramp.
    * 
@@ -333,8 +257,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RAMP_LEFT_VALUE = 10; /** - * - * *
    * Take the right ramp.
    * 
@@ -343,8 +265,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RAMP_RIGHT_VALUE = 11; /** - * - * *
    * Merge into traffic.
    * 
@@ -353,8 +273,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MERGE_VALUE = 12; /** - * - * *
    * Take the left fork.
    * 
@@ -363,8 +281,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORK_LEFT_VALUE = 13; /** - * - * *
    * Take the right fork.
    * 
@@ -373,8 +289,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORK_RIGHT_VALUE = 14; /** - * - * *
    * Take the ferry.
    * 
@@ -383,8 +297,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FERRY_VALUE = 15; /** - * - * *
    * Take the train leading onto the ferry.
    * 
@@ -393,8 +305,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FERRY_TRAIN_VALUE = 16; /** - * - * *
    * Turn left at the roundabout.
    * 
@@ -403,8 +313,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUNDABOUT_LEFT_VALUE = 17; /** - * - * *
    * Turn right at the roundabout.
    * 
@@ -413,6 +321,7 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUNDABOUT_RIGHT_VALUE = 18; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,81 +346,65 @@ public static Maneuver valueOf(int value) { */ public static Maneuver forNumber(int value) { switch (value) { - case 0: - return MANEUVER_UNSPECIFIED; - case 1: - return TURN_SLIGHT_LEFT; - case 2: - return TURN_SHARP_LEFT; - case 3: - return UTURN_LEFT; - case 4: - return TURN_LEFT; - case 5: - return TURN_SLIGHT_RIGHT; - case 6: - return TURN_SHARP_RIGHT; - case 7: - return UTURN_RIGHT; - case 8: - return TURN_RIGHT; - case 9: - return STRAIGHT; - case 10: - return RAMP_LEFT; - case 11: - return RAMP_RIGHT; - case 12: - return MERGE; - case 13: - return FORK_LEFT; - case 14: - return FORK_RIGHT; - case 15: - return FERRY; - case 16: - return FERRY_TRAIN; - case 17: - return ROUNDABOUT_LEFT; - case 18: - return ROUNDABOUT_RIGHT; - default: - return null; + case 0: return MANEUVER_UNSPECIFIED; + case 1: return TURN_SLIGHT_LEFT; + case 2: return TURN_SHARP_LEFT; + case 3: return UTURN_LEFT; + case 4: return TURN_LEFT; + case 5: return TURN_SLIGHT_RIGHT; + case 6: return TURN_SHARP_RIGHT; + case 7: return UTURN_RIGHT; + case 8: return TURN_RIGHT; + case 9: return STRAIGHT; + case 10: return RAMP_LEFT; + case 11: return RAMP_RIGHT; + case 12: return MERGE; + case 13: return FORK_LEFT; + case 14: return FORK_RIGHT; + case 15: return FERRY; + case 16: return FERRY_TRAIN; + case 17: return ROUNDABOUT_LEFT; + case 18: return ROUNDABOUT_RIGHT; + 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< + Maneuver> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Maneuver findValueByNumber(int number) { + return Maneuver.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Maneuver findValueByNumber(int number) { - return Maneuver.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.routing.v2.ManeuverProto.getDescriptor().getEnumTypes().get(0); } private static final Maneuver[] VALUES = values(); - public static Maneuver valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Maneuver 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; @@ -527,3 +420,4 @@ private Maneuver(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Maneuver) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java new file mode 100644 index 000000000000..5138be656ed5 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/maneuver.proto + +package com.google.maps.routing.v2; + +public final class ManeuverProto { + private ManeuverProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/maneuver.proto\022" + + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + + ".v2B\rManeuverProtoP\001Z=google.golang.org/" + + "genproto/googleapis/maps/routing/v2;rout" + + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + + ":Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java similarity index 69% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java index fd64ff5e1778..a819b44fb188 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates navigation instructions for a
  * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
  */
-public final class NavigationInstruction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NavigationInstruction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.NavigationInstruction)
     NavigationInstructionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NavigationInstruction.newBuilder() to construct.
   private NavigationInstruction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NavigationInstruction() {
     maneuver_ = 0;
     instructions_ = "";
@@ -45,79 +27,66 @@ private NavigationInstruction() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NavigationInstruction();
   }
 
   @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.routing.v2.NavigationInstructionProto
-        .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.NavigationInstructionProto
-        .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.NavigationInstruction.class,
-            com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+            com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
   }
 
   public static final int MANEUVER_FIELD_NUMBER = 1;
   private int maneuver_;
   /**
-   *
-   *
    * 
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override - public int getManeuverValue() { + @java.lang.Override public int getManeuverValue() { return maneuver_; } /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ - @java.lang.Override - public com.google.maps.routing.v2.Maneuver getManeuver() { + @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = - com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } public static final int INSTRUCTIONS_FIELD_NUMBER = 2; private volatile java.lang.Object instructions_; /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The instructions. */ @java.lang.Override @@ -126,29 +95,29 @@ public java.lang.String getInstructions() { 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(); instructions_ = s; return s; } } /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The bytes for instructions. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionsBytes() { + public com.google.protobuf.ByteString + getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -157,7 +126,6 @@ public com.google.protobuf.ByteString getInstructionsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,7 +137,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 (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { output.writeEnum(1, maneuver_); } @@ -186,7 +155,8 @@ public int getSerializedSize() { size = 0; if (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, maneuver_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, maneuver_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instructions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instructions_); @@ -199,16 +169,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.routing.v2.NavigationInstruction)) { return super.equals(obj); } - com.google.maps.routing.v2.NavigationInstruction other = - (com.google.maps.routing.v2.NavigationInstruction) obj; + com.google.maps.routing.v2.NavigationInstruction other = (com.google.maps.routing.v2.NavigationInstruction) obj; if (maneuver_ != other.maneuver_) return false; - if (!getInstructions().equals(other.getInstructions())) return false; + if (!getInstructions() + .equals(other.getInstructions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,104 +199,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.NavigationInstruction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.NavigationInstruction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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; } /** - * - * *
    * Encapsulates navigation instructions for a
    * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -334,32 +297,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
    */
-  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.routing.v2.NavigationInstruction)
       com.google.maps.routing.v2.NavigationInstructionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.NavigationInstruction.class,
-              com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+              com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.NavigationInstruction.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();
@@ -371,9 +335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +356,7 @@ public com.google.maps.routing.v2.NavigationInstruction build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.NavigationInstruction buildPartial() {
-      com.google.maps.routing.v2.NavigationInstruction result =
-          new com.google.maps.routing.v2.NavigationInstruction(this);
+      com.google.maps.routing.v2.NavigationInstruction result = new com.google.maps.routing.v2.NavigationInstruction(this);
       result.maneuver_ = maneuver_;
       result.instructions_ = instructions_;
       onBuilt();
@@ -404,39 +367,38 @@ public com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction) {
-        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction) other);
+        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -444,8 +406,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.NavigationInstruction other) {
-      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance()) return this;
       if (other.maneuver_ != 0) {
         setManeuverValue(other.getManeuverValue());
       }
@@ -479,25 +440,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                maneuver_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                instructions_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              maneuver_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              instructions_ = 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) {
@@ -510,69 +468,55 @@ public Builder mergeFrom(
 
     private int maneuver_ = 0;
     /**
-     *
-     *
      * 
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override - public int getManeuverValue() { + @java.lang.Override public int getManeuverValue() { return maneuver_; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @param value The enum numeric value on the wire for maneuver to set. * @return This builder for chaining. */ public Builder setManeuverValue(int value) { - + maneuver_ = value; onChanged(); return this; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = - com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @param value The maneuver to set. * @return This builder for chaining. */ @@ -580,25 +524,22 @@ public Builder setManeuver(com.google.maps.routing.v2.Maneuver value) { if (value == null) { throw new NullPointerException(); } - + maneuver_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return This builder for chaining. */ public Builder clearManeuver() { - + maneuver_ = 0; onChanged(); return this; @@ -606,20 +547,18 @@ public Builder clearManeuver() { private java.lang.Object instructions_ = ""; /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return The instructions. */ public java.lang.String getInstructions() { java.lang.Object ref = instructions_; 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(); instructions_ = s; return s; @@ -628,21 +567,20 @@ public java.lang.String getInstructions() { } } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return The bytes for instructions. */ - public com.google.protobuf.ByteString getInstructionsBytes() { + public com.google.protobuf.ByteString + getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -650,68 +588,61 @@ public com.google.protobuf.ByteString getInstructionsBytes() { } } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @param value The instructions to set. * @return This builder for chaining. */ - public Builder setInstructions(java.lang.String value) { + public Builder setInstructions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instructions_ = value; onChanged(); return this; } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return This builder for chaining. */ public Builder clearInstructions() { - + instructions_ = getDefaultInstance().getInstructions(); onChanged(); return this; } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @param value The bytes for instructions to set. * @return This builder for chaining. */ - public Builder setInstructionsBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instructions_ = 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); } @@ -721,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.NavigationInstruction) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.NavigationInstruction) private static final com.google.maps.routing.v2.NavigationInstruction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.NavigationInstruction(); } @@ -735,27 +666,27 @@ public static com.google.maps.routing.v2.NavigationInstruction getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NavigationInstruction 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 NavigationInstruction 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; @@ -770,4 +701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.NavigationInstruction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java similarity index 63% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java index cd4f6086f6cb..5cf285ee2a4a 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java @@ -1,77 +1,50 @@ -/* - * 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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; -public interface NavigationInstructionOrBuilder - extends +public interface NavigationInstructionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.NavigationInstruction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ int getManeuverValue(); /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ com.google.maps.routing.v2.Maneuver getManeuver(); /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The instructions. */ java.lang.String getInstructions(); /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The bytes for instructions. */ - com.google.protobuf.ByteString getInstructionsBytes(); + com.google.protobuf.ByteString + getInstructionsBytes(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java new file mode 100644 index 000000000000..cf16ec2b8d68 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/navigation_instruction.proto + +package com.google.maps.routing.v2; + +public final class NavigationInstructionProto { + private NavigationInstructionProto() {} + 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_routing_v2_NavigationInstruction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/navigation_inst" + + "ruction.proto\022\026google.maps.routing.v2\032%g" + + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + + "ing.v2B\032NavigationInstructionProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/maps" + + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + + "\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.ManeuverProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, + new java.lang.String[] { "Maneuver", "Instructions", }); + com.google.maps.routing.v2.ManeuverProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java index 1a249fa90660..87e94edaaedf 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java @@ -1,82 +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/routing/v2/polyline.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates an encoded polyline.
  * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ -public final class Polyline extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Polyline extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Polyline) PolylineOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Polyline.newBuilder() to construct. private Polyline(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Polyline() {} + private Polyline() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Polyline(); } @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.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, - com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); } private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - public enum PolylineTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENCODED_POLYLINE(1), GEO_JSON_LINESTRING(2), POLYLINETYPE_NOT_SET(0); private final int value; - private PolylineTypeCase(int value) { this.value = value; } @@ -92,52 +71,43 @@ public static PolylineTypeCase valueOf(int value) { public static PolylineTypeCase forNumber(int value) { switch (value) { - case 1: - return ENCODED_POLYLINE; - case 2: - return GEO_JSON_LINESTRING; - case 0: - return POLYLINETYPE_NOT_SET; - default: - return null; + case 1: return ENCODED_POLYLINE; + case 2: return GEO_JSON_LINESTRING; + case 0: return POLYLINETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PolylineTypeCase getPolylineTypeCase() { - return PolylineTypeCase.forNumber(polylineTypeCase_); + public PolylineTypeCase + getPolylineTypeCase() { + return PolylineTypeCase.forNumber( + polylineTypeCase_); } public static final int ENCODED_POLYLINE_FIELD_NUMBER = 1; /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ public java.lang.String getEncodedPolyline() { @@ -148,7 +118,8 @@ public java.lang.String getEncodedPolyline() { 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -157,25 +128,24 @@ public java.lang.String getEncodedPolyline() { } } /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ - public com.google.protobuf.ByteString getEncodedPolylineBytes() { + public com.google.protobuf.ByteString + getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -187,15 +157,12 @@ public com.google.protobuf.ByteString getEncodedPolylineBytes() { public static final int GEO_JSON_LINESTRING_FIELD_NUMBER = 2; /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -203,27 +170,22 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ @java.lang.Override public com.google.protobuf.Struct getGeoJsonLinestring() { if (polylineTypeCase_ == 2) { - return (com.google.protobuf.Struct) polylineType_; + return (com.google.protobuf.Struct) polylineType_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -234,13 +196,12 @@ public com.google.protobuf.Struct getGeoJsonLinestring() {
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
     if (polylineTypeCase_ == 2) {
-      return (com.google.protobuf.Struct) polylineType_;
+       return (com.google.protobuf.Struct) polylineType_;
     }
     return com.google.protobuf.Struct.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -252,7 +213,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 (polylineTypeCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, polylineType_);
     }
@@ -272,9 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, polylineType_);
     }
     if (polylineTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.protobuf.Struct) polylineType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.protobuf.Struct) polylineType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,7 +245,7 @@ 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.routing.v2.Polyline)) {
       return super.equals(obj);
@@ -294,10 +255,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getPolylineTypeCase().equals(other.getPolylineTypeCase())) return false;
     switch (polylineTypeCase_) {
       case 1:
-        if (!getEncodedPolyline().equals(other.getEncodedPolyline())) return false;
+        if (!getEncodedPolyline()
+            .equals(other.getEncodedPolyline())) return false;
         break;
       case 2:
-        if (!getGeoJsonLinestring().equals(other.getGeoJsonLinestring())) return false;
+        if (!getGeoJsonLinestring()
+            .equals(other.getGeoJsonLinestring())) return false;
         break;
       case 0:
       default:
@@ -330,135 +293,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Polyline parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates an encoded polyline.
    * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ - 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.routing.v2.Polyline) com.google.maps.routing.v2.PolylineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, - com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); } // Construct using com.google.maps.routing.v2.Polyline.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(); @@ -471,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override @@ -512,39 +470,38 @@ public com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline) { - return mergeFrom((com.google.maps.routing.v2.Polyline) other); + return mergeFrom((com.google.maps.routing.v2.Polyline)other); } else { super.mergeFrom(other); return this; @@ -554,22 +511,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.maps.routing.v2.Polyline other) { if (other == com.google.maps.routing.v2.Polyline.getDefaultInstance()) return this; switch (other.getPolylineTypeCase()) { - case ENCODED_POLYLINE: - { - polylineTypeCase_ = 1; - polylineType_ = other.polylineType_; - onChanged(); - break; - } - case GEO_JSON_LINESTRING: - { - mergeGeoJsonLinestring(other.getGeoJsonLinestring()); - break; - } - case POLYLINETYPE_NOT_SET: - { - break; - } + case ENCODED_POLYLINE: { + polylineTypeCase_ = 1; + polylineType_ = other.polylineType_; + onChanged(); + break; + } + case GEO_JSON_LINESTRING: { + mergeGeoJsonLinestring(other.getGeoJsonLinestring()); + break; + } + case POLYLINETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -597,27 +551,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - polylineTypeCase_ = 1; - polylineType_ = s; - break; - } // case 10 - case 18: - { - input.readMessage( - getGeoJsonLinestringFieldBuilder().getBuilder(), extensionRegistry); - polylineTypeCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + polylineTypeCase_ = 1; + polylineType_ = s; + break; + } // case 10 + case 18: { + input.readMessage( + getGeoJsonLinestringFieldBuilder().getBuilder(), + extensionRegistry); + polylineTypeCase_ = 2; + 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) { @@ -627,12 +579,12 @@ public Builder mergeFrom( } // finally return this; } - private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - - public PolylineTypeCase getPolylineTypeCase() { - return PolylineTypeCase.forNumber(polylineTypeCase_); + public PolylineTypeCase + getPolylineTypeCase() { + return PolylineTypeCase.forNumber( + polylineTypeCase_); } public Builder clearPolylineType() { @@ -642,16 +594,14 @@ public Builder clearPolylineType() { return this; } + /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ @java.lang.Override @@ -659,15 +609,12 @@ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ @java.lang.Override @@ -677,7 +624,8 @@ public java.lang.String getEncodedPolyline() { ref = polylineType_; } 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -688,26 +636,25 @@ public java.lang.String getEncodedPolyline() { } } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodedPolylineBytes() { + public com.google.protobuf.ByteString + getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -717,37 +664,32 @@ public com.google.protobuf.ByteString getEncodedPolylineBytes() { } } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @param value The encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolyline(java.lang.String value) { + public Builder setEncodedPolyline( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - polylineTypeCase_ = 1; + throw new NullPointerException(); + } + polylineTypeCase_ = 1; polylineType_ = value; onChanged(); return this; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return This builder for chaining. */ public Builder clearEncodedPolyline() { @@ -759,23 +701,21 @@ public Builder clearEncodedPolyline() { return this; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @param value The bytes for encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { + public Builder setEncodedPolylineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); polylineTypeCase_ = 1; polylineType_ = value; onChanged(); @@ -783,20 +723,14 @@ public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - geoJsonLinestringBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> geoJsonLinestringBuilder_; /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -804,15 +738,12 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ @java.lang.Override @@ -830,8 +761,6 @@ public com.google.protobuf.Struct getGeoJsonLinestring() { } } /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -853,8 +782,6 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -862,7 +789,8 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
-    public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setGeoJsonLinestring(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (geoJsonLinestringBuilder_ == null) {
         polylineType_ = builderForValue.build();
         onChanged();
@@ -873,8 +801,6 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -884,12 +810,10 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderFo
      */
     public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       if (geoJsonLinestringBuilder_ == null) {
-        if (polylineTypeCase_ == 2
-            && polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
-          polylineType_ =
-              com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (polylineTypeCase_ == 2 &&
+            polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          polylineType_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
+              .mergeFrom(value).buildPartial();
         } else {
           polylineType_ = value;
         }
@@ -905,8 +829,6 @@ public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -931,8 +853,6 @@ public Builder clearGeoJsonLinestring() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -944,8 +864,6 @@ public com.google.protobuf.Struct.Builder getGeoJsonLinestringBuilder() {
       return getGeoJsonLinestringFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -965,8 +883,6 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -975,30 +891,26 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getGeoJsonLinestringFieldBuilder() {
       if (geoJsonLinestringBuilder_ == null) {
         if (!(polylineTypeCase_ == 2)) {
           polylineType_ = com.google.protobuf.Struct.getDefaultInstance();
         }
-        geoJsonLinestringBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                (com.google.protobuf.Struct) polylineType_, getParentForChildren(), isClean());
+        geoJsonLinestringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                (com.google.protobuf.Struct) polylineType_,
+                getParentForChildren(),
+                isClean());
         polylineType_ = null;
       }
       polylineTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return geoJsonLinestringBuilder_;
     }
-
     @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);
     }
 
@@ -1008,12 +920,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Polyline)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Polyline)
   private static final com.google.maps.routing.v2.Polyline DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Polyline();
   }
@@ -1022,27 +934,27 @@ public static com.google.maps.routing.v2.Polyline getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Polyline 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 Polyline 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;
@@ -1057,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Polyline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
similarity index 69%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
index bff0044509ae..e6b196b85fa9 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Specifies the preferred type of polyline to be returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineEncoding} */ -public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineEncoding + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -39,8 +21,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum */ POLYLINE_ENCODING_UNSPECIFIED(0), /** - * - * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -50,8 +30,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   ENCODED_POLYLINE(1),
   /**
-   *
-   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -64,8 +42,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -74,8 +50,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum */ public static final int POLYLINE_ENCODING_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -85,8 +59,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int ENCODED_POLYLINE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -96,6 +68,7 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int GEO_JSON_LINESTRING_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static PolylineEncoding valueOf(int value) {
    */
   public static PolylineEncoding forNumber(int value) {
     switch (value) {
-      case 0:
-        return POLYLINE_ENCODING_UNSPECIFIED;
-      case 1:
-        return ENCODED_POLYLINE;
-      case 2:
-        return GEO_JSON_LINESTRING;
-      default:
-        return null;
+      case 0: return POLYLINE_ENCODING_UNSPECIFIED;
+      case 1: return ENCODED_POLYLINE;
+      case 2: return GEO_JSON_LINESTRING;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PolylineEncoding findValueByNumber(int number) {
-          return PolylineEncoding.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PolylineEncoding> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PolylineEncoding findValueByNumber(int number) {
+            return PolylineEncoding.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final PolylineEncoding[] VALUES = values();
 
-  public static PolylineEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineEncoding 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;
@@ -178,3 +151,4 @@ private PolylineEncoding(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineEncoding)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
similarity index 74%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
index 815fc261c33d..b3fd35f7ece7 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
@@ -1,97 +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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
-public interface PolylineOrBuilder
-    extends
+public interface PolylineOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Polyline)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ boolean hasEncodedPolyline(); /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ java.lang.String getEncodedPolyline(); /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ - com.google.protobuf.ByteString getEncodedPolylineBytes(); + com.google.protobuf.ByteString + getEncodedPolylineBytes(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ boolean hasGeoJsonLinestring(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ com.google.protobuf.Struct getGeoJsonLinestring(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
new file mode 100644
index 000000000000..5c67621744ec
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
@@ -0,0 +1,63 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/polyline.proto
+
+package com.google.maps.routing.v2;
+
+public final class PolylineProto {
+  private PolylineProto() {}
+  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_routing_v2_Polyline_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" +
+      "\026google.maps.routing.v2\032\034google/protobuf" +
+      "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" +
+      "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" +
+      "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" +
+      "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" +
+      "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" +
+      "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" +
+      "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" +
+      "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" +
+      "m.google.maps.routing.v2B\rPolylineProtoP" +
+      "\001Z=google.golang.org/genproto/googleapis" +
+      "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" +
+      "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" +
+      "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" +
+      "3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_Polyline_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_Polyline_descriptor,
+        new java.lang.String[] { "EncodedPolyline", "GeoJsonLinestring", "PolylineType", });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
similarity index 71%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
index abdb1901ca63..ab8ebe80a4f4 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify the quality of the polyline.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineQuality} */ -public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineQuality + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -39,8 +21,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { */ POLYLINE_QUALITY_UNSPECIFIED(0), /** - * - * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -51,8 +31,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   HIGH_QUALITY(1),
   /**
-   *
-   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -67,8 +45,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -77,8 +53,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLYLINE_QUALITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -89,8 +63,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int HIGH_QUALITY_VALUE = 1;
   /**
-   *
-   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -102,6 +74,7 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int OVERVIEW_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -126,49 +99,49 @@ public static PolylineQuality valueOf(int value) {
    */
   public static PolylineQuality forNumber(int value) {
     switch (value) {
-      case 0:
-        return POLYLINE_QUALITY_UNSPECIFIED;
-      case 1:
-        return HIGH_QUALITY;
-      case 2:
-        return OVERVIEW;
-      default:
-        return null;
+      case 0: return POLYLINE_QUALITY_UNSPECIFIED;
+      case 1: return HIGH_QUALITY;
+      case 2: return OVERVIEW;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PolylineQuality findValueByNumber(int number) {
-          return PolylineQuality.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PolylineQuality> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PolylineQuality findValueByNumber(int number) {
+            return PolylineQuality.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final PolylineQuality[] VALUES = values();
 
-  public static PolylineQuality valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineQuality 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;
@@ -184,3 +157,4 @@ private PolylineQuality(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineQuality)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
similarity index 79%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
index c7f18faddafa..14395d9fe43b 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a route, which consists of a series of connected road segments
  * that join beginning, ending, and intermediate waypoints.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Route}
  */
-public final class Route extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Route extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Route)
     RouteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Route() {
     routeLabels_ = java.util.Collections.emptyList();
     legs_ = java.util.Collections.emptyList();
@@ -48,25 +30,25 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_Route_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
   }
@@ -74,45 +56,36 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int ROUTE_LABELS_FIELD_NUMBER = 13;
   private java.util.List routeLabels_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.maps.routing.v2.RouteLabel>
-      routeLabels_converter_ =
+      java.lang.Integer, com.google.maps.routing.v2.RouteLabel> routeLabels_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.maps.routing.v2.RouteLabel>() {
             public com.google.maps.routing.v2.RouteLabel convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.maps.routing.v2.RouteLabel result =
-                  com.google.maps.routing.v2.RouteLabel.valueOf(from);
+              com.google.maps.routing.v2.RouteLabel result = com.google.maps.routing.v2.RouteLabel.valueOf(from);
               return result == null ? com.google.maps.routing.v2.RouteLabel.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ @java.lang.Override public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( - routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ @java.lang.Override @@ -120,15 +93,12 @@ public int getRouteLabelsCount() { return routeLabels_.size(); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -137,31 +107,26 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ @java.lang.Override - public java.util.List getRouteLabelsValueList() { + public java.util.List + getRouteLabelsValueList() { return routeLabels_; } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -169,14 +134,11 @@ public java.util.List getRouteLabelsValueList() { public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } - private int routeLabelsMemoizedSerializedSize; public static final int LEGS_FIELD_NUMBER = 1; private java.util.List legs_; /** - * - * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -194,8 +156,6 @@ public java.util.List getLegsList() {
     return legs_;
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -209,13 +169,11 @@ public java.util.List getLegsList() {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLegsOrBuilderList() {
     return legs_;
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -233,8 +191,6 @@ public int getLegsCount() {
     return legs_.size();
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -252,8 +208,6 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
     return legs_.get(index);
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -267,21 +221,19 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+      int index) {
     return legs_.get(index);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 2;
   private int distanceMeters_;
   /**
-   *
-   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ @java.lang.Override @@ -292,8 +244,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -303,7 +253,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -311,8 +260,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -322,7 +269,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ @java.lang.Override @@ -330,8 +276,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -350,15 +294,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -366,26 +307,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -401,15 +335,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -417,15 +348,12 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ @java.lang.Override @@ -433,8 +361,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -450,14 +376,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 6;
   private volatile java.lang.Object description_;
   /**
-   *
-   *
    * 
    * A description of the route.
    * 
* * string description = 6; - * * @return The description. */ @java.lang.Override @@ -466,29 +389,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * A description of the route.
    * 
* * string description = 6; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -499,42 +422,34 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int WARNINGS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList warnings_; /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList getWarningsList() { + public com.google.protobuf.ProtocolStringList + getWarningsList() { return warnings_; } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -542,32 +457,27 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString getWarningsBytes(int index) { + public com.google.protobuf.ByteString + getWarningsBytes(int index) { return warnings_.getByteString(index); } public static final int VIEWPORT_FIELD_NUMBER = 8; private com.google.geo.type.Viewport viewport_; /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ @java.lang.Override @@ -575,14 +485,11 @@ public boolean hasViewport() { return viewport_ != null; } /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ @java.lang.Override @@ -590,8 +497,6 @@ public com.google.geo.type.Viewport getViewport() { return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } /** - * - * *
    * The viewport bounding box of the polyline.
    * 
@@ -606,14 +511,11 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -621,25 +523,18 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Additional information about the route.
    * 
@@ -654,18 +549,19 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory public static final int ROUTE_TOKEN_FIELD_NUMBER = 12; private volatile java.lang.Object routeToken_; /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
    * and in the event of rerouting honor the original intention when Routes
    * ComputeRoutes is called. Customers should treat this token as an
    * opaque blob.
+   * NOTE: `Route.route_token` is only available for requests that have set
+   * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+   * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+   * requests that have Via waypoints.
    * 
* * string route_token = 12; - * * @return The routeToken. */ @java.lang.Override @@ -674,33 +570,37 @@ public java.lang.String getRouteToken() { 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(); routeToken_ = s; return s; } } /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
    * and in the event of rerouting honor the original intention when Routes
    * ComputeRoutes is called. Customers should treat this token as an
    * opaque blob.
+   * NOTE: `Route.route_token` is only available for requests that have set
+   * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+   * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+   * requests that have Via waypoints.
    * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ @java.lang.Override - public com.google.protobuf.ByteString getRouteTokenBytes() { + public com.google.protobuf.ByteString + getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -709,7 +609,6 @@ public com.google.protobuf.ByteString getRouteTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -721,7 +620,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 { getSerializedSize(); for (int i = 0; i < legs_.size(); i++) { output.writeMessage(1, legs_.get(i)); @@ -770,19 +670,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < legs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, legs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, legs_.get(i)); } if (distanceMeters_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, distanceMeters_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, distanceMeters_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDuration()); } if (staticDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStaticDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStaticDuration()); } if (polyline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPolyline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getPolyline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -796,10 +701,12 @@ public int getSerializedSize() { size += 1 * getWarningsList().size(); } if (viewport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getViewport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getViewport()); } if (travelAdvisory_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTravelAdvisory()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTravelAdvisory()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeToken_); @@ -807,14 +714,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < routeLabels_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(routeLabels_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(routeLabels_.get(i)); } size += dataSize; - if (!getRouteLabelsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - routeLabelsMemoizedSerializedSize = dataSize; + if (!getRouteLabelsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }routeLabelsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -824,7 +731,7 @@ 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.routing.v2.Route)) { return super.equals(obj); @@ -832,31 +739,41 @@ public boolean equals(final java.lang.Object obj) { com.google.maps.routing.v2.Route other = (com.google.maps.routing.v2.Route) obj; if (!routeLabels_.equals(other.routeLabels_)) return false; - if (!getLegsList().equals(other.getLegsList())) return false; - if (getDistanceMeters() != other.getDistanceMeters()) return false; + if (!getLegsList() + .equals(other.getLegsList())) return false; + if (getDistanceMeters() + != other.getDistanceMeters()) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasStaticDuration() != other.hasStaticDuration()) return false; if (hasStaticDuration()) { - if (!getStaticDuration().equals(other.getStaticDuration())) return false; + if (!getStaticDuration() + .equals(other.getStaticDuration())) return false; } if (hasPolyline() != other.hasPolyline()) return false; if (hasPolyline()) { - if (!getPolyline().equals(other.getPolyline())) return false; + if (!getPolyline() + .equals(other.getPolyline())) return false; } - if (!getDescription().equals(other.getDescription())) return false; - if (!getWarningsList().equals(other.getWarningsList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getWarningsList() + .equals(other.getWarningsList())) return false; if (hasViewport() != other.hasViewport()) return false; if (hasViewport()) { - if (!getViewport().equals(other.getViewport())) return false; + if (!getViewport() + .equals(other.getViewport())) return false; } if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false; if (hasTravelAdvisory()) { - if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false; + if (!getTravelAdvisory() + .equals(other.getTravelAdvisory())) return false; } - if (!getRouteToken().equals(other.getRouteToken())) return false; + if (!getRouteToken() + .equals(other.getRouteToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -911,103 +828,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Route parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Route parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(com.google.protobuf.ByteString data) + public static com.google.maps.routing.v2.Route parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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; } /** - * - * *
    * Encapsulates a route, which consists of a series of connected road segments
    * that join beginning, ending, and intermediate waypoints.
@@ -1015,32 +926,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.Route}
    */
-  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.routing.v2.Route)
       com.google.maps.routing.v2.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Route.class,
-              com.google.maps.routing.v2.Route.Builder.class);
+              com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Route.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();
@@ -1095,9 +1007,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
@@ -1173,39 +1085,38 @@ public com.google.maps.routing.v2.Route 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.routing.v2.Route) {
-        return mergeFrom((com.google.maps.routing.v2.Route) other);
+        return mergeFrom((com.google.maps.routing.v2.Route)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1242,10 +1153,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.Route other) {
             legsBuilder_ = null;
             legs_ = other.legs_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            legsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLegsFieldBuilder()
-                    : null;
+            legsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLegsFieldBuilder() : null;
           } else {
             legsBuilder_.addAllMessages(other.legs_);
           }
@@ -1313,100 +1223,98 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.maps.routing.v2.RouteLeg m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.RouteLeg.parser(), extensionRegistry);
-                if (legsBuilder_ == null) {
-                  ensureLegsIsMutable();
-                  legs_.add(m);
-                } else {
-                  legsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 16:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureWarningsIsMutable();
-                warnings_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getViewportFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 98:
-              {
-                routeToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 104:
-              {
+            case 10: {
+              com.google.maps.routing.v2.RouteLeg m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.RouteLeg.parser(),
+                      extensionRegistry);
+              if (legsBuilder_ == null) {
+                ensureLegsIsMutable();
+                legs_.add(m);
+              } else {
+                legsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 16: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getPolylineFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureWarningsIsMutable();
+              warnings_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getViewportFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 98: {
+              routeToken_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureRouteLabelsIsMutable();
+              routeLabels_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureRouteLabelsIsMutable();
                 routeLabels_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureRouteLabelsIsMutable();
-                  routeLabels_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            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) {
@@ -1416,11 +1324,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List routeLabels_ = java.util.Collections.emptyList();
-
+    private java.util.List routeLabels_ =
+      java.util.Collections.emptyList();
     private void ensureRouteLabelsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         routeLabels_ = new java.util.ArrayList(routeLabels_);
@@ -1428,47 +1335,37 @@ private void ensureRouteLabelsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( - routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ public int getRouteLabelsCount() { return routeLabels_.size(); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -1476,20 +1373,18 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index to set the value at. * @param value The routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel value) { + public Builder setRouteLabels( + int index, com.google.maps.routing.v2.RouteLabel value) { if (value == null) { throw new NullPointerException(); } @@ -1499,15 +1394,12 @@ public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel v return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param value The routeLabels to add. * @return This builder for chaining. */ @@ -1521,15 +1413,12 @@ public Builder addRouteLabels(com.google.maps.routing.v2.RouteLabel value) { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param values The routeLabels to add. * @return This builder for chaining. */ @@ -1543,15 +1432,12 @@ public Builder addAllRouteLabels( return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return This builder for chaining. */ public Builder clearRouteLabels() { @@ -1561,30 +1447,25 @@ public Builder clearRouteLabels() { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ - public java.util.List getRouteLabelsValueList() { + public java.util.List + getRouteLabelsValueList() { return java.util.Collections.unmodifiableList(routeLabels_); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -1592,35 +1473,30 @@ public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabelsValue(int index, int value) { + public Builder setRouteLabelsValue( + int index, int value) { ensureRouteLabelsIsMutable(); routeLabels_.set(index, value); onChanged(); return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param value The enum numeric value on the wire for routeLabels to add. * @return This builder for chaining. */ @@ -1631,19 +1507,17 @@ public Builder addRouteLabelsValue(int value) { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param values The enum numeric values on the wire for routeLabels to add. * @return This builder for chaining. */ - public Builder addAllRouteLabelsValue(java.lang.Iterable values) { + public Builder addAllRouteLabelsValue( + java.lang.Iterable values) { ensureRouteLabelsIsMutable(); for (int value : values) { routeLabels_.add(value); @@ -1653,24 +1527,18 @@ public Builder addAllRouteLabelsValue(java.lang.Iterable valu } private java.util.List legs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLegsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { legs_ = new java.util.ArrayList(legs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteLeg, - com.google.maps.routing.v2.RouteLeg.Builder, - com.google.maps.routing.v2.RouteLegOrBuilder> - legsBuilder_; + com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> legsBuilder_; /** - * - * *
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1691,8 +1559,6 @@ public java.util.List getLegsList() {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1713,8 +1579,6 @@ public int getLegsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1735,8 +1599,6 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1749,7 +1611,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder setLegs(
+        int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1763,8 +1626,6 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1777,7 +1638,8 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder setLegs(
+        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.set(index, builderForValue.build());
@@ -1788,8 +1650,6 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1816,8 +1676,6 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1830,7 +1688,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder addLegs(
+        int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1844,8 +1703,6 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1858,7 +1715,8 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(
+        com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(builderForValue.build());
@@ -1869,8 +1727,6 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1883,7 +1739,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForVal
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(
+        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(index, builderForValue.build());
@@ -1894,8 +1751,6 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1912,7 +1767,8 @@ public Builder addAllLegs(
         java.lang.Iterable values) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, legs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, legs_);
         onChanged();
       } else {
         legsBuilder_.addAllMessages(values);
@@ -1920,8 +1776,6 @@ public Builder addAllLegs(
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1945,8 +1799,6 @@ public Builder clearLegs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1970,8 +1822,6 @@ public Builder removeLegs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1984,12 +1834,11 @@ public Builder removeLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
+        int index) {
       return getLegsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2002,16 +1851,14 @@ public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+        int index) {
       if (legsBuilder_ == null) {
-        return legs_.get(index);
-      } else {
+        return legs_.get(index);  } else {
         return legsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2024,8 +1871,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List
-        getLegsOrBuilderList() {
+    public java.util.List 
+         getLegsOrBuilderList() {
       if (legsBuilder_ != null) {
         return legsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2033,8 +1880,6 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2048,12 +1893,10 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
     public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
-      return getLegsFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+      return getLegsFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2066,13 +1909,12 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
-      return getLegsFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
+        int index) {
+      return getLegsFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2085,37 +1927,32 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List getLegsBuilderList() {
+    public java.util.List 
+         getLegsBuilderList() {
       return getLegsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLeg,
-            com.google.maps.routing.v2.RouteLeg.Builder,
-            com.google.maps.routing.v2.RouteLegOrBuilder>
+        com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> 
         getLegsFieldBuilder() {
       if (legsBuilder_ == null) {
-        legsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLeg,
-                com.google.maps.routing.v2.RouteLeg.Builder,
-                com.google.maps.routing.v2.RouteLegOrBuilder>(
-                legs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        legsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder>(
+                legs_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         legs_ = null;
       }
       return legsBuilder_;
     }
 
-    private int distanceMeters_;
+    private int distanceMeters_ ;
     /**
-     *
-     *
      * 
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ @java.lang.Override @@ -2123,36 +1960,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -2160,13 +1991,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2176,15 +2002,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2194,7 +2017,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2205,8 +2027,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2231,8 +2051,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2243,7 +2061,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 3;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -2254,8 +2073,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2270,7 +2087,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -2282,8 +2099,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2306,8 +2121,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2319,13 +2132,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 3;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2340,12 +2151,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2357,17 +2167,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -2375,49 +2182,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2439,8 +2233,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2448,7 +2240,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 4;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -2459,8 +2252,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2472,9 +2263,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -2486,8 +2275,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2507,8 +2294,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2517,13 +2302,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2535,14 +2318,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2551,17 +2331,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -2569,49 +2346,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2633,8 +2397,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2642,7 +2404,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
-    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(
+        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -2653,8 +2416,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2666,9 +2427,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
         } else {
           polyline_ = value;
         }
@@ -2680,8 +2439,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2701,8 +2458,6 @@ public Builder clearPolyline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2711,13 +2466,11 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-
+      
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2729,14 +2482,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null
-            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
-            : polyline_;
+        return polyline_ == null ?
+            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
       }
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2745,17 +2495,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Polyline,
-                com.google.maps.routing.v2.Polyline.Builder,
-                com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(), getParentForChildren(), isClean());
+        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(),
+                getParentForChildren(),
+                isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -2763,20 +2510,18 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A description of the route.
      * 
* * string description = 6; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -2785,21 +2530,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -2807,112 +2551,95 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList warnings_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWarningsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList getWarningsList() { + public com.google.protobuf.ProtocolStringList + getWarningsList() { return warnings_.getUnmodifiableView(); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -2920,90 +2647,80 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString getWarningsBytes(int index) { + public com.google.protobuf.ByteString + getWarningsBytes(int index) { return warnings_.getByteString(index); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index to set the value at. * @param value The warnings to set. * @return This builder for chaining. */ - public Builder setWarnings(int index, java.lang.String value) { + public Builder setWarnings( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.set(index, value); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param value The warnings to add. * @return This builder for chaining. */ - public Builder addWarnings(java.lang.String value) { + public Builder addWarnings( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.add(value); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param values The warnings to add. * @return This builder for chaining. */ - public Builder addAllWarnings(java.lang.Iterable values) { + public Builder addAllWarnings( + java.lang.Iterable values) { ensureWarningsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, warnings_); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return This builder for chaining. */ public Builder clearWarnings() { @@ -3013,22 +2730,20 @@ public Builder clearWarnings() { return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param value The bytes of the warnings to add. * @return This builder for chaining. */ - public Builder addWarningsBytes(com.google.protobuf.ByteString value) { + public Builder addWarningsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWarningsIsMutable(); warnings_.add(value); onChanged(); @@ -3037,33 +2752,24 @@ public Builder addWarningsBytes(com.google.protobuf.ByteString value) { private com.google.geo.type.Viewport viewport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder> - viewportBuilder_; + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> viewportBuilder_; /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ public boolean hasViewport() { return viewportBuilder_ != null || viewport_ != null; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ public com.google.geo.type.Viewport getViewport() { @@ -3074,8 +2780,6 @@ public com.google.geo.type.Viewport getViewport() { } } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3096,15 +2800,14 @@ public Builder setViewport(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; */ - public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setViewport( + com.google.geo.type.Viewport.Builder builderForValue) { if (viewportBuilder_ == null) { viewport_ = builderForValue.build(); onChanged(); @@ -3115,8 +2818,6 @@ public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3127,7 +2828,7 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { if (viewportBuilder_ == null) { if (viewport_ != null) { viewport_ = - com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); } else { viewport_ = value; } @@ -3139,8 +2840,6 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3159,8 +2858,6 @@ public Builder clearViewport() { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3168,13 +2865,11 @@ public Builder clearViewport() { * .google.geo.type.Viewport viewport = 8; */ public com.google.geo.type.Viewport.Builder getViewportBuilder() { - + onChanged(); return getViewportFieldBuilder().getBuilder(); } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3185,12 +2880,11 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { if (viewportBuilder_ != null) { return viewportBuilder_.getMessageOrBuilder(); } else { - return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; + return viewport_ == null ? + com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3198,17 +2892,14 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { * .google.geo.type.Viewport viewport = 8; */ 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> getViewportFieldBuilder() { if (viewportBuilder_ == null) { - viewportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder>( - getViewport(), getParentForChildren(), isClean()); + viewportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( + getViewport(), + getParentForChildren(), + isClean()); viewport_ = null; } return viewportBuilder_; @@ -3216,47 +2907,34 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> - travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; /** - * - * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Additional information about the route.
      * 
@@ -3277,8 +2955,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3297,8 +2973,6 @@ public Builder setTravelAdvisory( return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3309,9 +2983,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor if (travelAdvisoryBuilder_ == null) { if (travelAdvisory_ != null) { travelAdvisory_ = - com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial(); } else { travelAdvisory_ = value; } @@ -3323,8 +2995,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3343,8 +3013,6 @@ public Builder clearTravelAdvisory() { return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3352,13 +3020,11 @@ public Builder clearTravelAdvisory() { * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() { - + onChanged(); return getTravelAdvisoryFieldBuilder().getBuilder(); } /** - * - * *
      * Additional information about the route.
      * 
@@ -3369,14 +3035,11 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory if (travelAdvisoryBuilder_ != null) { return travelAdvisoryBuilder_.getMessageOrBuilder(); } else { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? + com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } } /** - * - * *
      * Additional information about the route.
      * 
@@ -3384,17 +3047,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> getTravelAdvisoryFieldBuilder() { if (travelAdvisoryBuilder_ == null) { - travelAdvisoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( - getTravelAdvisory(), getParentForChildren(), isClean()); + travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( + getTravelAdvisory(), + getParentForChildren(), + isClean()); travelAdvisory_ = null; } return travelAdvisoryBuilder_; @@ -3402,24 +3062,26 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory private java.lang.Object routeToken_ = ""; /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
      * and in the event of rerouting honor the original intention when Routes
      * ComputeRoutes is called. Customers should treat this token as an
      * opaque blob.
+     * NOTE: `Route.route_token` is only available for requests that have set
+     * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+     * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+     * requests that have Via waypoints.
      * 
* * string route_token = 12; - * * @return The routeToken. */ public java.lang.String getRouteToken() { java.lang.Object ref = routeToken_; 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(); routeToken_ = s; return s; @@ -3428,25 +3090,28 @@ public java.lang.String getRouteToken() { } } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
      * and in the event of rerouting honor the original intention when Routes
      * ComputeRoutes is called. Customers should treat this token as an
      * opaque blob.
+     * NOTE: `Route.route_token` is only available for requests that have set
+     * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+     * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+     * requests that have Via waypoints.
      * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ - public com.google.protobuf.ByteString getRouteTokenBytes() { + public com.google.protobuf.ByteString + getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -3454,80 +3119,85 @@ public com.google.protobuf.ByteString getRouteTokenBytes() { } } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
      * and in the event of rerouting honor the original intention when Routes
      * ComputeRoutes is called. Customers should treat this token as an
      * opaque blob.
+     * NOTE: `Route.route_token` is only available for requests that have set
+     * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+     * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+     * requests that have Via waypoints.
      * 
* * string route_token = 12; - * * @param value The routeToken to set. * @return This builder for chaining. */ - public Builder setRouteToken(java.lang.String value) { + public Builder setRouteToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeToken_ = value; onChanged(); return this; } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
      * and in the event of rerouting honor the original intention when Routes
      * ComputeRoutes is called. Customers should treat this token as an
      * opaque blob.
+     * NOTE: `Route.route_token` is only available for requests that have set
+     * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+     * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+     * requests that have Via waypoints.
      * 
* * string route_token = 12; - * * @return This builder for chaining. */ public Builder clearRouteToken() { - + routeToken_ = getDefaultInstance().getRouteToken(); onChanged(); return this; } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
      * and in the event of rerouting honor the original intention when Routes
      * ComputeRoutes is called. Customers should treat this token as an
      * opaque blob.
+     * NOTE: `Route.route_token` is only available for requests that have set
+     * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+     * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+     * requests that have Via waypoints.
      * 
* * string route_token = 12; - * * @param value The bytes for routeToken to set. * @return This builder for chaining. */ - public Builder setRouteTokenBytes(com.google.protobuf.ByteString value) { + public Builder setRouteTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeToken_ = 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); } @@ -3537,12 +3207,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Route) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Route) private static final com.google.maps.routing.v2.Route DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Route(); } @@ -3551,27 +3221,27 @@ public static com.google.maps.routing.v2.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route 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 Route 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; @@ -3586,4 +3256,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java similarity index 71% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java index a6df87ab0bbc..ac717036ef9a 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.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/routing/v2/route_label.proto package com.google.maps.routing.v2; /** - * - * *
  * Labels for the `Route` that are useful to identify specific properties
  * of the route to compare against others.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteLabel}
  */
-public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteLabel
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default - not used.
    * 
@@ -40,8 +22,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_LABEL_UNSPECIFIED(0), /** - * - * *
    * The default "best" route returned for the route computation.
    * 
@@ -50,8 +30,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT_ROUTE(1), /** - * - * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -62,8 +40,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEFAULT_ROUTE_ALTERNATE(2),
   /**
-   *
-   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -76,8 +52,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default - not used.
    * 
@@ -86,8 +60,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_LABEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The default "best" route returned for the route computation.
    * 
@@ -96,8 +68,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_ROUTE_VALUE = 1; /** - * - * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -108,8 +78,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEFAULT_ROUTE_ALTERNATE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -119,6 +87,7 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FUEL_EFFICIENT_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -143,51 +112,50 @@ public static RouteLabel valueOf(int value) {
    */
   public static RouteLabel forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTE_LABEL_UNSPECIFIED;
-      case 1:
-        return DEFAULT_ROUTE;
-      case 2:
-        return DEFAULT_ROUTE_ALTERNATE;
-      case 3:
-        return FUEL_EFFICIENT;
-      default:
-        return null;
+      case 0: return ROUTE_LABEL_UNSPECIFIED;
+      case 1: return DEFAULT_ROUTE;
+      case 2: return DEFAULT_ROUTE_ALTERNATE;
+      case 3: return FUEL_EFFICIENT;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public RouteLabel findValueByNumber(int number) {
-          return RouteLabel.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteLabel> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteLabel findValueByNumber(int number) {
+            return RouteLabel.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.routing.v2.RouteLabelProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteLabel[] VALUES = values();
 
-  public static RouteLabel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteLabel 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;
@@ -203,3 +171,4 @@ private RouteLabel(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteLabel)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
new file mode 100644
index 000000000000..c32bbe87c122
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
@@ -0,0 +1,44 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/route_label.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteLabelProto {
+  private RouteLabelProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_label.pro" +
+      "to\022\026google.maps.routing.v2*m\n\nRouteLabel" +
+      "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" +
+      "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" +
+      "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" +
+      "uting.v2B\017RouteLabelProtoP\001Z=google.gola" +
+      "ng.org/genproto/googleapis/maps/routing/" +
+      "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" +
+      "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" +
+      "::Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
index ca791c89a53f..4d20e31392ab 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a segment between non-`via` waypoints.
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ -public final class RouteLeg extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteLeg extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLeg) RouteLegOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteLeg.newBuilder() to construct. private RouteLeg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteLeg() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteLeg(); } @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.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, - com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); } public static final int DISTANCE_METERS_FIELD_NUMBER = 1; private int distanceMeters_; /** - * - * *
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -88,8 +66,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -99,7 +75,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -107,8 +82,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -118,7 +91,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ @java.lang.Override @@ -126,8 +98,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -146,15 +116,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -162,26 +129,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -197,15 +157,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 4;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -213,15 +170,12 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ @java.lang.Override @@ -229,8 +183,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -246,8 +198,6 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int START_LOCATION_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Location startLocation_;
   /**
-   *
-   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -255,7 +205,6 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -263,8 +212,6 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -272,18 +219,13 @@ public boolean hasStartLocation() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -300,8 +242,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
   public static final int END_LOCATION_FIELD_NUMBER = 6;
   private com.google.maps.routing.v2.Location endLocation_;
   /**
-   *
-   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -309,7 +249,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -317,8 +256,6 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -326,18 +263,13 @@ public boolean hasEndLocation() {
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -354,8 +286,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
   public static final int STEPS_FIELD_NUMBER = 7;
   private java.util.List steps_;
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -368,8 +298,6 @@ public java.util.List getStepsList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -378,13 +306,11 @@ public java.util.List getStepsList() {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -397,8 +323,6 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -411,8 +335,6 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
     return steps_.get(index);
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -421,22 +343,20 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+      int index) {
     return steps_.get(index);
   }
 
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -444,26 +364,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -477,7 +390,6 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -489,7 +401,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -524,28 +437,36 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolyline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getEndLocation());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, steps_.get(i));
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -555,38 +476,46 @@ 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.routing.v2.RouteLeg)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLeg other = (com.google.maps.routing.v2.RouteLeg) obj;
 
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration().equals(other.getDuration())) return false;
+      if (!getDuration()
+          .equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline().equals(other.getPolyline())) return false;
+      if (!getPolyline()
+          .equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation().equals(other.getStartLocation())) return false;
+      if (!getStartLocation()
+          .equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation().equals(other.getEndLocation())) return false;
+      if (!getEndLocation()
+          .equals(other.getEndLocation())) return false;
     }
-    if (!getStepsList().equals(other.getStepsList())) return false;
+    if (!getStepsList()
+        .equals(other.getStepsList())) return false;
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -634,135 +563,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLeg parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a segment between non-`via` waypoints.
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ - 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.routing.v2.RouteLeg) com.google.maps.routing.v2.RouteLegOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, - com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); } // Construct using com.google.maps.routing.v2.RouteLeg.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(); @@ -815,9 +739,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override @@ -886,39 +810,38 @@ public com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg) { - return mergeFrom((com.google.maps.routing.v2.RouteLeg) other); + return mergeFrom((com.google.maps.routing.v2.RouteLeg)other); } else { super.mergeFrom(other); return this; @@ -963,10 +886,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLeg other) { stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000001); - stepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStepsFieldBuilder() - : null; + stepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStepsFieldBuilder() : null; } else { stepsBuilder_.addAllMessages(other.steps_); } @@ -1001,68 +923,72 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - distanceMeters_ = input.readInt32(); - - break; - } // case 8 - case 18: - { - input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 58: - { - com.google.maps.routing.v2.RouteLegStep m = - input.readMessage( - com.google.maps.routing.v2.RouteLegStep.parser(), extensionRegistry); - if (stepsBuilder_ == null) { - ensureStepsIsMutable(); - steps_.add(m); - } else { - stepsBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: - { - input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + distanceMeters_ = input.readInt32(); + + break; + } // case 8 + case 18: { + input.readMessage( + getDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getStaticDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getPolylineFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getStartLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + input.readMessage( + getEndLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + com.google.maps.routing.v2.RouteLegStep m = + input.readMessage( + com.google.maps.routing.v2.RouteLegStep.parser(), + extensionRegistry); + if (stepsBuilder_ == null) { + ensureStepsIsMutable(); + steps_.add(m); + } else { + stepsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + input.readMessage( + getTravelAdvisoryFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + 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) { @@ -1072,19 +998,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int distanceMeters_; + private int distanceMeters_ ; /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -1092,36 +1014,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1129,13 +1045,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1145,15 +1056,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1163,7 +1071,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1174,8 +1081,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1200,8 +1105,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1212,7 +1115,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 2;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1223,8 +1127,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1239,7 +1141,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1251,8 +1153,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1275,8 +1175,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1288,13 +1186,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 2;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1309,12 +1205,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1326,17 +1221,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1344,49 +1236,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1408,8 +1287,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1417,7 +1294,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 3;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1428,8 +1306,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1441,9 +1317,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1455,8 +1329,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1476,8 +1348,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1486,13 +1356,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1504,14 +1372,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1520,17 +1385,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1538,49 +1400,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1602,8 +1451,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1611,7 +1458,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
-    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(
+        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -1622,8 +1470,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1635,9 +1481,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
         } else {
           polyline_ = value;
         }
@@ -1649,8 +1493,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1670,8 +1512,6 @@ public Builder clearPolyline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1680,13 +1520,11 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-
+      
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1698,14 +1536,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null
-            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
-            : polyline_;
+        return polyline_ == null ?
+            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
       }
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1714,17 +1549,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Polyline,
-                com.google.maps.routing.v2.Polyline.Builder,
-                com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(), getParentForChildren(), isClean());
+        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(),
+                getParentForChildren(),
+                isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -1732,13 +1564,8 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private com.google.maps.routing.v2.Location startLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        startLocationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_;
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1746,15 +1573,12 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** - * - * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1762,21 +1586,16 @@ public boolean hasStartLocation() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** - * - * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1799,8 +1618,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1809,7 +1626,8 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location start_location = 5;
      */
-    public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setStartLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (startLocationBuilder_ == null) {
         startLocation_ = builderForValue.build();
         onChanged();
@@ -1820,8 +1638,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1834,9 +1650,7 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       if (startLocationBuilder_ == null) {
         if (startLocation_ != null) {
           startLocation_ =
-              com.google.maps.routing.v2.Location.newBuilder(startLocation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial();
         } else {
           startLocation_ = value;
         }
@@ -1848,8 +1662,6 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1870,8 +1682,6 @@ public Builder clearStartLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1881,13 +1691,11 @@ public Builder clearStartLocation() {
      * .google.maps.routing.v2.Location start_location = 5;
      */
     public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() {
-
+      
       onChanged();
       return getStartLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1900,14 +1708,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
       if (startLocationBuilder_ != null) {
         return startLocationBuilder_.getMessageOrBuilder();
       } else {
-        return startLocation_ == null
-            ? com.google.maps.routing.v2.Location.getDefaultInstance()
-            : startLocation_;
+        return startLocation_ == null ?
+            com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_;
       }
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1917,17 +1722,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * .google.maps.routing.v2.Location start_location = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getStartLocationFieldBuilder() {
       if (startLocationBuilder_ == null) {
-        startLocationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
-                getStartLocation(), getParentForChildren(), isClean());
+        startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+                getStartLocation(),
+                getParentForChildren(),
+                isClean());
         startLocation_ = null;
       }
       return startLocationBuilder_;
@@ -1935,13 +1737,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
 
     private com.google.maps.routing.v2.Location endLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        endLocationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_;
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1949,15 +1746,12 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** - * - * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1965,21 +1759,16 @@ public boolean hasEndLocation() {
      * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** - * - * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2002,8 +1791,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2012,7 +1799,8 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location end_location = 6;
      */
-    public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setEndLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (endLocationBuilder_ == null) {
         endLocation_ = builderForValue.build();
         onChanged();
@@ -2023,8 +1811,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2037,9 +1823,7 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       if (endLocationBuilder_ == null) {
         if (endLocation_ != null) {
           endLocation_ =
-              com.google.maps.routing.v2.Location.newBuilder(endLocation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial();
         } else {
           endLocation_ = value;
         }
@@ -2051,8 +1835,6 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2073,8 +1855,6 @@ public Builder clearEndLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2084,13 +1864,11 @@ public Builder clearEndLocation() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() {
-
+      
       onChanged();
       return getEndLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2103,14 +1881,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
       if (endLocationBuilder_ != null) {
         return endLocationBuilder_.getMessageOrBuilder();
       } else {
-        return endLocation_ == null
-            ? com.google.maps.routing.v2.Location.getDefaultInstance()
-            : endLocation_;
+        return endLocation_ == null ?
+            com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_;
       }
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2120,41 +1895,32 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getEndLocationFieldBuilder() {
       if (endLocationBuilder_ == null) {
-        endLocationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
-                getEndLocation(), getParentForChildren(), isClean());
+        endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+                getEndLocation(),
+                getParentForChildren(),
+                isClean());
         endLocation_ = null;
       }
       return endLocationBuilder_;
     }
 
     private java.util.List steps_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep,
-            com.google.maps.routing.v2.RouteLegStep.Builder,
-            com.google.maps.routing.v2.RouteLegStepOrBuilder>
-        stepsBuilder_;
+        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> stepsBuilder_;
 
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2170,8 +1936,6 @@ public java.util.List getStepsList() {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2187,8 +1951,6 @@ public int getStepsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2204,8 +1966,6 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2213,7 +1973,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder setSteps(
+        int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2227,8 +1988,6 @@ public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2248,8 +2007,6 @@ public Builder setSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2271,8 +2028,6 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2280,7 +2035,8 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder addSteps(
+        int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2294,8 +2050,6 @@ public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2303,7 +2057,8 @@ public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
+    public Builder addSteps(
+        com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -2314,8 +2069,6 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2335,8 +2088,6 @@ public Builder addSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2348,7 +2099,8 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -2356,8 +2108,6 @@ public Builder addAllSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2376,8 +2126,6 @@ public Builder clearSteps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2396,8 +2144,6 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2405,12 +2151,11 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
+        int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2418,16 +2163,14 @@ public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+        int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);
-      } else {
+        return steps_.get(index);  } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2435,8 +2178,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List
-        getStepsOrBuilderList() {
+    public java.util.List 
+         getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2444,8 +2187,6 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2454,12 +2195,10 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
     public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
-      return getStepsFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+      return getStepsFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2467,13 +2206,12 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index) {
-      return getStepsFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
+        int index) {
+      return getStepsFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2481,22 +2219,20 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List getStepsBuilderList() {
+    public java.util.List 
+         getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep,
-            com.google.maps.routing.v2.RouteLegStep.Builder,
-            com.google.maps.routing.v2.RouteLegStepOrBuilder>
+        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> 
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegStep,
-                com.google.maps.routing.v2.RouteLegStep.Builder,
-                com.google.maps.routing.v2.RouteLegStepOrBuilder>(
-                steps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder>(
+                steps_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         steps_ = null;
       }
       return stepsBuilder_;
@@ -2504,49 +2240,36 @@ public java.util.List getStepsB
 
     private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
-        travelAdvisoryBuilder_;
+        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2568,8 +2291,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdviso
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2589,8 +2310,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2602,9 +2321,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2616,8 +2333,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2637,8 +2352,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2647,13 +2360,11 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     public com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2665,14 +2376,11 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2681,24 +2389,21 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegTravelAdvisory,
-                com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
-
     @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);
     }
 
@@ -2708,12 +2413,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLeg)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLeg)
   private static final com.google.maps.routing.v2.RouteLeg DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLeg();
   }
@@ -2722,27 +2427,27 @@ public static com.google.maps.routing.v2.RouteLeg getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteLeg 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 RouteLeg 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;
@@ -2757,4 +2462,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLeg getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
similarity index 88%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
index c08e71a46f81..60d07ca7ab3a 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
@@ -1,44 +1,23 @@
-/*
- * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegOrBuilder
-    extends
+public interface RouteLegOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLeg)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -48,13 +27,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -64,13 +40,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -84,34 +57,26 @@ public interface RouteLegOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -122,34 +87,26 @@ public interface RouteLegOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -160,8 +117,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
-   *
-   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -169,13 +124,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -183,13 +135,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -201,8 +150,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -210,13 +157,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -224,13 +168,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -242,8 +183,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -251,10 +190,9 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List getStepsList();
+  java.util.List 
+      getStepsList();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -264,8 +202,6 @@ public interface RouteLegOrBuilder
    */
   com.google.maps.routing.v2.RouteLegStep getSteps(int index);
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -275,8 +211,6 @@ public interface RouteLegOrBuilder
    */
   int getStepsCount();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -284,11 +218,9 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List
+  java.util.List 
       getStepsOrBuilderList();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -296,37 +228,30 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index);
+  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
similarity index 73%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
index 67b2489432a8..84201efc7c81 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
  * navigation instruction. Route legs are made up of steps.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
  */
-public final class RouteLegStep extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegStep extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStep)
     RouteLegStepOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegStep.newBuilder() to construct.
   private RouteLegStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RouteLegStep() {}
+  private RouteLegStep() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegStep();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStep.class,
-            com.google.maps.routing.v2.RouteLegStep.Builder.class);
+            com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 1;
   private int distanceMeters_;
   /**
-   *
-   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -88,8 +67,6 @@ public int getDistanceMeters() { public static final int STATIC_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration staticDuration_; /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -97,7 +74,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -105,8 +81,6 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -114,18 +88,13 @@ public boolean hasStaticDuration() {
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -142,14 +111,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 3;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -157,14 +123,11 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ @java.lang.Override @@ -172,8 +135,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The polyline associated with this step.
    * 
@@ -188,14 +149,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { public static final int START_LOCATION_FIELD_NUMBER = 4; private com.google.maps.routing.v2.Location startLocation_; /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -203,25 +161,18 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } /** - * - * *
    * The start location of this step.
    * 
@@ -236,14 +187,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() public static final int END_LOCATION_FIELD_NUMBER = 5; private com.google.maps.routing.v2.Location endLocation_; /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -251,25 +199,18 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } /** - * - * *
    * The end location of this step.
    * 
@@ -284,14 +225,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { public static final int NAVIGATION_INSTRUCTION_FIELD_NUMBER = 6; private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ @java.lang.Override @@ -299,25 +237,18 @@ public boolean hasNavigationInstruction() { return navigationInstruction_ != null; } /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ @java.lang.Override public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } /** - * - * *
    * Navigation instructions.
    * 
@@ -325,23 +256,19 @@ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ @java.lang.Override - public com.google.maps.routing.v2.NavigationInstructionOrBuilder - getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { return getNavigationInstruction(); } public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7; private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -349,26 +276,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -377,13 +297,11 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory()
    * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
-      getTravelAdvisoryOrBuilder() {
+  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
     return getTravelAdvisory();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -395,7 +313,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -427,26 +346,32 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, distanceMeters_);
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolyline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getEndLocation());
     }
     if (navigationInstruction_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNavigationInstruction());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getNavigationInstruction());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -456,37 +381,44 @@ 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.routing.v2.RouteLegStep)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLegStep other = (com.google.maps.routing.v2.RouteLegStep) obj;
 
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline().equals(other.getPolyline())) return false;
+      if (!getPolyline()
+          .equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation().equals(other.getStartLocation())) return false;
+      if (!getStartLocation()
+          .equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation().equals(other.getEndLocation())) return false;
+      if (!getEndLocation()
+          .equals(other.getEndLocation())) return false;
     }
     if (hasNavigationInstruction() != other.hasNavigationInstruction()) return false;
     if (hasNavigationInstruction()) {
-      if (!getNavigationInstruction().equals(other.getNavigationInstruction())) return false;
+      if (!getNavigationInstruction()
+          .equals(other.getNavigationInstruction())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -530,104 +462,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLegStep parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLegStep parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStep parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
    * navigation instruction. Route legs are made up of steps.
@@ -635,32 +560,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
    */
-  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.routing.v2.RouteLegStep)
       com.google.maps.routing.v2.RouteLegStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStep.class,
-              com.google.maps.routing.v2.RouteLegStep.Builder.class);
+              com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStep.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();
@@ -706,9 +632,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
@@ -727,8 +653,7 @@ public com.google.maps.routing.v2.RouteLegStep build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStep buildPartial() {
-      com.google.maps.routing.v2.RouteLegStep result =
-          new com.google.maps.routing.v2.RouteLegStep(this);
+      com.google.maps.routing.v2.RouteLegStep result = new com.google.maps.routing.v2.RouteLegStep(this);
       result.distanceMeters_ = distanceMeters_;
       if (staticDurationBuilder_ == null) {
         result.staticDuration_ = staticDuration_;
@@ -768,39 +693,38 @@ public com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStep) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStep)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -856,56 +780,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getNavigationInstructionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPolylineFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStartLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getEndLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getNavigationInstructionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -916,17 +843,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int distanceMeters_;
+    private int distanceMeters_ ;
     /**
-     *
-     *
      * 
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -934,38 +858,32 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -973,13 +891,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration staticDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - staticDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_; /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -987,15 +900,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1003,21 +913,16 @@ public boolean hasStaticDuration() {
      * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1040,8 +945,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1050,7 +953,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 2;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1061,8 +965,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1075,9 +977,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1089,8 +989,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1111,8 +1009,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1122,13 +1018,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1141,14 +1035,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1158,17 +1049,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1176,47 +1064,34 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1237,15 +1112,14 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; */ - public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) { + public Builder setPolyline( + com.google.maps.routing.v2.Polyline.Builder builderForValue) { if (polylineBuilder_ == null) { polyline_ = builderForValue.build(); onChanged(); @@ -1256,8 +1130,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1268,9 +1140,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { if (polylineBuilder_ == null) { if (polyline_ != null) { polyline_ = - com.google.maps.routing.v2.Polyline.newBuilder(polyline_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial(); } else { polyline_ = value; } @@ -1282,8 +1152,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1302,8 +1170,6 @@ public Builder clearPolyline() { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1311,13 +1177,11 @@ public Builder clearPolyline() { * .google.maps.routing.v2.Polyline polyline = 3; */ public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() { - + onChanged(); return getPolylineFieldBuilder().getBuilder(); } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1328,14 +1192,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { if (polylineBuilder_ != null) { return polylineBuilder_.getMessageOrBuilder(); } else { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? + com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1343,17 +1204,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { * .google.maps.routing.v2.Polyline polyline = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, - com.google.maps.routing.v2.Polyline.Builder, - com.google.maps.routing.v2.PolylineOrBuilder> + com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> getPolylineFieldBuilder() { if (polylineBuilder_ == null) { - polylineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, - com.google.maps.routing.v2.Polyline.Builder, - com.google.maps.routing.v2.PolylineOrBuilder>( - getPolyline(), getParentForChildren(), isClean()); + polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>( + getPolyline(), + getParentForChildren(), + isClean()); polyline_ = null; } return polylineBuilder_; @@ -1361,47 +1219,34 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { private com.google.maps.routing.v2.Location startLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> - startLocationBuilder_; + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_; /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** - * - * *
      * The start location of this step.
      * 
@@ -1422,15 +1267,14 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; */ - public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setStartLocation( + com.google.maps.routing.v2.Location.Builder builderForValue) { if (startLocationBuilder_ == null) { startLocation_ = builderForValue.build(); onChanged(); @@ -1441,8 +1285,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder buil return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1453,9 +1295,7 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { if (startLocationBuilder_ == null) { if (startLocation_ != null) { startLocation_ = - com.google.maps.routing.v2.Location.newBuilder(startLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial(); } else { startLocation_ = value; } @@ -1467,8 +1307,6 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1487,8 +1325,6 @@ public Builder clearStartLocation() { return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1496,13 +1332,11 @@ public Builder clearStartLocation() { * .google.maps.routing.v2.Location start_location = 4; */ public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() { - + onChanged(); return getStartLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The start location of this step.
      * 
@@ -1513,14 +1347,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() if (startLocationBuilder_ != null) { return startLocationBuilder_.getMessageOrBuilder(); } else { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? + com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } } /** - * - * *
      * The start location of this step.
      * 
@@ -1528,17 +1359,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() * .google.maps.routing.v2.Location start_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> getStartLocationFieldBuilder() { if (startLocationBuilder_ == null) { - startLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder>( - getStartLocation(), getParentForChildren(), isClean()); + startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( + getStartLocation(), + getParentForChildren(), + isClean()); startLocation_ = null; } return startLocationBuilder_; @@ -1546,47 +1374,34 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() private com.google.maps.routing.v2.Location endLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> - endLocationBuilder_; + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_; /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** - * - * *
      * The end location of this step.
      * 
@@ -1607,15 +1422,14 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; */ - public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setEndLocation( + com.google.maps.routing.v2.Location.Builder builderForValue) { if (endLocationBuilder_ == null) { endLocation_ = builderForValue.build(); onChanged(); @@ -1626,8 +1440,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builde return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1638,9 +1450,7 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { if (endLocationBuilder_ == null) { if (endLocation_ != null) { endLocation_ = - com.google.maps.routing.v2.Location.newBuilder(endLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial(); } else { endLocation_ = value; } @@ -1652,8 +1462,6 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1672,8 +1480,6 @@ public Builder clearEndLocation() { return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1681,13 +1487,11 @@ public Builder clearEndLocation() { * .google.maps.routing.v2.Location end_location = 5; */ public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() { - + onChanged(); return getEndLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The end location of this step.
      * 
@@ -1698,14 +1502,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { if (endLocationBuilder_ != null) { return endLocationBuilder_.getMessageOrBuilder(); } else { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? + com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } } /** - * - * *
      * The end location of this step.
      * 
@@ -1713,17 +1514,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { * .google.maps.routing.v2.Location end_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> getEndLocationFieldBuilder() { if (endLocationBuilder_ == null) { - endLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder>( - getEndLocation(), getParentForChildren(), isClean()); + endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( + getEndLocation(), + getParentForChildren(), + isClean()); endLocation_ = null; } return endLocationBuilder_; @@ -1731,55 +1529,41 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder> - navigationInstructionBuilder_; + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> navigationInstructionBuilder_; /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ public boolean hasNavigationInstruction() { return navigationInstructionBuilder_ != null || navigationInstruction_ != null; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { if (navigationInstructionBuilder_ == null) { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } else { return navigationInstructionBuilder_.getMessage(); } } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder setNavigationInstruction( - com.google.maps.routing.v2.NavigationInstruction value) { + public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1793,8 +1577,6 @@ public Builder setNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
@@ -1813,22 +1595,17 @@ public Builder setNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder mergeNavigationInstruction( - com.google.maps.routing.v2.NavigationInstruction value) { + public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (navigationInstruction_ != null) { navigationInstruction_ = - com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_).mergeFrom(value).buildPartial(); } else { navigationInstruction_ = value; } @@ -1840,8 +1617,6 @@ public Builder mergeNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
@@ -1860,42 +1635,33 @@ public Builder clearNavigationInstruction() { return this; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstruction.Builder - getNavigationInstructionBuilder() { - + public com.google.maps.routing.v2.NavigationInstruction.Builder getNavigationInstructionBuilder() { + onChanged(); return getNavigationInstructionFieldBuilder().getBuilder(); } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstructionOrBuilder - getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { if (navigationInstructionBuilder_ != null) { return navigationInstructionBuilder_.getMessageOrBuilder(); } else { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? + com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } } /** - * - * *
      * Navigation instructions.
      * 
@@ -1903,17 +1669,14 @@ public Builder clearNavigationInstruction() { * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder> + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> getNavigationInstructionFieldBuilder() { if (navigationInstructionBuilder_ == null) { - navigationInstructionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder>( - getNavigationInstruction(), getParentForChildren(), isClean()); + navigationInstructionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder>( + getNavigationInstruction(), + getParentForChildren(), + isClean()); navigationInstruction_ = null; } return navigationInstructionBuilder_; @@ -1921,49 +1684,36 @@ public Builder clearNavigationInstruction() { private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteLegStepTravelAdvisory, - com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> - travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1985,8 +1735,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAd
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2006,8 +1754,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2015,14 +1761,11 @@ public Builder setTravelAdvisory(
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public Builder mergeTravelAdvisory(
-        com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
+    public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2034,8 +1777,6 @@ public Builder mergeTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2055,8 +1796,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2064,15 +1803,12 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder
-        getTravelAdvisoryBuilder() {
-
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAdvisoryBuilder() {
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2080,19 +1816,15 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
-        getTravelAdvisoryOrBuilder() {
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2101,24 +1833,21 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
-
     @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);
     }
 
@@ -2128,12 +1857,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStep)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStep)
   private static final com.google.maps.routing.v2.RouteLegStep DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStep();
   }
@@ -2142,27 +1871,27 @@ public static com.google.maps.routing.v2.RouteLegStep getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteLegStep 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 RouteLegStep 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;
@@ -2177,4 +1906,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLegStep getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
similarity index 86%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
index fc9f94c0fb44..7bee4d9d94d8 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
@@ -1,45 +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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegStepOrBuilder
-    extends
+public interface RouteLegStepOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStep)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -47,13 +26,10 @@ public interface RouteLegStepOrBuilder
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -61,13 +37,10 @@ public interface RouteLegStepOrBuilder
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -79,32 +52,24 @@ public interface RouteLegStepOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The polyline associated with this step.
    * 
@@ -114,32 +79,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder(); /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** - * - * *
    * The start location of this step.
    * 
@@ -149,32 +106,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder(); /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** - * - * *
    * The end location of this step.
    * 
@@ -184,32 +133,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder(); /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ boolean hasNavigationInstruction(); /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction(); /** - * - * *
    * Navigation instructions.
    * 
@@ -219,34 +160,26 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
similarity index 76%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
index 2c5c6c86bd17..8a5b1c099dde 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction on a leg step.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
  */
-public final class RouteLegStepTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegStepTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStepTravelAdvisory)
     RouteLegStepTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegStepTravelAdvisory.newBuilder() to construct.
   private RouteLegStepTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteLegStepTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegStepTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
   }
 
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 1;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -87,13 +66,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -108,13 +84,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -133,8 +107,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -153,8 +125,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,7 +145,6 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,7 +156,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 {
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
       output.writeMessage(1, speedReadingIntervals_.get(i));
     }
@@ -201,9 +171,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, speedReadingIntervals_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,15 +182,15 @@ 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.routing.v2.RouteLegStepTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other =
-        (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other = (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
 
-    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList()
+        .equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -243,104 +212,96 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory prototype) {
+  public static Builder newBuilder(com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -348,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
    */
-  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.routing.v2.RouteLegStepTravelAdvisory)
       com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStepTravelAdvisory.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();
@@ -388,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -409,8 +371,7 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStepTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (speedReadingIntervalsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -429,39 +390,38 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()) return this;
       if (speedReadingIntervalsBuilder_ == null) {
         if (!other.speedReadingIntervals_.isEmpty()) {
           if (speedReadingIntervals_.isEmpty()) {
@@ -489,10 +448,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory o
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -524,27 +482,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            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) {
@@ -554,30 +510,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -589,11 +536,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -601,8 +546,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -614,8 +557,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -625,8 +567,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -638,8 +578,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -649,8 +588,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -662,8 +599,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -680,8 +616,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -693,8 +627,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -708,8 +641,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -721,8 +652,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -738,8 +668,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -751,8 +679,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -769,8 +696,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -782,8 +707,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -797,8 +721,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -810,8 +732,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -825,8 +746,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -838,14 +757,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -853,8 +772,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -866,8 +783,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -880,8 +796,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -893,8 +807,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -907,8 +820,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -920,16 +831,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -941,20 +849,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -966,11 +870,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -978,8 +881,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -991,17 +892,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1013,17 +910,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1035,25 +929,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1062,9 +949,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } - @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); } @@ -1074,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegStepTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(); } @@ -1088,27 +975,27 @@ public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegStepTravelAdvisory 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 RouteLegStepTravelAdvisory 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; @@ -1123,4 +1010,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java similarity index 83% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java index 5c758c9b60d7..87947a0469af 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegStepTravelAdvisoryOrBuilder - extends +public interface RouteLegStepTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStepTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -39,10 +21,9 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -58,8 +39,6 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -75,8 +54,6 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -90,11 +67,9 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
similarity index 78%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
index 41a67bddf090..612028d629ba 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc. on a route leg.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
  */
-public final class RouteLegTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegTravelAdvisory)
     RouteLegTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegTravelAdvisory.newBuilder() to construct.
   private RouteLegTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteLegTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
-   *
-   *
    * 
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -90,8 +68,6 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -101,7 +77,6 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ @java.lang.Override @@ -109,8 +84,6 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -129,8 +102,6 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 2;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,13 +116,10 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -166,13 +134,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -191,8 +157,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -211,8 +175,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -233,7 +195,6 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -245,7 +206,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 (tollInfo_ != null) {
       output.writeMessage(1, getTollInfo());
     }
@@ -262,12 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tollInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTollInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTollInfo());
     }
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, speedReadingIntervals_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -277,19 +239,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.routing.v2.RouteLegTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegTravelAdvisory other =
-        (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegTravelAdvisory other = (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
 
     if (hasTollInfo() != other.hasTollInfo()) return false;
     if (hasTollInfo()) {
-      if (!getTollInfo().equals(other.getTollInfo())) return false;
+      if (!getTollInfo()
+          .equals(other.getTollInfo())) return false;
     }
-    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList()
+        .equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -315,103 +278,96 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -419,32 +375,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
    */
-  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.routing.v2.RouteLegTravelAdvisory)
       com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegTravelAdvisory.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();
@@ -465,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -486,8 +443,7 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegTravelAdvisory result = new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -511,39 +467,38 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()) return this;
       if (other.hasTollInfo()) {
         mergeTollInfo(other.getTollInfo());
       }
@@ -574,10 +528,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -609,33 +562,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getTollInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 10
+            case 18: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              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) {
@@ -645,18 +597,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
-        tollInfoBuilder_;
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -666,15 +612,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** - * - * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -684,21 +627,16 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null - ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() - : tollInfo_; + return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -723,8 +661,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -735,7 +671,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
-    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(
+        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -746,8 +683,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -762,9 +697,7 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -776,8 +709,6 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -800,8 +731,6 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -813,13 +742,11 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-
+      
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -834,14 +761,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null
-            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
-            : tollInfo_;
+        return tollInfo_ == null ?
+            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -853,43 +777,32 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.TollInfo,
-                com.google.maps.routing.v2.TollInfo.Builder,
-                com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(), getParentForChildren(), isClean());
+        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(),
+                getParentForChildren(),
+                isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -901,11 +814,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -913,8 +824,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -926,8 +835,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -937,8 +845,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -950,8 +856,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -961,8 +866,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -974,8 +877,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -992,8 +894,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1005,8 +905,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1020,8 +919,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1033,8 +930,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -1050,8 +946,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1063,8 +957,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1081,8 +974,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1094,8 +985,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1109,8 +999,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1122,8 +1010,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1137,8 +1024,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1150,14 +1035,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1165,8 +1050,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1178,8 +1061,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1192,8 +1074,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1205,8 +1085,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1219,8 +1098,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1232,16 +1109,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1253,20 +1127,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1278,11 +1148,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1290,8 +1159,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1303,17 +1170,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1325,17 +1188,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1347,25 +1207,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1374,9 +1227,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } - @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); } @@ -1386,12 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegTravelAdvisory(); } @@ -1400,27 +1253,27 @@ public static com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegTravelAdvisory 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 RouteLegTravelAdvisory 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; @@ -1435,4 +1288,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java similarity index 87% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java index fbe256e0d85f..9f7adf5452a4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegTravelAdvisoryOrBuilder - extends +public interface RouteLegTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -35,13 +17,10 @@ public interface RouteLegTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -51,13 +30,10 @@ public interface RouteLegTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -71,8 +47,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -86,10 +60,9 @@ public interface RouteLegTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -105,8 +78,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -122,8 +93,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -137,11 +106,9 @@ public interface RouteLegTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
similarity index 61%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
index 80beeaa88bb0..c7e266e71be1 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
@@ -1,82 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A single destination for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ -public final class RouteMatrixDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteMatrixDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixDestination) RouteMatrixDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteMatrixDestination.newBuilder() to construct. private RouteMatrixDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RouteMatrixDestination() {} + private RouteMatrixDestination() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteMatrixDestination(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, - com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -115,7 +86,6 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -141,7 +112,8 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWaypoint()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +123,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.routing.v2.RouteMatrixDestination)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixDestination other = - (com.google.maps.routing.v2.RouteMatrixDestination) obj; + com.google.maps.routing.v2.RouteMatrixDestination other = (com.google.maps.routing.v2.RouteMatrixDestination) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint().equals(other.getWaypoint())) return false; + if (!getWaypoint() + .equals(other.getWaypoint())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -184,135 +156,129 @@ public int hashCode() { } public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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 single destination for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ - 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.routing.v2.RouteMatrixDestination) com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, - com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixDestination.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(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override @@ -347,8 +313,7 @@ public com.google.maps.routing.v2.RouteMatrixDestination build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination buildPartial() { - com.google.maps.routing.v2.RouteMatrixDestination result = - new com.google.maps.routing.v2.RouteMatrixDestination(this); + com.google.maps.routing.v2.RouteMatrixDestination result = new com.google.maps.routing.v2.RouteMatrixDestination(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -362,39 +327,38 @@ public com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination) other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination)other); } else { super.mergeFrom(other); return this; @@ -402,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.RouteMatrixDestination other) { - if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) return this; if (other.hasWaypoint()) { mergeWaypoint(other.getWaypoint()); } @@ -433,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWaypointFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + 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) { @@ -458,58 +421,39 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - waypointBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -525,17 +469,14 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -546,23 +487,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderFo return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); } else { waypoint_ = value; } @@ -574,15 +509,11 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -596,71 +527,55 @@ public Builder clearWaypoint() { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), getParentForChildren(), isClean()); + waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), + getParentForChildren(), + isClean()); waypoint_ = null; } return waypointBuilder_; } - @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); } @@ -670,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixDestination) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixDestination) private static final com.google.maps.routing.v2.RouteMatrixDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixDestination(); } @@ -684,27 +599,27 @@ public static com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixDestination 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 RouteMatrixDestination 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; @@ -719,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java similarity index 52% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java index 7f309d19082c..7be9a7b37ed3 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java @@ -1,63 +1,36 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixDestinationOrBuilder - extends +public interface RouteMatrixDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java index f1172620cf38..169ef698c0ec 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates route information computed for an origin/destination pair in the
  * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
  */
-public final class RouteMatrixElement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteMatrixElement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixElement)
     RouteMatrixElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteMatrixElement.newBuilder() to construct.
   private RouteMatrixElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteMatrixElement() {
     condition_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteMatrixElement();
   }
 
   @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.routing.v2.RoutesServiceProto
-        .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RoutesServiceProto
-        .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteMatrixElement.class,
-            com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+            com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGIN_INDEX_FIELD_NUMBER = 1;
   private int originIndex_;
   /**
-   *
-   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -87,14 +65,11 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ @java.lang.Override @@ -105,14 +80,11 @@ public int getOriginIndex() { public static final int DESTINATION_INDEX_FIELD_NUMBER = 2; private int destinationIndex_; /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -120,14 +92,11 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ @java.lang.Override @@ -138,14 +107,11 @@ public int getDestinationIndex() { public static final int STATUS_FIELD_NUMBER = 3; private com.google.rpc.Status status_; /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ @java.lang.Override @@ -153,14 +119,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return The status. */ @java.lang.Override @@ -168,8 +131,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Error status code for this element.
    * 
@@ -184,52 +145,38 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int CONDITION_FIELD_NUMBER = 9; private int condition_; /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override - public int getConditionValue() { + @java.lang.Override public int getConditionValue() { return condition_; } /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { + @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = - com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null - ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED - : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; } public static final int DISTANCE_METERS_FIELD_NUMBER = 4; private int distanceMeters_; /** - * - * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ @java.lang.Override @@ -240,8 +187,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -251,7 +196,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -259,8 +203,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -270,7 +212,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ @java.lang.Override @@ -278,8 +219,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -298,15 +237,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -314,26 +250,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -349,15 +278,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7;
   private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
   /**
-   *
-   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -365,26 +291,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -400,8 +319,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
   public static final int FALLBACK_INFO_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -411,7 +328,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -419,8 +335,6 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -430,18 +344,13 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -458,7 +367,6 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -470,7 +378,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.writeInt32(1, originIndex_);
     }
@@ -495,10 +404,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (fallbackInfo_ != null) {
       output.writeMessage(8, getFallbackInfo());
     }
-    if (condition_
-        != com.google.maps.routing.v2.RouteMatrixElementCondition
-            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
-            .getNumber()) {
+    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
       output.writeEnum(9, condition_);
     }
     getUnknownFields().writeTo(output);
@@ -511,34 +417,40 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, originIndex_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, originIndex_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, destinationIndex_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, destinationIndex_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStatus());
     }
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getStaticDuration());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getTravelAdvisory());
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getFallbackInfo());
     }
-    if (condition_
-        != com.google.maps.routing.v2.RouteMatrixElementCondition
-            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, condition_);
+    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(9, condition_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -548,43 +460,50 @@ 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.routing.v2.RouteMatrixElement)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteMatrixElement other =
-        (com.google.maps.routing.v2.RouteMatrixElement) obj;
+    com.google.maps.routing.v2.RouteMatrixElement other = (com.google.maps.routing.v2.RouteMatrixElement) obj;
 
     if (hasOriginIndex() != other.hasOriginIndex()) return false;
     if (hasOriginIndex()) {
-      if (getOriginIndex() != other.getOriginIndex()) return false;
+      if (getOriginIndex()
+          != other.getOriginIndex()) return false;
     }
     if (hasDestinationIndex() != other.hasDestinationIndex()) return false;
     if (hasDestinationIndex()) {
-      if (getDestinationIndex() != other.getDestinationIndex()) return false;
+      if (getDestinationIndex()
+          != other.getDestinationIndex()) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (condition_ != other.condition_) return false;
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration().equals(other.getDuration())) return false;
+      if (!getDuration()
+          .equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo()
+          .equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -634,104 +553,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteMatrixElement parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates route information computed for an origin/destination pair in the
    * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -739,32 +651,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
    */
-  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.routing.v2.RouteMatrixElement)
       com.google.maps.routing.v2.RouteMatrixElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteMatrixElement.class,
-              com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+              com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteMatrixElement.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();
@@ -810,9 +723,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
@@ -831,8 +744,7 @@ public com.google.maps.routing.v2.RouteMatrixElement build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteMatrixElement buildPartial() {
-      com.google.maps.routing.v2.RouteMatrixElement result =
-          new com.google.maps.routing.v2.RouteMatrixElement(this);
+      com.google.maps.routing.v2.RouteMatrixElement result = new com.google.maps.routing.v2.RouteMatrixElement(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -879,39 +791,38 @@ public com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement) {
-        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -973,67 +884,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                originIndex_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                destinationIndex_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 32:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 72:
-              {
-                condition_ = input.readEnum();
-
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              originIndex_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              destinationIndex_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 32: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getFallbackInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 72: {
+              condition_ = input.readEnum();
+
+              break;
+            } // case 72
+            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) {
@@ -1043,19 +954,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int originIndex_;
+    private int originIndex_ ;
     /**
-     *
-     *
      * 
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -1063,14 +970,11 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ @java.lang.Override @@ -1078,14 +982,11 @@ public int getOriginIndex() { return originIndex_; } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @param value The originIndex to set. * @return This builder for chaining. */ @@ -1096,14 +997,11 @@ public Builder setOriginIndex(int value) { return this; } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return This builder for chaining. */ public Builder clearOriginIndex() { @@ -1113,16 +1011,13 @@ public Builder clearOriginIndex() { return this; } - private int destinationIndex_; + private int destinationIndex_ ; /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -1130,14 +1025,11 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ @java.lang.Override @@ -1145,14 +1037,11 @@ public int getDestinationIndex() { return destinationIndex_; } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @param value The destinationIndex to set. * @return This builder for chaining. */ @@ -1163,14 +1052,11 @@ public Builder setDestinationIndex(int value) { return this; } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return This builder for chaining. */ public Builder clearDestinationIndex() { @@ -1182,31 +1068,24 @@ public Builder clearDestinationIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1217,8 +1096,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Error status code for this element.
      * 
@@ -1239,15 +1116,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -1258,8 +1134,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1269,7 +1143,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -1281,8 +1156,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1301,8 +1174,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1310,13 +1181,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 3; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Error status code for this element.
      * 
@@ -1327,12 +1196,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Error status code for this element.
      * 
@@ -1340,14 +1208,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -1355,67 +1223,51 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private int condition_ = 0; /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override - public int getConditionValue() { + @java.lang.Override public int getConditionValue() { return condition_; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @param value The enum numeric value on the wire for condition to set. * @return This builder for chaining. */ public Builder setConditionValue(int value) { - + condition_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = - com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null - ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED - : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @param value The condition to set. * @return This builder for chaining. */ @@ -1423,39 +1275,33 @@ public Builder setCondition(com.google.maps.routing.v2.RouteMatrixElementConditi if (value == null) { throw new NullPointerException(); } - + condition_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return This builder for chaining. */ public Builder clearCondition() { - + condition_ = 0; onChanged(); return this; } - private int distanceMeters_; + private int distanceMeters_ ; /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ @java.lang.Override @@ -1463,36 +1309,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1500,13 +1340,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1516,15 +1351,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1534,7 +1366,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1545,8 +1376,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1571,8 +1400,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1583,7 +1410,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 5;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1594,8 +1422,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1610,7 +1436,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1622,8 +1448,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1646,8 +1470,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1659,13 +1481,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 5;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1680,12 +1500,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1697,17 +1516,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1715,49 +1531,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1779,8 +1582,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1788,7 +1589,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 6;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1799,8 +1601,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1812,9 +1612,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1826,8 +1624,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1847,8 +1643,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1857,13 +1651,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 6;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1875,14 +1667,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1891,17 +1680,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1909,49 +1695,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
-        travelAdvisoryBuilder_;
+        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1973,8 +1746,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1994,8 +1765,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2007,9 +1776,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2021,8 +1788,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2042,8 +1807,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2052,13 +1815,11 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2070,14 +1831,11 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2086,17 +1844,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteTravelAdvisory,
-                com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
@@ -2104,13 +1859,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
-        fallbackInfoBuilder_;
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2120,15 +1870,12 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** - * - * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2138,21 +1885,16 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** - * - * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2177,8 +1919,6 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2201,8 +1941,6 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2217,9 +1955,7 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -2231,8 +1967,6 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2255,8 +1989,6 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2268,13 +2000,11 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-
+      
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2289,14 +2019,11 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null
-            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
-            : fallbackInfo_;
+        return fallbackInfo_ == null ?
+            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2308,24 +2035,21 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.FallbackInfo,
-                com.google.maps.routing.v2.FallbackInfo.Builder,
-                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(), getParentForChildren(), isClean());
+        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(),
+                getParentForChildren(),
+                isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
-
     @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);
     }
 
@@ -2335,12 +2059,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixElement)
   private static final com.google.maps.routing.v2.RouteMatrixElement DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixElement();
   }
@@ -2349,27 +2073,27 @@ public static com.google.maps.routing.v2.RouteMatrixElement getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteMatrixElement 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 RouteMatrixElement 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;
@@ -2384,4 +2108,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteMatrixElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
similarity index 71%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
index 462531141ef5..1b9d70c4950a 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * The condition of the route being returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.RouteMatrixElementCondition} */ -public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolMessageEnum { +public enum RouteMatrixElementCondition + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Only used when the `status` of the element is not OK.
    * 
@@ -39,8 +21,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM */ ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED(0), /** - * - * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -50,8 +30,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   ROUTE_EXISTS(1),
   /**
-   *
-   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -64,8 +42,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
   ;
 
   /**
-   *
-   *
    * 
    * Only used when the `status` of the element is not OK.
    * 
@@ -74,8 +50,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM */ public static final int ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -85,8 +59,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   public static final int ROUTE_EXISTS_VALUE = 1;
   /**
-   *
-   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -96,6 +68,7 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   public static final int ROUTE_NOT_FOUND_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,14 +93,10 @@ public static RouteMatrixElementCondition valueOf(int value) {
    */
   public static RouteMatrixElementCondition forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
-      case 1:
-        return ROUTE_EXISTS;
-      case 2:
-        return ROUTE_NOT_FOUND;
-      default:
-        return null;
+      case 0: return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
+      case 1: return ROUTE_EXISTS;
+      case 2: return ROUTE_NOT_FOUND;
+      default: return null;
     }
   }
 
@@ -135,28 +104,28 @@ public static RouteMatrixElementCondition forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RouteMatrixElementCondition findValueByNumber(int number) {
-              return RouteMatrixElementCondition.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteMatrixElementCondition> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteMatrixElementCondition findValueByNumber(int number) {
+            return RouteMatrixElementCondition.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.routing.v2.RoutesServiceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -165,7 +134,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static RouteMatrixElementCondition 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;
@@ -181,3 +151,4 @@ private RouteMatrixElementCondition(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteMatrixElementCondition)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
similarity index 88%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
index 8158e7da0b77..4a7b3218258f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
@@ -1,105 +1,69 @@
-/*
- * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteMatrixElementOrBuilder
-    extends
+public interface RouteMatrixElementOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ boolean hasOriginIndex(); /** - * - * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ int getOriginIndex(); /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ boolean hasDestinationIndex(); /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ int getDestinationIndex(); /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Error status code for this element.
    * 
@@ -109,46 +73,35 @@ public interface RouteMatrixElementOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ int getConditionValue(); /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ com.google.maps.routing.v2.RouteMatrixElementCondition getCondition(); /** - * - * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -158,13 +111,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -174,13 +124,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -194,34 +141,26 @@ public interface RouteMatrixElementOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -232,34 +171,26 @@ public interface RouteMatrixElementOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -270,8 +201,6 @@ public interface RouteMatrixElementOrBuilder
   com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder();
 
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -281,13 +210,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -297,13 +223,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
similarity index 61%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
index f4b5e7947f0f..4ed589c31383 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
@@ -1,82 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A single origin for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ -public final class RouteMatrixOrigin extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteMatrixOrigin extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixOrigin) RouteMatrixOriginOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteMatrixOrigin.newBuilder() to construct. private RouteMatrixOrigin(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RouteMatrixOrigin() {} + private RouteMatrixOrigin() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteMatrixOrigin(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -117,16 +88,11 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 2; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -134,34 +100,23 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -169,7 +124,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +135,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -198,10 +153,12 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWaypoint()); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRouteModifiers()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +168,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.routing.v2.RouteMatrixOrigin)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixOrigin other = - (com.google.maps.routing.v2.RouteMatrixOrigin) obj; + com.google.maps.routing.v2.RouteMatrixOrigin other = (com.google.maps.routing.v2.RouteMatrixOrigin) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint().equals(other.getWaypoint())) return false; + if (!getWaypoint() + .equals(other.getWaypoint())) return false; } if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers() + .equals(other.getRouteModifiers())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixOrigin parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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 single origin for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ - 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.routing.v2.RouteMatrixOrigin) com.google.maps.routing.v2.RouteMatrixOriginOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixOrigin.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(); @@ -400,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override @@ -421,8 +373,7 @@ public com.google.maps.routing.v2.RouteMatrixOrigin build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin buildPartial() { - com.google.maps.routing.v2.RouteMatrixOrigin result = - new com.google.maps.routing.v2.RouteMatrixOrigin(this); + com.google.maps.routing.v2.RouteMatrixOrigin result = new com.google.maps.routing.v2.RouteMatrixOrigin(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -441,39 +392,38 @@ public com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin) other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin)other); } else { super.mergeFrom(other); return this; @@ -514,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWaypointFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getRouteModifiersFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -545,58 +496,39 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - waypointBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -612,17 +544,14 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -633,23 +562,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderFo return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); } else { waypoint_ = value; } @@ -661,15 +584,11 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -683,64 +602,48 @@ public Builder clearWaypoint() { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), getParentForChildren(), isClean()); + waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), + getParentForChildren(), + isClean()); waypoint_ = null; } return waypointBuilder_; @@ -748,58 +651,39 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> - routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -815,15 +699,11 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -837,23 +717,17 @@ public Builder setRouteModifiers( return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); } else { routeModifiers_ = value; } @@ -865,15 +739,11 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -887,71 +757,55 @@ public Builder clearRouteModifiers() { return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? + com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), getParentForChildren(), isClean()); + routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), + getParentForChildren(), + isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; } - @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); } @@ -961,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixOrigin) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixOrigin) private static final com.google.maps.routing.v2.RouteMatrixOrigin DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixOrigin(); } @@ -975,27 +829,27 @@ public static com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixOrigin 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 RouteMatrixOrigin 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; @@ -1010,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java similarity index 54% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java index 655dfd269c03..5ed1c2ed8c5d 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java @@ -1,104 +1,63 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixOriginOrBuilder - extends +public interface RouteMatrixOriginOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixOrigin) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java index c78ff5bae4d1..67bbba213a5e 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates a set of optional conditions to satisfy when calculating the
  * routes.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
  */
-public final class RouteModifiers extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteModifiers extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteModifiers)
     RouteModifiersOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteModifiers.newBuilder() to construct.
   private RouteModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteModifiers() {
     tollPasses_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteModifiers();
   }
 
   @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.routing.v2.RouteModifiersProto
-        .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteModifiersProto
-        .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteModifiers.class,
-            com.google.maps.routing.v2.RouteModifiers.Builder.class);
+            com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
   }
 
   public static final int AVOID_TOLLS_FIELD_NUMBER = 1;
   private boolean avoidTolls_;
   /**
-   *
-   *
    * 
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ @java.lang.Override @@ -91,8 +69,6 @@ public boolean getAvoidTolls() { public static final int AVOID_HIGHWAYS_FIELD_NUMBER = 2; private boolean avoidHighways_; /** - * - * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -100,7 +76,6 @@ public boolean getAvoidTolls() {
    * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ @java.lang.Override @@ -111,8 +86,6 @@ public boolean getAvoidHighways() { public static final int AVOID_FERRIES_FIELD_NUMBER = 3; private boolean avoidFerries_; /** - * - * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -120,7 +93,6 @@ public boolean getAvoidHighways() {
    * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ @java.lang.Override @@ -131,8 +103,6 @@ public boolean getAvoidFerries() { public static final int AVOID_INDOOR_FIELD_NUMBER = 4; private boolean avoidIndoor_; /** - * - * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -140,7 +110,6 @@ public boolean getAvoidFerries() {
    * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ @java.lang.Override @@ -151,14 +120,11 @@ public boolean getAvoidIndoor() { public static final int VEHICLE_INFO_FIELD_NUMBER = 5; private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ @java.lang.Override @@ -166,25 +132,18 @@ public boolean hasVehicleInfo() { return vehicleInfo_ != null; } /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ @java.lang.Override public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } /** - * - * *
    * Specifies the vehicle information.
    * 
@@ -199,20 +158,16 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() public static final int TOLL_PASSES_FIELD_NUMBER = 6; private java.util.List tollPasses_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.TollPass> - tollPasses_converter_ = + java.lang.Integer, com.google.maps.routing.v2.TollPass> tollPasses_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.TollPass>() { public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.TollPass result = - com.google.maps.routing.v2.TollPass.valueOf(from); + com.google.maps.routing.v2.TollPass result = com.google.maps.routing.v2.TollPass.valueOf(from); return result == null ? com.google.maps.routing.v2.TollPass.UNRECOGNIZED : result; } }; /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -222,7 +177,6 @@ public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ @java.lang.Override @@ -231,8 +185,6 @@ public java.util.List getTollPassesList() { java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -242,7 +194,6 @@ public java.util.List getTollPassesList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ @java.lang.Override @@ -250,8 +201,6 @@ public int getTollPassesCount() { return tollPasses_.size(); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -261,7 +210,6 @@ public int getTollPassesCount() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -270,8 +218,6 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -281,16 +227,14 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ @java.lang.Override - public java.util.List getTollPassesValueList() { + public java.util.List + getTollPassesValueList() { return tollPasses_; } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -300,7 +244,6 @@ public java.util.List getTollPassesValueList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -308,11 +251,9 @@ public java.util.List getTollPassesValueList() { public int getTollPassesValue(int index) { return tollPasses_.get(index); } - private int tollPassesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +265,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 { getSerializedSize(); if (avoidTolls_ != false) { output.writeBool(1, avoidTolls_); @@ -358,31 +300,36 @@ public int getSerializedSize() { size = 0; if (avoidTolls_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, avoidTolls_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, avoidTolls_); } if (avoidHighways_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, avoidHighways_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, avoidHighways_); } if (avoidFerries_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, avoidFerries_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, avoidFerries_); } if (avoidIndoor_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, avoidIndoor_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, avoidIndoor_); } if (vehicleInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getVehicleInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getVehicleInfo()); } { int dataSize = 0; for (int i = 0; i < tollPasses_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(tollPasses_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(tollPasses_.get(i)); } size += dataSize; - if (!getTollPassesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - tollPassesMemoizedSerializedSize = dataSize; + if (!getTollPassesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }tollPassesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -392,21 +339,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.routing.v2.RouteModifiers)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteModifiers other = - (com.google.maps.routing.v2.RouteModifiers) obj; + com.google.maps.routing.v2.RouteModifiers other = (com.google.maps.routing.v2.RouteModifiers) obj; - if (getAvoidTolls() != other.getAvoidTolls()) return false; - if (getAvoidHighways() != other.getAvoidHighways()) return false; - if (getAvoidFerries() != other.getAvoidFerries()) return false; - if (getAvoidIndoor() != other.getAvoidIndoor()) return false; + if (getAvoidTolls() + != other.getAvoidTolls()) return false; + if (getAvoidHighways() + != other.getAvoidHighways()) return false; + if (getAvoidFerries() + != other.getAvoidFerries()) return false; + if (getAvoidIndoor() + != other.getAvoidIndoor()) return false; if (hasVehicleInfo() != other.hasVehicleInfo()) return false; if (hasVehicleInfo()) { - if (!getVehicleInfo().equals(other.getVehicleInfo())) return false; + if (!getVehicleInfo() + .equals(other.getVehicleInfo())) return false; } if (!tollPasses_.equals(other.tollPasses_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -421,13 +372,17 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVOID_TOLLS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidTolls()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidTolls()); hash = (37 * hash) + AVOID_HIGHWAYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidHighways()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidHighways()); hash = (37 * hash) + AVOID_FERRIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidFerries()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidFerries()); hash = (37 * hash) + AVOID_INDOOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidIndoor()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidIndoor()); if (hasVehicleInfo()) { hash = (37 * hash) + VEHICLE_INFO_FIELD_NUMBER; hash = (53 * hash) + getVehicleInfo().hashCode(); @@ -441,104 +396,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteModifiers parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteModifiers parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteModifiers parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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; } /** - * - * *
    * Encapsulates a set of optional conditions to satisfy when calculating the
    * routes.
@@ -546,32 +494,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
    */
-  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.routing.v2.RouteModifiers)
       com.google.maps.routing.v2.RouteModifiersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteModifiers.class,
-              com.google.maps.routing.v2.RouteModifiers.Builder.class);
+              com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteModifiers.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();
@@ -595,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
@@ -616,8 +565,7 @@ public com.google.maps.routing.v2.RouteModifiers build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteModifiers buildPartial() {
-      com.google.maps.routing.v2.RouteModifiers result =
-          new com.google.maps.routing.v2.RouteModifiers(this);
+      com.google.maps.routing.v2.RouteModifiers result = new com.google.maps.routing.v2.RouteModifiers(this);
       int from_bitField0_ = bitField0_;
       result.avoidTolls_ = avoidTolls_;
       result.avoidHighways_ = avoidHighways_;
@@ -641,39 +589,38 @@ public com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers) {
-        return mergeFrom((com.google.maps.routing.v2.RouteModifiers) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteModifiers)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -733,62 +680,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                avoidTolls_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                avoidHighways_ = input.readBool();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                avoidFerries_ = input.readBool();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                avoidIndoor_ = input.readBool();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getVehicleInfoFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 48:
-              {
+            case 8: {
+              avoidTolls_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              avoidHighways_ = input.readBool();
+
+              break;
+            } // case 16
+            case 24: {
+              avoidFerries_ = input.readBool();
+
+              break;
+            } // case 24
+            case 32: {
+              avoidIndoor_ = input.readBool();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getVehicleInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 48: {
+              int tmpRaw = input.readEnum();
+              ensureTollPassesIsMutable();
+              tollPasses_.add(tmpRaw);
+              break;
+            } // case 48
+            case 50: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureTollPassesIsMutable();
                 tollPasses_.add(tmpRaw);
-                break;
-              } // case 48
-            case 50:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureTollPassesIsMutable();
-                  tollPasses_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 50
+            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) {
@@ -798,13 +739,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean avoidTolls_;
+    private boolean avoidTolls_ ;
     /**
-     *
-     *
      * 
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -812,7 +750,6 @@ public Builder mergeFrom(
      * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ @java.lang.Override @@ -820,8 +757,6 @@ public boolean getAvoidTolls() { return avoidTolls_; } /** - * - * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -829,19 +764,16 @@ public boolean getAvoidTolls() {
      * 
* * bool avoid_tolls = 1; - * * @param value The avoidTolls to set. * @return This builder for chaining. */ public Builder setAvoidTolls(boolean value) { - + avoidTolls_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -849,20 +781,17 @@ public Builder setAvoidTolls(boolean value) {
      * 
* * bool avoid_tolls = 1; - * * @return This builder for chaining. */ public Builder clearAvoidTolls() { - + avoidTolls_ = false; onChanged(); return this; } - private boolean avoidHighways_; + private boolean avoidHighways_ ; /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -870,7 +799,6 @@ public Builder clearAvoidTolls() {
      * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ @java.lang.Override @@ -878,8 +806,6 @@ public boolean getAvoidHighways() { return avoidHighways_; } /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -887,19 +813,16 @@ public boolean getAvoidHighways() {
      * 
* * bool avoid_highways = 2; - * * @param value The avoidHighways to set. * @return This builder for chaining. */ public Builder setAvoidHighways(boolean value) { - + avoidHighways_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -907,20 +830,17 @@ public Builder setAvoidHighways(boolean value) {
      * 
* * bool avoid_highways = 2; - * * @return This builder for chaining. */ public Builder clearAvoidHighways() { - + avoidHighways_ = false; onChanged(); return this; } - private boolean avoidFerries_; + private boolean avoidFerries_ ; /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -928,7 +848,6 @@ public Builder clearAvoidHighways() {
      * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ @java.lang.Override @@ -936,8 +855,6 @@ public boolean getAvoidFerries() { return avoidFerries_; } /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -945,19 +862,16 @@ public boolean getAvoidFerries() {
      * 
* * bool avoid_ferries = 3; - * * @param value The avoidFerries to set. * @return This builder for chaining. */ public Builder setAvoidFerries(boolean value) { - + avoidFerries_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -965,20 +879,17 @@ public Builder setAvoidFerries(boolean value) {
      * 
* * bool avoid_ferries = 3; - * * @return This builder for chaining. */ public Builder clearAvoidFerries() { - + avoidFerries_ = false; onChanged(); return this; } - private boolean avoidIndoor_; + private boolean avoidIndoor_ ; /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -986,7 +897,6 @@ public Builder clearAvoidFerries() {
      * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ @java.lang.Override @@ -994,8 +904,6 @@ public boolean getAvoidIndoor() { return avoidIndoor_; } /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -1003,19 +911,16 @@ public boolean getAvoidIndoor() {
      * 
* * bool avoid_indoor = 4; - * * @param value The avoidIndoor to set. * @return This builder for chaining. */ public Builder setAvoidIndoor(boolean value) { - + avoidIndoor_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -1023,11 +928,10 @@ public Builder setAvoidIndoor(boolean value) {
      * 
* * bool avoid_indoor = 4; - * * @return This builder for chaining. */ public Builder clearAvoidIndoor() { - + avoidIndoor_ = false; onChanged(); return this; @@ -1035,47 +939,34 @@ public Builder clearAvoidIndoor() { private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder> - vehicleInfoBuilder_; + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> vehicleInfoBuilder_; /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ public boolean hasVehicleInfo() { return vehicleInfoBuilder_ != null || vehicleInfo_ != null; } /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { if (vehicleInfoBuilder_ == null) { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } else { return vehicleInfoBuilder_.getMessage(); } } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1096,15 +987,14 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ - public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { + public Builder setVehicleInfo( + com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { if (vehicleInfoBuilder_ == null) { vehicleInfo_ = builderForValue.build(); onChanged(); @@ -1115,8 +1005,6 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder bui return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1127,9 +1015,7 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { if (vehicleInfoBuilder_ == null) { if (vehicleInfo_ != null) { vehicleInfo_ = - com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_).mergeFrom(value).buildPartial(); } else { vehicleInfo_ = value; } @@ -1141,8 +1027,6 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1161,8 +1045,6 @@ public Builder clearVehicleInfo() { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1170,13 +1052,11 @@ public Builder clearVehicleInfo() { * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ public com.google.maps.routing.v2.VehicleInfo.Builder getVehicleInfoBuilder() { - + onChanged(); return getVehicleInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1187,14 +1067,11 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() if (vehicleInfoBuilder_ != null) { return vehicleInfoBuilder_.getMessageOrBuilder(); } else { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? + com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1202,24 +1079,21 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder> + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> getVehicleInfoFieldBuilder() { if (vehicleInfoBuilder_ == null) { - vehicleInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder>( - getVehicleInfo(), getParentForChildren(), isClean()); + vehicleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder>( + getVehicleInfo(), + getParentForChildren(), + isClean()); vehicleInfo_ = null; } return vehicleInfoBuilder_; } - private java.util.List tollPasses_ = java.util.Collections.emptyList(); - + private java.util.List tollPasses_ = + java.util.Collections.emptyList(); private void ensureTollPassesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tollPasses_ = new java.util.ArrayList(tollPasses_); @@ -1227,8 +1101,6 @@ private void ensureTollPassesIsMutable() { } } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1238,17 +1110,13 @@ private void ensureTollPassesIsMutable() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ public java.util.List getTollPassesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.TollPass>( - tollPasses_, tollPasses_converter_); + java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1258,15 +1126,12 @@ public java.util.List getTollPassesList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ public int getTollPassesCount() { return tollPasses_.size(); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1276,7 +1141,6 @@ public int getTollPassesCount() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -1284,8 +1148,6 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1295,12 +1157,12 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index to set the value at. * @param value The tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass value) { + public Builder setTollPasses( + int index, com.google.maps.routing.v2.TollPass value) { if (value == null) { throw new NullPointerException(); } @@ -1310,8 +1172,6 @@ public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass valu return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1321,7 +1181,6 @@ public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass valu
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param value The tollPasses to add. * @return This builder for chaining. */ @@ -1335,8 +1194,6 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1346,7 +1203,6 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param values The tollPasses to add. * @return This builder for chaining. */ @@ -1360,8 +1216,6 @@ public Builder addAllTollPasses( return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1371,7 +1225,6 @@ public Builder addAllTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return This builder for chaining. */ public Builder clearTollPasses() { @@ -1381,8 +1234,6 @@ public Builder clearTollPasses() { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1392,15 +1243,13 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ - public java.util.List getTollPassesValueList() { + public java.util.List + getTollPassesValueList() { return java.util.Collections.unmodifiableList(tollPasses_); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1410,7 +1259,6 @@ public java.util.List getTollPassesValueList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -1418,8 +1266,6 @@ public int getTollPassesValue(int index) { return tollPasses_.get(index); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1429,20 +1275,18 @@ public int getTollPassesValue(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPassesValue(int index, int value) { + public Builder setTollPassesValue( + int index, int value) { ensureTollPassesIsMutable(); tollPasses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1452,7 +1296,6 @@ public Builder setTollPassesValue(int index, int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param value The enum numeric value on the wire for tollPasses to add. * @return This builder for chaining. */ @@ -1463,8 +1306,6 @@ public Builder addTollPassesValue(int value) { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1474,11 +1315,11 @@ public Builder addTollPassesValue(int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param values The enum numeric values on the wire for tollPasses to add. * @return This builder for chaining. */ - public Builder addAllTollPassesValue(java.lang.Iterable values) { + public Builder addAllTollPassesValue( + java.lang.Iterable values) { ensureTollPassesIsMutable(); for (int value : values) { tollPasses_.add(value); @@ -1486,9 +1327,9 @@ public Builder addAllTollPassesValue(java.lang.Iterable 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); } @@ -1498,12 +1339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteModifiers) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteModifiers) private static final com.google.maps.routing.v2.RouteModifiers DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteModifiers(); } @@ -1512,27 +1353,27 @@ public static com.google.maps.routing.v2.RouteModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteModifiers 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 RouteModifiers 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; @@ -1547,4 +1388,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteModifiers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java similarity index 85% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java index 6e207822df2d..b41f50657f71 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; -public interface RouteModifiersOrBuilder - extends +public interface RouteModifiersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteModifiers) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -33,14 +15,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ boolean getAvoidTolls(); /** - * - * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -48,14 +27,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ boolean getAvoidHighways(); /** - * - * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -63,14 +39,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ boolean getAvoidFerries(); /** - * - * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -78,38 +51,29 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ boolean getAvoidIndoor(); /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ boolean hasVehicleInfo(); /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ com.google.maps.routing.v2.VehicleInfo getVehicleInfo(); /** - * - * *
    * Specifies the vehicle information.
    * 
@@ -119,8 +83,6 @@ public interface RouteModifiersOrBuilder com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -130,13 +92,10 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ java.util.List getTollPassesList(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -146,13 +105,10 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ int getTollPassesCount(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -162,14 +118,11 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ com.google.maps.routing.v2.TollPass getTollPasses(int index); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -179,13 +132,11 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ - java.util.List getTollPassesValueList(); + java.util.List + getTollPassesValueList(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -195,7 +146,6 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java new file mode 100644 index 000000000000..1e8f543ab52e --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java @@ -0,0 +1,64 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/route_modifiers.proto + +package com.google.maps.routing.v2; + +public final class RouteModifiersProto { + private RouteModifiersProto() {} + 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_routing_v2_RouteModifiers_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + + ".proto\022\026google.maps.routing.v2\032(google/m" + + "aps/routing/v2/toll_passes.proto\032)google" + + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + + "outing.v2B\023RouteModifiersProtoP\001Z=google" + + ".golang.org/genproto/googleapis/maps/rou" + + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + + "oogle::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.TollPassesProto.getDescriptor(), + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_RouteModifiers_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteModifiers_descriptor, + new java.lang.String[] { "AvoidTolls", "AvoidHighways", "AvoidFerries", "AvoidIndoor", "VehicleInfo", "TollPasses", }); + com.google.maps.routing.v2.TollPassesProto.getDescriptor(); + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java similarity index 89% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java index f3acda6beda8..e54ab95d1975 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java @@ -1,99 +1,67 @@ -/* - * 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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteOrBuilder - extends +public interface RouteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Route) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ java.util.List getRouteLabelsList(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ int getRouteLabelsCount(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ com.google.maps.routing.v2.RouteLabel getRouteLabels(int index); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ - java.util.List getRouteLabelsValueList(); + java.util.List + getRouteLabelsValueList(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ int getRouteLabelsValue(int index); /** - * - * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -106,10 +74,9 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List getLegsList();
+  java.util.List 
+      getLegsList();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -124,8 +91,6 @@ public interface RouteOrBuilder
    */
   com.google.maps.routing.v2.RouteLeg getLegs(int index);
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -140,8 +105,6 @@ public interface RouteOrBuilder
    */
   int getLegsCount();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -154,10 +117,9 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List getLegsOrBuilderList();
+  java.util.List 
+      getLegsOrBuilderList();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -170,24 +132,20 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index);
+  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -197,13 +155,10 @@ public interface RouteOrBuilder
    * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -213,13 +168,10 @@ public interface RouteOrBuilder
    * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -233,34 +185,26 @@ public interface RouteOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -271,34 +215,26 @@ public interface RouteOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -309,108 +245,85 @@ public interface RouteOrBuilder
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
-   *
-   *
    * 
    * A description of the route.
    * 
* * string description = 6; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of the route.
    * 
* * string description = 6; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - java.util.List getWarningsList(); + java.util.List + getWarningsList(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ int getWarningsCount(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - com.google.protobuf.ByteString getWarningsBytes(int index); + com.google.protobuf.ByteString + getWarningsBytes(int index); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ boolean hasViewport(); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ com.google.geo.type.Viewport getViewport(); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
@@ -420,32 +333,24 @@ public interface RouteOrBuilder com.google.geo.type.ViewportOrBuilder getViewportOrBuilder(); /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Additional information about the route.
    * 
@@ -455,35 +360,38 @@ public interface RouteOrBuilder com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder(); /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
    * and in the event of rerouting honor the original intention when Routes
    * ComputeRoutes is called. Customers should treat this token as an
    * opaque blob.
+   * NOTE: `Route.route_token` is only available for requests that have set
+   * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+   * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+   * requests that have Via waypoints.
    * 
* * string route_token = 12; - * * @return The routeToken. */ java.lang.String getRouteToken(); /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
    * and in the event of rerouting honor the original intention when Routes
    * ComputeRoutes is called. Customers should treat this token as an
    * opaque blob.
+   * NOTE: `Route.route_token` is only available for requests that have set
+   * `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
+   * `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for
+   * requests that have Via waypoints.
    * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ - com.google.protobuf.ByteString getRouteTokenBytes(); + com.google.protobuf.ByteString + getRouteTokenBytes(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java new file mode 100644 index 000000000000..2eeae4764312 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java @@ -0,0 +1,176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/route.proto + +package com.google.maps.routing.v2; + +public final class RouteProto { + private RouteProto() {} + 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_routing_v2_Route_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Route_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLeg_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + + "ogle.maps.routing.v2\032\036google/geo/type/vi" + + "ewport.proto\032%google/maps/routing/v2/loc" + + "ation.proto\0323google/maps/routing/v2/navi" + + "gation_instruction.proto\032%google/maps/ro" + + "uting/v2/polyline.proto\032(google/maps/rou" + + "ting/v2/route_label.proto\0323google/maps/r" + + "outing/v2/speed_reading_interval.proto\032&" + + "google/maps/routing/v2/toll_info.proto\032\036" + + "google/protobuf/duration.proto\"\316\003\n\005Route" + + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + + "\0132\031.google.protobuf.Duration\0222\n\010polyline" + + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + + "ingInterval\022$\n\034fuel_consumption_microlit" + + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + + "(\0132,.google.maps.routing.v2.SpeedReading" + + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + + ".maps.routing.v2.SpeedReadingInterval\"\250\003" + + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + + "uration\030\002 \001(\0132\031.google.protobuf.Duration" + + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + + "maps.routing.v2.Polyline\0228\n\016start_locati" + + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + + "l_advisory\030\010 \001(\0132..google.maps.routing.v" + + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + + "gle.maps.routing.v2.Location\0226\n\014end_loca" + + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + + "oogle.maps.routing.v2.NavigationInstruct" + + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + + "ps.routing.v2.RouteLegStepTravelAdvisory" + + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + + "otoP\001Z=google.golang.org/genproto/google" + + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.maps.routing.v2.LocationProto.getDescriptor(), + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), + com.google.maps.routing.v2.PolylineProto.getDescriptor(), + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), + com.google.maps.routing.v2.TollInfoProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Route_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Route_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Route_descriptor, + new java.lang.String[] { "RouteLabels", "Legs", "DistanceMeters", "Duration", "StaticDuration", "Polyline", "Description", "Warnings", "Viewport", "TravelAdvisory", "RouteToken", }); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, + new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", }); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, + new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", }); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, + new java.lang.String[] { "SpeedReadingIntervals", }); + internal_static_google_maps_routing_v2_RouteLeg_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLeg_descriptor, + new java.lang.String[] { "DistanceMeters", "Duration", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "Steps", "TravelAdvisory", }); + internal_static_google_maps_routing_v2_RouteLegStep_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStep_descriptor, + new java.lang.String[] { "DistanceMeters", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "NavigationInstruction", "TravelAdvisory", }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); + com.google.maps.routing.v2.PolylineProto.getDescriptor(); + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); + com.google.maps.routing.v2.TollInfoProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java similarity index 78% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java index 1c2d5e85a3da..de25178f40a4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.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/routing/v2/route.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
  */
-public final class RouteTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteTravelAdvisory)
     RouteTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteTravelAdvisory.newBuilder() to construct.
   private RouteTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
-   *
-   *
    * 
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -90,8 +68,6 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -101,7 +77,6 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ @java.lang.Override @@ -109,8 +84,6 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -129,8 +102,6 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 3;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,13 +116,10 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -166,13 +134,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -191,8 +157,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -211,8 +175,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -235,14 +197,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   public static final int FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER = 5;
   private long fuelConsumptionMicroliters_;
   /**
-   *
-   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -251,7 +210,6 @@ public long getFuelConsumptionMicroliters() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +221,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 (tollInfo_ != null) { output.writeMessage(2, getTollInfo()); } @@ -283,16 +242,16 @@ public int getSerializedSize() { size = 0; if (tollInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTollInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTollInfo()); } for (int i = 0; i < speedReadingIntervals_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, speedReadingIntervals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, speedReadingIntervals_.get(i)); } if (fuelConsumptionMicroliters_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(5, fuelConsumptionMicroliters_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, fuelConsumptionMicroliters_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -302,20 +261,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.routing.v2.RouteTravelAdvisory)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteTravelAdvisory other = - (com.google.maps.routing.v2.RouteTravelAdvisory) obj; + com.google.maps.routing.v2.RouteTravelAdvisory other = (com.google.maps.routing.v2.RouteTravelAdvisory) obj; if (hasTollInfo() != other.hasTollInfo()) return false; if (hasTollInfo()) { - if (!getTollInfo().equals(other.getTollInfo())) return false; + if (!getTollInfo() + .equals(other.getTollInfo())) return false; } - if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false; - if (getFuelConsumptionMicroliters() != other.getFuelConsumptionMicroliters()) return false; + if (!getSpeedReadingIntervalsList() + .equals(other.getSpeedReadingIntervalsList())) return false; + if (getFuelConsumptionMicroliters() + != other.getFuelConsumptionMicroliters()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -336,110 +297,104 @@ public int hashCode() { hash = (53 * hash) + getSpeedReadingIntervalsList().hashCode(); } hash = (37 * hash) + FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFuelConsumptionMicroliters()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFuelConsumptionMicroliters()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteTravelAdvisory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc.
@@ -447,32 +402,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
    */
-  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.routing.v2.RouteTravelAdvisory)
       com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteTravelAdvisory.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();
@@ -495,9 +451,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -516,8 +472,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteTravelAdvisory result = new com.google.maps.routing.v2.RouteTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -542,39 +497,38 @@ public com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,10 +558,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteTravelAdvisory other) {
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -642,39 +595,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
+            case 18: {
+              input.readMessage(
+                  getTollInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 40:
-              {
-                fuelConsumptionMicroliters_ = input.readInt64();
+              break;
+            } // case 18
+            case 26: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 40: {
+              fuelConsumptionMicroliters_ = input.readInt64();
 
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 40
+            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) {
@@ -684,18 +635,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
-        tollInfoBuilder_;
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -705,15 +650,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** - * - * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -723,21 +665,16 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null - ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() - : tollInfo_; + return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -762,8 +699,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -774,7 +709,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
-    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(
+        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -785,8 +721,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -801,9 +735,7 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -815,8 +747,6 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -839,8 +769,6 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -852,13 +780,11 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-
+      
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -873,14 +799,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null
-            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
-            : tollInfo_;
+        return tollInfo_ == null ?
+            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -892,43 +815,32 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.TollInfo,
-                com.google.maps.routing.v2.TollInfo.Builder,
-                com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(), getParentForChildren(), isClean());
+        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(),
+                getParentForChildren(),
+                isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -940,11 +852,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -952,8 +862,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -965,8 +873,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -976,8 +883,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -989,8 +894,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1000,8 +904,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1013,8 +915,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1031,8 +932,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1044,8 +943,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1059,8 +957,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1072,8 +968,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -1089,8 +984,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1102,8 +995,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1120,8 +1012,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1133,8 +1023,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1148,8 +1037,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1161,8 +1048,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1176,8 +1062,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1189,14 +1073,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1204,8 +1088,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1217,8 +1099,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1231,8 +1112,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1244,8 +1123,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1258,8 +1136,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1271,16 +1147,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1292,20 +1165,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1317,11 +1186,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1329,8 +1197,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1342,17 +1208,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1364,17 +1226,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1386,25 +1245,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1414,16 +1266,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn return speedReadingIntervalsBuilder_; } - private long fuelConsumptionMicroliters_; + private long fuelConsumptionMicroliters_ ; /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -1431,43 +1280,37 @@ public long getFuelConsumptionMicroliters() { return fuelConsumptionMicroliters_; } /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @param value The fuelConsumptionMicroliters to set. * @return This builder for chaining. */ public Builder setFuelConsumptionMicroliters(long value) { - + fuelConsumptionMicroliters_ = value; onChanged(); return this; } /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @return This builder for chaining. */ public Builder clearFuelConsumptionMicroliters() { - + fuelConsumptionMicroliters_ = 0L; 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); } @@ -1477,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteTravelAdvisory) private static final com.google.maps.routing.v2.RouteTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteTravelAdvisory(); } @@ -1491,27 +1334,27 @@ public static com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteTravelAdvisory 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 RouteTravelAdvisory 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; @@ -1526,4 +1369,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java similarity index 87% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java index ccaea0896cfd..8a40a07e56f8 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteTravelAdvisoryOrBuilder - extends +public interface RouteTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -35,13 +17,10 @@ public interface RouteTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -51,13 +30,10 @@ public interface RouteTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -71,8 +47,6 @@ public interface RouteTravelAdvisoryOrBuilder
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -86,10 +60,9 @@ public interface RouteTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -105,8 +78,6 @@ public interface RouteTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -122,8 +93,6 @@ public interface RouteTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -137,11 +106,9 @@ public interface RouteTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -159,14 +126,11 @@ com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingInterval
       int index);
 
   /**
-   *
-   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ long getFuelConsumptionMicroliters(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java similarity index 69% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java index b405e143175b..9c969d402ba4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java @@ -1,36 +1,22 @@ -/* - * 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/routing/v2/route_travel_mode.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values used to specify the mode of travel.
+ * NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes
+ * be missing clear sidewalks, pedestrian paths, or bicycling paths.
+ * You must display this warning to the user for all walking, bicycling, and
+ * two-wheel routes that you display in your app.
  * 
* * Protobuf enum {@code google.maps.routing.v2.RouteTravelMode} */ -public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { +public enum RouteTravelMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -39,8 +25,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ TRAVEL_MODE_UNSPECIFIED(0), /** - * - * *
    * Travel by passenger car.
    * 
@@ -49,8 +33,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ DRIVE(1), /** - * - * *
    * Travel by bicycle.
    * 
@@ -59,8 +41,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ BICYCLE(2), /** - * - * *
    * Travel by walking.
    * 
@@ -69,8 +49,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ WALK(3), /** - * - * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -83,8 +61,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -93,8 +69,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAVEL_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Travel by passenger car.
    * 
@@ -103,8 +77,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVE_VALUE = 1; /** - * - * *
    * Travel by bicycle.
    * 
@@ -113,8 +85,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BICYCLE_VALUE = 2; /** - * - * *
    * Travel by walking.
    * 
@@ -123,8 +93,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALK_VALUE = 3; /** - * - * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -134,6 +102,7 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TWO_WHEELER_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -158,53 +127,51 @@ public static RouteTravelMode valueOf(int value) {
    */
   public static RouteTravelMode forNumber(int value) {
     switch (value) {
-      case 0:
-        return TRAVEL_MODE_UNSPECIFIED;
-      case 1:
-        return DRIVE;
-      case 2:
-        return BICYCLE;
-      case 3:
-        return WALK;
-      case 4:
-        return TWO_WHEELER;
-      default:
-        return null;
+      case 0: return TRAVEL_MODE_UNSPECIFIED;
+      case 1: return DRIVE;
+      case 2: return BICYCLE;
+      case 3: return WALK;
+      case 4: return TWO_WHEELER;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public RouteTravelMode findValueByNumber(int number) {
-          return RouteTravelMode.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteTravelMode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteTravelMode findValueByNumber(int number) {
+            return RouteTravelMode.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.routing.v2.RouteTravelModeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteTravelMode[] VALUES = values();
 
-  public static RouteTravelMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteTravelMode 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;
@@ -220,3 +187,4 @@ private RouteTravelMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteTravelMode)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
new file mode 100644
index 000000000000..beabfecd72c2
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
@@ -0,0 +1,44 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/route_travel_mode.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteTravelModeProto {
+  private RouteTravelModeProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_travel_mo" +
+      "de.proto\022\026google.maps.routing.v2*a\n\017Rout" +
+      "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" +
+      "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" +
+      "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." +
+      "v2B\024RouteTravelModeProtoP\001Z=google.golan" +
+      "g.org/genproto/googleapis/maps/routing/v" +
+      "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" +
+      "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" +
+      ":Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
new file mode 100644
index 000000000000..b209fe6d3b55
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
@@ -0,0 +1,221 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/routes_service.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutesServiceProto {
+  private RoutesServiceProto() {}
+  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_routing_v2_ComputeRoutesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." +
+      "proto\022\026google.maps.routing.v2\032\034google/ap" +
+      "i/annotations.proto\032\027google/api/client.p" +
+      "roto\032\037google/api/field_behavior.proto\032*g" +
+      "oogle/maps/routing/v2/fallback_info.prot" +
+      "o\032%google/maps/routing/v2/polyline.proto" +
+      "\032\"google/maps/routing/v2/route.proto\032,go" +
+      "ogle/maps/routing/v2/route_modifiers.pro" +
+      "to\032.google/maps/routing/v2/route_travel_" +
+      "mode.proto\032/google/maps/routing/v2/routi" +
+      "ng_preference.proto\032\"google/maps/routing" +
+      "/v2/units.proto\032%google/maps/routing/v2/" +
+      "waypoint.proto\032\036google/protobuf/duration" +
+      ".proto\032\037google/protobuf/timestamp.proto\032" +
+      "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" +
+      "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." +
+      "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" +
+      "\002 \001(\0132 .google.maps.routing.v2.WaypointB" +
+      "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" +
+      "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" +
+      "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" +
+      "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" +
+      "\0162).google.maps.routing.v2.RoutingPrefer" +
+      "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" +
+      "ogle.maps.routing.v2.PolylineQualityB\003\340A" +
+      "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" +
+      "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" +
+      "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" +
+      "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" +
+      "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" +
+      ".google.maps.routing.v2.RouteModifiersB\003" +
+      "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" +
+      "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" +
+      "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" +
+      ".google.maps.routing.v2.ComputeRoutesReq" +
+      "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" +
+      "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" +
+      "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" +
+      "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." +
+      "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" +
+      ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" +
+      "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" +
+      "oogle.maps.routing.v2.RouteMatrixOriginB" +
+      "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" +
+      ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" +
+      "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" +
+      "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" +
+      "eference\030\004 \001(\0162).google.maps.routing.v2." +
+      "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" +
+      "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" +
+      "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" +
+      " .google.maps.routing.v2.WaypointB\003\340A\002\022D" +
+      "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" +
+      "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" +
+      "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" +
+      "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" +
+      "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" +
+      "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" +
+      "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" +
+      "on\030\t \001(\01623.google.maps.routing.v2.RouteM" +
+      "atrixElementCondition\022\027\n\017distance_meters" +
+      "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" +
+      "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" +
+      "oogle.protobuf.Duration\022D\n\017travel_adviso" +
+      "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" +
+      "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" +
+      "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" +
+      "rigin_indexB\024\n\022_destination_index*t\n\033Rou" +
+      "teMatrixElementCondition\022.\n*ROUTE_MATRIX" +
+      "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" +
+      "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" +
+      "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" +
+      "ng.v2.ComputeRoutesRequest\032-.google.maps" +
+      ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" +
+      "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" +
+      "omputeRouteMatrix\0221.google.maps.routing." +
+      "v2.ComputeRouteMatrixRequest\032*.google.ma" +
+      "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" +
+      "\"%/distanceMatrix/v2:computeRouteMatrix:" +
+      "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" +
+      "oogle.maps.routing.v2B\022RoutesServiceProt" +
+      "oP\001Z=google.golang.org/genproto/googleap" +
+      "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" +
+      "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" +
+      "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" +
+      "to3"
+    };
+    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.routing.v2.FallbackInfoProto.getDescriptor(),
+          com.google.maps.routing.v2.PolylineProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(),
+          com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(),
+          com.google.maps.routing.v2.UnitsProto.getDescriptor(),
+          com.google.maps.routing.v2.WaypointProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.rpc.StatusProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor,
+        new java.lang.String[] { "Origin", "Destination", "Intermediates", "TravelMode", "RoutingPreference", "PolylineQuality", "PolylineEncoding", "DepartureTime", "ComputeAlternativeRoutes", "RouteModifiers", "LanguageCode", "Units", "RequestedReferenceRoutes", });
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor,
+        new java.lang.String[] { "Routes", "FallbackInfo", });
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor,
+        new java.lang.String[] { "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", });
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor,
+        new java.lang.String[] { "Waypoint", "RouteModifiers", });
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor,
+        new java.lang.String[] { "Waypoint", });
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor,
+        new java.lang.String[] { "OriginIndex", "DestinationIndex", "Status", "Condition", "DistanceMeters", "Duration", "StaticDuration", "TravelAdvisory", "FallbackInfo", "OriginIndex", "DestinationIndex", });
+    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.routing.v2.FallbackInfoProto.getDescriptor();
+    com.google.maps.routing.v2.PolylineProto.getDescriptor();
+    com.google.maps.routing.v2.RouteProto.getDescriptor();
+    com.google.maps.routing.v2.RouteModifiersProto.getDescriptor();
+    com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor();
+    com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor();
+    com.google.maps.routing.v2.UnitsProto.getDescriptor();
+    com.google.maps.routing.v2.WaypointProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
index c571bba8e83e..a276207426b7 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.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/routing/v2/routing_preference.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify factors to take into consideration when
  * calculating the route.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RoutingPreference}
  */
-public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum {
+public enum RoutingPreference
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -40,8 +22,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum */ ROUTING_PREFERENCE_UNSPECIFIED(0), /** - * - * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -58,8 +38,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   TRAFFIC_UNAWARE(1),
   /**
-   *
-   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -70,8 +48,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   TRAFFIC_AWARE(2),
   /**
-   *
-   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -85,8 +61,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -95,8 +69,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum */ public static final int ROUTING_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -113,8 +85,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_UNAWARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -125,8 +95,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_AWARE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -137,6 +105,7 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_AWARE_OPTIMAL_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -161,44 +130,40 @@ public static RoutingPreference valueOf(int value) {
    */
   public static RoutingPreference forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTING_PREFERENCE_UNSPECIFIED;
-      case 1:
-        return TRAFFIC_UNAWARE;
-      case 2:
-        return TRAFFIC_AWARE;
-      case 3:
-        return TRAFFIC_AWARE_OPTIMAL;
-      default:
-        return null;
+      case 0: return ROUTING_PREFERENCE_UNSPECIFIED;
+      case 1: return TRAFFIC_UNAWARE;
+      case 2: return TRAFFIC_AWARE;
+      case 3: return TRAFFIC_AWARE_OPTIMAL;
+      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
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RoutingPreference findValueByNumber(int number) {
-              return RoutingPreference.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RoutingPreference> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RoutingPreference findValueByNumber(int number) {
+            return RoutingPreference.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.routing.v2.RoutingPreferenceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -207,7 +172,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static RoutingPreference 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;
@@ -223,3 +189,4 @@ private RoutingPreference(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RoutingPreference)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
new file mode 100644
index 000000000000..0976571e0d86
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
@@ -0,0 +1,45 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/routing_preference.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutingPreferenceProto {
+  private RoutingPreferenceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/routing_prefere" +
+      "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" +
+      "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" +
+      "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" +
+      "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" +
+      "\n\032com.google.maps.routing.v2B\026RoutingPre" +
+      "ferenceProtoP\001Z=google.golang.org/genpro" +
+      "to/googleapis/maps/routing/v2;routing\370\001\001" +
+      "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" +
+      "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" +
+      "ng::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
similarity index 72%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
index b36867eb8892..63553864849f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.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/routing/v2/speed_reading_interval.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Traffic density indicator on a contiguous segment of a polyline or path.
  * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -30,59 +13,54 @@
  *
  * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
  */
-public final class SpeedReadingInterval extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpeedReadingInterval extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.SpeedReadingInterval)
     SpeedReadingIntervalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpeedReadingInterval.newBuilder() to construct.
   private SpeedReadingInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpeedReadingInterval() {
     speed_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpeedReadingInterval();
   }
 
   @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.routing.v2.SpeedReadingIntervalProto
-        .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.SpeedReadingIntervalProto
-        .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.SpeedReadingInterval.class,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+            com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The classification of polyline speed based on traffic data.
    * 
* * Protobuf enum {@code google.maps.routing.v2.SpeedReadingInterval.Speed} */ - public enum Speed implements com.google.protobuf.ProtocolMessageEnum { + public enum Speed + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -91,8 +69,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ SPEED_UNSPECIFIED(0), /** - * - * *
      * Normal speed, no slowdown is detected.
      * 
@@ -101,8 +77,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ NORMAL(1), /** - * - * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -111,8 +85,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ SLOW(2), /** - * - * *
      * Traffic jam detected.
      * 
@@ -124,8 +96,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -134,8 +104,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPEED_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Normal speed, no slowdown is detected.
      * 
@@ -144,8 +112,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NORMAL_VALUE = 1; /** - * - * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -154,8 +120,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SLOW_VALUE = 2; /** - * - * *
      * Traffic jam detected.
      * 
@@ -164,6 +128,7 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_JAM_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -188,51 +153,50 @@ public static Speed valueOf(int value) { */ public static Speed forNumber(int value) { switch (value) { - case 0: - return SPEED_UNSPECIFIED; - case 1: - return NORMAL; - case 2: - return SLOW; - case 3: - return TRAFFIC_JAM; - default: - return null; + case 0: return SPEED_UNSPECIFIED; + case 1: return NORMAL; + case 2: return SLOW; + case 3: return TRAFFIC_JAM; + 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< + Speed> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Speed findValueByNumber(int number) { + return Speed.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Speed findValueByNumber(int number) { - return Speed.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.routing.v2.SpeedReadingInterval.getDescriptor().getEnumTypes().get(0); } private static final Speed[] VALUES = values(); - public static Speed valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Speed 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; @@ -253,14 +217,11 @@ private Speed(int value) { public static final int START_POLYLINE_POINT_INDEX_FIELD_NUMBER = 1; private int startPolylinePointIndex_; /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -268,14 +229,11 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -286,14 +244,11 @@ public int getStartPolylinePointIndex() { public static final int END_POLYLINE_POINT_INDEX_FIELD_NUMBER = 2; private int endPolylinePointIndex_; /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -301,14 +256,11 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -319,43 +271,31 @@ public int getEndPolylinePointIndex() { public static final int SPEED_FIELD_NUMBER = 3; private int speed_; /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override - public int getSpeedValue() { + @java.lang.Override public int getSpeedValue() { return speed_; } /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ - @java.lang.Override - public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { + @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = - com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null - ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED - : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,15 +307,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, endPolylinePointIndex_); } - if (speed_ - != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { output.writeEnum(3, speed_); } getUnknownFields().writeTo(output); @@ -388,14 +328,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, endPolylinePointIndex_); } - if (speed_ - != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, speed_); + if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, speed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,21 +347,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.routing.v2.SpeedReadingInterval)) { return super.equals(obj); } - com.google.maps.routing.v2.SpeedReadingInterval other = - (com.google.maps.routing.v2.SpeedReadingInterval) obj; + com.google.maps.routing.v2.SpeedReadingInterval other = (com.google.maps.routing.v2.SpeedReadingInterval) obj; if (hasStartPolylinePointIndex() != other.hasStartPolylinePointIndex()) return false; if (hasStartPolylinePointIndex()) { - if (getStartPolylinePointIndex() != other.getStartPolylinePointIndex()) return false; + if (getStartPolylinePointIndex() + != other.getStartPolylinePointIndex()) return false; } if (hasEndPolylinePointIndex() != other.hasEndPolylinePointIndex()) return false; if (hasEndPolylinePointIndex()) { - if (getEndPolylinePointIndex() != other.getEndPolylinePointIndex()) return false; + if (getEndPolylinePointIndex() + != other.getEndPolylinePointIndex()) return false; } if (speed_ != other.speed_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -448,104 +391,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.SpeedReadingInterval parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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; } /** - * - * *
    * Traffic density indicator on a contiguous segment of a polyline or path.
    * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -555,32 +491,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
    */
-  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.routing.v2.SpeedReadingInterval)
       com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.SpeedReadingInterval.class,
-              com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+              com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.SpeedReadingInterval.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();
@@ -594,9 +531,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
@@ -615,8 +552,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.SpeedReadingInterval buildPartial() {
-      com.google.maps.routing.v2.SpeedReadingInterval result =
-          new com.google.maps.routing.v2.SpeedReadingInterval(this);
+      com.google.maps.routing.v2.SpeedReadingInterval result = new com.google.maps.routing.v2.SpeedReadingInterval(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -637,39 +573,38 @@ public com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval) {
-        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval) other);
+        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -677,8 +612,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.SpeedReadingInterval other) {
-      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()) return this;
       if (other.hasStartPolylinePointIndex()) {
         setStartPolylinePointIndex(other.getStartPolylinePointIndex());
       }
@@ -714,31 +648,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                startPolylinePointIndex_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                endPolylinePointIndex_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                speed_ = input.readEnum();
+            case 8: {
+              startPolylinePointIndex_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              endPolylinePointIndex_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              speed_ = input.readEnum();
 
-                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) {
@@ -748,19 +678,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int startPolylinePointIndex_;
+    private int startPolylinePointIndex_ ;
     /**
-     *
-     *
      * 
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -768,14 +694,11 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -783,14 +706,11 @@ public int getStartPolylinePointIndex() { return startPolylinePointIndex_; } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @param value The startPolylinePointIndex to set. * @return This builder for chaining. */ @@ -801,14 +721,11 @@ public Builder setStartPolylinePointIndex(int value) { return this; } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return This builder for chaining. */ public Builder clearStartPolylinePointIndex() { @@ -818,16 +735,13 @@ public Builder clearStartPolylinePointIndex() { return this; } - private int endPolylinePointIndex_; + private int endPolylinePointIndex_ ; /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -835,14 +749,11 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -850,14 +761,11 @@ public int getEndPolylinePointIndex() { return endPolylinePointIndex_; } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @param value The endPolylinePointIndex to set. * @return This builder for chaining. */ @@ -868,14 +776,11 @@ public Builder setEndPolylinePointIndex(int value) { return this; } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return This builder for chaining. */ public Builder clearEndPolylinePointIndex() { @@ -887,67 +792,51 @@ public Builder clearEndPolylinePointIndex() { private int speed_ = 0; /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override - public int getSpeedValue() { + @java.lang.Override public int getSpeedValue() { return speed_; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @param value The enum numeric value on the wire for speed to set. * @return This builder for chaining. */ public Builder setSpeedValue(int value) { - + speed_ = value; onChanged(); return this; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = - com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null - ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED - : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @param value The speed to set. * @return This builder for chaining. */ @@ -955,31 +844,28 @@ public Builder setSpeed(com.google.maps.routing.v2.SpeedReadingInterval.Speed va if (value == null) { throw new NullPointerException(); } - + speed_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return This builder for chaining. */ public Builder clearSpeed() { - + speed_ = 0; 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); } @@ -989,12 +875,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.SpeedReadingInterval) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.SpeedReadingInterval) private static final com.google.maps.routing.v2.SpeedReadingInterval DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.SpeedReadingInterval(); } @@ -1003,27 +889,27 @@ public static com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeedReadingInterval 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 SpeedReadingInterval 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; @@ -1038,4 +924,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java index df4bba08ee49..b3b1beeebe8e 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java @@ -1,99 +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/routing/v2/speed_reading_interval.proto package com.google.maps.routing.v2; -public interface SpeedReadingIntervalOrBuilder - extends +public interface SpeedReadingIntervalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.SpeedReadingInterval) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ boolean hasStartPolylinePointIndex(); /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ int getStartPolylinePointIndex(); /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ boolean hasEndPolylinePointIndex(); /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ int getEndPolylinePointIndex(); /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ int getSpeedValue(); /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java new file mode 100644 index 000000000000..de71857e5a22 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/speed_reading_interval.proto + +package com.google.maps.routing.v2; + +public final class SpeedReadingIntervalProto { + private SpeedReadingIntervalProto() {} + 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_routing_v2_SpeedReadingInterval_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/speed_reading_i" + + "nterval.proto\022\026google.maps.routing.v2\"\254\002" + + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + + "google.maps.routing.v2.SpeedReadingInter" + + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + + "polyline_point_indexB\321\001\n\032com.google.maps" + + ".routing.v2B\031SpeedReadingIntervalProtoP\001" + + "Z=google.golang.org/genproto/googleapis/" + + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, + new java.lang.String[] { "StartPolylinePointIndex", "EndPolylinePointIndex", "Speed", "StartPolylinePointIndex", "EndPolylinePointIndex", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java index 371aea9216d3..6d1705f464b4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.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/routing/v2/toll_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates toll information on a `Route` or on a `RouteLeg`.
  * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ -public final class TollInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TollInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.TollInfo) TollInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TollInfo.newBuilder() to construct. private TollInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TollInfo() { estimatedPrice_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TollInfo(); } @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.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, - com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); } public static final int ESTIMATED_PRICE_FIELD_NUMBER = 1; private java.util.List estimatedPrice_; /** - * - * *
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -88,8 +67,6 @@ public java.util.List getEstimatedPriceList() {
     return estimatedPrice_;
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -102,12 +79,11 @@ public java.util.List getEstimatedPriceList() {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public java.util.List getEstimatedPriceOrBuilderList() {
+  public java.util.List 
+      getEstimatedPriceOrBuilderList() {
     return estimatedPrice_;
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -124,8 +100,6 @@ public int getEstimatedPriceCount() {
     return estimatedPrice_.size();
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -142,8 +116,6 @@ public com.google.type.Money getEstimatedPrice(int index) {
     return estimatedPrice_.get(index);
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -156,12 +128,12 @@ public com.google.type.Money getEstimatedPrice(int index) {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
+  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+      int index) {
     return estimatedPrice_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +145,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 {
     for (int i = 0; i < estimatedPrice_.size(); i++) {
       output.writeMessage(1, estimatedPrice_.get(i));
     }
@@ -187,7 +160,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < estimatedPrice_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, estimatedPrice_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, estimatedPrice_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -197,14 +171,15 @@ 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.routing.v2.TollInfo)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.TollInfo other = (com.google.maps.routing.v2.TollInfo) obj;
 
-    if (!getEstimatedPriceList().equals(other.getEstimatedPriceList())) return false;
+    if (!getEstimatedPriceList()
+        .equals(other.getEstimatedPriceList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -225,135 +200,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.TollInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates toll information on a `Route` or on a `RouteLeg`.
    * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ - 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.routing.v2.TollInfo) com.google.maps.routing.v2.TollInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, - com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); } // Construct using com.google.maps.routing.v2.TollInfo.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(); @@ -368,9 +338,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override @@ -408,39 +378,38 @@ public com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo) { - return mergeFrom((com.google.maps.routing.v2.TollInfo) other); + return mergeFrom((com.google.maps.routing.v2.TollInfo)other); } else { super.mergeFrom(other); return this; @@ -467,10 +436,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.TollInfo other) { estimatedPriceBuilder_ = null; estimatedPrice_ = other.estimatedPrice_; bitField0_ = (bitField0_ & ~0x00000001); - estimatedPriceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEstimatedPriceFieldBuilder() - : null; + estimatedPriceBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEstimatedPriceFieldBuilder() : null; } else { estimatedPriceBuilder_.addAllMessages(other.estimatedPrice_); } @@ -502,25 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.type.Money m = - input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (estimatedPriceBuilder_ == null) { - ensureEstimatedPriceIsMutable(); - estimatedPrice_.add(m); - } else { - estimatedPriceBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.type.Money m = + input.readMessage( + com.google.type.Money.parser(), + extensionRegistry); + if (estimatedPriceBuilder_ == null) { + ensureEstimatedPriceIsMutable(); + estimatedPrice_.add(m); + } else { + estimatedPriceBuilder_.addMessage(m); + } + break; + } // case 10 + 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) { @@ -530,26 +498,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List estimatedPrice_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEstimatedPriceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { estimatedPrice_ = new java.util.ArrayList(estimatedPrice_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - estimatedPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> estimatedPriceBuilder_; /** - * - * *
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -569,8 +532,6 @@ public java.util.List getEstimatedPriceList() {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -590,8 +551,6 @@ public int getEstimatedPriceCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -611,8 +570,6 @@ public com.google.type.Money getEstimatedPrice(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -624,7 +581,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(int index, com.google.type.Money value) {
+    public Builder setEstimatedPrice(
+        int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -638,8 +596,6 @@ public Builder setEstimatedPrice(int index, com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -651,7 +607,8 @@ public Builder setEstimatedPrice(int index, com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
+    public Builder setEstimatedPrice(
+        int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.set(index, builderForValue.build());
@@ -662,8 +619,6 @@ public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -689,8 +644,6 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -702,7 +655,8 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(int index, com.google.type.Money value) {
+    public Builder addEstimatedPrice(
+        int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,8 +670,6 @@ public Builder addEstimatedPrice(int index, com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -729,7 +681,8 @@ public Builder addEstimatedPrice(int index, com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(builderForValue.build());
@@ -740,8 +693,6 @@ public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -753,7 +704,8 @@ public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue)
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(
+        int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(index, builderForValue.build());
@@ -764,8 +716,6 @@ public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -781,7 +731,8 @@ public Builder addAllEstimatedPrice(
         java.lang.Iterable values) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, estimatedPrice_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, estimatedPrice_);
         onChanged();
       } else {
         estimatedPriceBuilder_.addAllMessages(values);
@@ -789,8 +740,6 @@ public Builder addAllEstimatedPrice(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -813,8 +762,6 @@ public Builder clearEstimatedPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -837,8 +784,6 @@ public Builder removeEstimatedPrice(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -850,12 +795,11 @@ public Builder removeEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
+    public com.google.type.Money.Builder getEstimatedPriceBuilder(
+        int index) {
       return getEstimatedPriceFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -867,16 +811,14 @@ public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
+    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+        int index) {
       if (estimatedPriceBuilder_ == null) {
-        return estimatedPrice_.get(index);
-      } else {
+        return estimatedPrice_.get(index);  } else {
         return estimatedPriceBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -888,8 +830,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List
-        getEstimatedPriceOrBuilderList() {
+    public java.util.List 
+         getEstimatedPriceOrBuilderList() {
       if (estimatedPriceBuilder_ != null) {
         return estimatedPriceBuilder_.getMessageOrBuilderList();
       } else {
@@ -897,8 +839,6 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -911,11 +851,10 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
      * repeated .google.type.Money estimated_price = 1;
      */
     public com.google.type.Money.Builder addEstimatedPriceBuilder() {
-      return getEstimatedPriceFieldBuilder().addBuilder(com.google.type.Money.getDefaultInstance());
+      return getEstimatedPriceFieldBuilder().addBuilder(
+          com.google.type.Money.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -927,13 +866,12 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder() {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
-      return getEstimatedPriceFieldBuilder()
-          .addBuilder(index, com.google.type.Money.getDefaultInstance());
+    public com.google.type.Money.Builder addEstimatedPriceBuilder(
+        int index) {
+      return getEstimatedPriceFieldBuilder().addBuilder(
+          index, com.google.type.Money.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -945,19 +883,16 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List getEstimatedPriceBuilderList() {
+    public java.util.List 
+         getEstimatedPriceBuilderList() {
       return getEstimatedPriceFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getEstimatedPriceFieldBuilder() {
       if (estimatedPriceBuilder_ == null) {
-        estimatedPriceBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
+        estimatedPriceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
                 estimatedPrice_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -966,9 +901,9 @@ public java.util.List getEstimatedPriceBuilderLis
       }
       return estimatedPriceBuilder_;
     }
-
     @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);
     }
 
@@ -978,12 +913,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.TollInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.TollInfo)
   private static final com.google.maps.routing.v2.TollInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.TollInfo();
   }
@@ -992,27 +927,27 @@ public static com.google.maps.routing.v2.TollInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TollInfo 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 TollInfo 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;
@@ -1027,4 +962,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.TollInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
similarity index 75%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
index ba94fc699952..1bc067afd09f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.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/routing/v2/toll_info.proto
 
 package com.google.maps.routing.v2;
 
-public interface TollInfoOrBuilder
-    extends
+public interface TollInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.TollInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -37,10 +19,9 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List getEstimatedPriceList();
+  java.util.List 
+      getEstimatedPriceList();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -54,8 +35,6 @@ public interface TollInfoOrBuilder
    */
   com.google.type.Money getEstimatedPrice(int index);
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -69,8 +48,6 @@ public interface TollInfoOrBuilder
    */
   int getEstimatedPriceCount();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -82,10 +59,9 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List getEstimatedPriceOrBuilderList();
+  java.util.List 
+      getEstimatedPriceOrBuilderList();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -97,5 +73,6 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index);
+  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
new file mode 100644
index 000000000000..cce8c52c6003
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
@@ -0,0 +1,56 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/toll_info.proto
+
+package com.google.maps.routing.v2;
+
+public final class TollInfoProto {
+  private TollInfoProto() {}
+  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_routing_v2_TollInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" +
+      "\022\026google.maps.routing.v2\032\027google/type/mo" +
+      "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" +
+      "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" +
+      "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" +
+      "le.golang.org/genproto/googleapis/maps/r" +
+      "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" +
+      "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" +
+      "\031Google::Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.type.MoneyProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_TollInfo_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_TollInfo_descriptor,
+        new java.lang.String[] { "EstimatedPrice", });
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
similarity index 80%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
index 3bdb1b220654..cd7eba1e3532 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/toll_passes.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * List of toll passes around the world that we support.
  * 
* * Protobuf enum {@code google.maps.routing.v2.TollPass} */ -public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { +public enum TollPass + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -39,8 +21,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ TOLL_PASS_UNSPECIFIED(0), /** - * - * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -49,8 +29,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AU_ETOLL_TAG(82), /** - * - * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -59,8 +37,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AU_EWAY_TAG(83), /** - * - * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -70,8 +46,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   AU_LINKT(2),
   /**
-   *
-   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -80,8 +54,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AR_TELEPASE(3), /** - * - * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -90,8 +62,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_AUTO_EXPRESO(81), /** - * - * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -100,8 +70,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_CONECTCAR(7), /** - * - * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -110,8 +78,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_MOVE_MAIS(8), /** - * - * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -120,8 +86,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_PASSA_RAPIDO(88), /** - * - * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -130,8 +94,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_SEM_PARAR(9), /** - * - * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -140,8 +102,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_TAGGY(10), /** - * - * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -151,8 +111,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   BR_VELOE(11),
   /**
-   *
-   *
    * 
    * Canada to United States border crossing.
    * 
@@ -161,8 +119,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD(84), /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -171,8 +127,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD(85), /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -181,8 +135,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_BLUE_WATER_EDGE_PASS(18), /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -191,8 +143,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_CONNEXION(19), /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -201,8 +151,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_NEXUS_CARD(20), /** - * - * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -216,8 +164,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   ID_E_TOLL(16),
   /**
-   *
-   *
    * 
    * India.
    * 
@@ -226,8 +172,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ IN_FASTAG(78), /** - * - * *
    * India, HP state plate exemption.
    * 
@@ -236,8 +180,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ IN_LOCAL_HP_PLATE_EXEMPT(79), /** - * - * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -247,8 +189,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_IAVE(90),
   /**
-   *
-   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -258,8 +198,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_PASE(91),
   /**
-   *
-   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -269,8 +207,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_QUICKPASS(93),
   /**
-   *
-   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -279,8 +215,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ MX_SISTEMA_TELEPEAJE_CHIHUAHUA(89), /** - * - * *
    * Mexico
    * 
@@ -289,8 +223,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ MX_TAG_IAVE(12), /** - * - * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -300,8 +232,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_TAG_TELEVIA(13),
   /**
-   *
-   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -311,8 +241,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_TELEVIA(92),
   /**
-   *
-   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -322,8 +250,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_VIAPASS(14),
   /**
-   *
-   *
    * 
    * AL, USA.
    * 
@@ -332,8 +258,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_AL_FREEDOM_PASS(21), /** - * - * *
    * AK, USA.
    * 
@@ -342,8 +266,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS(22), /** - * - * *
    * CA, USA.
    * 
@@ -352,8 +274,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CA_FASTRAK(4), /** - * - * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -364,8 +284,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   US_CA_FASTRAK_CAV_STICKER(86),
   /**
-   *
-   *
    * 
    * CO, USA.
    * 
@@ -374,8 +292,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CO_EXPRESSTOLL(23), /** - * - * *
    * CO, USA.
    * 
@@ -384,8 +300,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CO_GO_PASS(24), /** - * - * *
    * DE, USA.
    * 
@@ -394,8 +308,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_DE_EZPASSDE(25), /** - * - * *
    * FL, USA.
    * 
@@ -404,8 +316,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_BOB_SIKES_TOLL_BRIDGE_PASS(65), /** - * - * *
    * FL, USA.
    * 
@@ -414,8 +324,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD(66), /** - * - * *
    * FL, USA.
    * 
@@ -424,8 +332,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_EPASS(67), /** - * - * *
    * FL, USA.
    * 
@@ -434,8 +340,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_GIBA_TOLL_PASS(68), /** - * - * *
    * FL, USA.
    * 
@@ -444,8 +348,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_LEEWAY(69), /** - * - * *
    * FL, USA.
    * 
@@ -454,8 +356,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_SUNPASS(70), /** - * - * *
    * FL, USA.
    * 
@@ -464,8 +364,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_SUNPASS_PRO(71), /** - * - * *
    * IL, USA.
    * 
@@ -474,8 +372,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IL_EZPASSIL(73), /** - * - * *
    * IL, USA.
    * 
@@ -484,8 +380,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IL_IPASS(72), /** - * - * *
    * IN, USA.
    * 
@@ -494,8 +388,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IN_EZPASSIN(26), /** - * - * *
    * KS, USA.
    * 
@@ -504,8 +396,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_BESTPASS_HORIZON(27), /** - * - * *
    * KS, USA.
    * 
@@ -514,8 +404,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_KTAG(28), /** - * - * *
    * KS, USA.
    * 
@@ -524,8 +412,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_NATIONALPASS(29), /** - * - * *
    * KS, USA.
    * 
@@ -534,8 +420,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_PREPASS_ELITEPASS(30), /** - * - * *
    * KY, USA.
    * 
@@ -544,8 +428,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KY_RIVERLINK(31), /** - * - * *
    * LA, USA.
    * 
@@ -554,8 +436,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_LA_GEAUXPASS(32), /** - * - * *
    * LA, USA.
    * 
@@ -564,8 +444,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_LA_TOLL_TAG(33), /** - * - * *
    * MA, USA.
    * 
@@ -574,8 +452,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MA_EZPASSMA(6), /** - * - * *
    * MD, USA.
    * 
@@ -584,8 +460,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MD_EZPASSMD(34), /** - * - * *
    * ME, USA.
    * 
@@ -594,8 +468,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_ME_EZPASSME(35), /** - * - * *
    * MI, USA.
    * 
@@ -604,8 +476,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD(36), /** - * - * *
    * MI, USA.
    * 
@@ -614,8 +484,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG(37), /** - * - * *
    * MI, USA.
    * 
@@ -624,8 +492,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_IQ_PROX_CARD(38), /** - * - * *
    * MI, USA.
    * 
@@ -634,8 +500,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_MACKINAC_BRIDGE_MAC_PASS(39), /** - * - * *
    * MI, USA.
    * 
@@ -644,8 +508,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_NEXPRESS_TOLL(40), /** - * - * *
    * MN, USA.
    * 
@@ -654,8 +516,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MN_EZPASSMN(41), /** - * - * *
    * NC, USA.
    * 
@@ -664,8 +524,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_EZPASSNC(42), /** - * - * *
    * NC, USA.
    * 
@@ -674,8 +532,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_PEACH_PASS(87), /** - * - * *
    * NC, USA.
    * 
@@ -684,8 +540,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_QUICK_PASS(43), /** - * - * *
    * NH, USA.
    * 
@@ -694,8 +548,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NH_EZPASSNH(80), /** - * - * *
    * NJ, USA.
    * 
@@ -704,8 +556,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NJ_DOWNBEACH_EXPRESS_PASS(75), /** - * - * *
    * NJ, USA.
    * 
@@ -714,8 +564,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NJ_EZPASSNJ(74), /** - * - * *
    * NY, USA.
    * 
@@ -724,8 +572,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NY_EXPRESSPASS(76), /** - * - * *
    * NY, USA.
    * 
@@ -734,8 +580,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NY_EZPASSNY(77), /** - * - * *
    * OH, USA.
    * 
@@ -744,8 +588,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_OH_EZPASSOH(44), /** - * - * *
    * PA, USA.
    * 
@@ -754,8 +596,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_PA_EZPASSPA(45), /** - * - * *
    * RI, USA.
    * 
@@ -764,8 +604,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_RI_EZPASSRI(46), /** - * - * *
    * SC, USA.
    * 
@@ -774,8 +612,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_SC_PALPASS(47), /** - * - * *
    * TX, USA.
    * 
@@ -784,8 +620,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_BANCPASS(48), /** - * - * *
    * TX, USA.
    * 
@@ -794,8 +628,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_DEL_RIO_PASS(49), /** - * - * *
    * TX, USA.
    * 
@@ -804,8 +636,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EFAST_PASS(50), /** - * - * *
    * TX, USA.
    * 
@@ -814,8 +644,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EAGLE_PASS_EXPRESS_CARD(51), /** - * - * *
    * TX, USA.
    * 
@@ -824,8 +652,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EPTOLL(52), /** - * - * *
    * TX, USA.
    * 
@@ -834,8 +660,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EZ_CROSS(53), /** - * - * *
    * TX, USA.
    * 
@@ -844,8 +668,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EZTAG(54), /** - * - * *
    * TX, USA.
    * 
@@ -854,8 +676,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_LAREDO_TRADE_TAG(55), /** - * - * *
    * TX, USA.
    * 
@@ -864,8 +684,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_PLUSPASS(56), /** - * - * *
    * TX, USA.
    * 
@@ -874,8 +692,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_TOLLTAG(57), /** - * - * *
    * TX, USA.
    * 
@@ -884,8 +700,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_TXTAG(58), /** - * - * *
    * TX, USA.
    * 
@@ -894,8 +708,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_XPRESS_CARD(59), /** - * - * *
    * UT, USA.
    * 
@@ -904,8 +716,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD(60), /** - * - * *
    * VA, USA.
    * 
@@ -914,8 +724,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_VA_EZPASSVA(61), /** - * - * *
    * WA, USA.
    * 
@@ -924,8 +732,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WA_BREEZEBY(17), /** - * - * *
    * WA, USA.
    * 
@@ -934,8 +740,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WA_GOOD_TO_GO(1), /** - * - * *
    * WV, USA.
    * 
@@ -944,8 +748,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WV_EZPASSWV(62), /** - * - * *
    * WV, USA.
    * 
@@ -954,8 +756,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WV_MEMORIAL_BRIDGE_TICKETS(63), /** - * - * *
    * WV, USA.
    * 
@@ -967,8 +767,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -977,8 +775,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOLL_PASS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -987,8 +783,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AU_ETOLL_TAG_VALUE = 82; /** - * - * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -997,8 +791,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AU_EWAY_TAG_VALUE = 83; /** - * - * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -1008,8 +800,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int AU_LINKT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -1018,8 +808,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AR_TELEPASE_VALUE = 3; /** - * - * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -1028,8 +816,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_AUTO_EXPRESO_VALUE = 81; /** - * - * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -1038,8 +824,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_CONECTCAR_VALUE = 7; /** - * - * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -1048,8 +832,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_MOVE_MAIS_VALUE = 8; /** - * - * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -1058,8 +840,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_PASSA_RAPIDO_VALUE = 88; /** - * - * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -1068,8 +848,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_SEM_PARAR_VALUE = 9; /** - * - * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -1078,8 +856,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_TAGGY_VALUE = 10; /** - * - * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -1089,8 +865,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BR_VELOE_VALUE = 11;
   /**
-   *
-   *
    * 
    * Canada to United States border crossing.
    * 
@@ -1099,8 +873,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD_VALUE = 84; /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -1109,8 +881,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD_VALUE = 85; /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -1119,8 +889,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_BLUE_WATER_EDGE_PASS_VALUE = 18; /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -1129,8 +897,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_CONNEXION_VALUE = 19; /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -1139,8 +905,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_NEXUS_CARD_VALUE = 20; /** - * - * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -1154,8 +918,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ID_E_TOLL_VALUE = 16;
   /**
-   *
-   *
    * 
    * India.
    * 
@@ -1164,8 +926,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_FASTAG_VALUE = 78; /** - * - * *
    * India, HP state plate exemption.
    * 
@@ -1174,8 +934,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_LOCAL_HP_PLATE_EXEMPT_VALUE = 79; /** - * - * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -1185,8 +943,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_IAVE_VALUE = 90;
   /**
-   *
-   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -1196,8 +952,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_PASE_VALUE = 91;
   /**
-   *
-   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -1207,8 +961,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_QUICKPASS_VALUE = 93;
   /**
-   *
-   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -1217,8 +969,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MX_SISTEMA_TELEPEAJE_CHIHUAHUA_VALUE = 89; /** - * - * *
    * Mexico
    * 
@@ -1227,8 +977,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MX_TAG_IAVE_VALUE = 12; /** - * - * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -1238,8 +986,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_TAG_TELEVIA_VALUE = 13;
   /**
-   *
-   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -1249,8 +995,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_TELEVIA_VALUE = 92;
   /**
-   *
-   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -1260,8 +1004,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_VIAPASS_VALUE = 14;
   /**
-   *
-   *
    * 
    * AL, USA.
    * 
@@ -1270,8 +1012,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_AL_FREEDOM_PASS_VALUE = 21; /** - * - * *
    * AK, USA.
    * 
@@ -1280,8 +1020,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS_VALUE = 22; /** - * - * *
    * CA, USA.
    * 
@@ -1290,8 +1028,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CA_FASTRAK_VALUE = 4; /** - * - * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -1302,8 +1038,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int US_CA_FASTRAK_CAV_STICKER_VALUE = 86;
   /**
-   *
-   *
    * 
    * CO, USA.
    * 
@@ -1312,8 +1046,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CO_EXPRESSTOLL_VALUE = 23; /** - * - * *
    * CO, USA.
    * 
@@ -1322,8 +1054,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CO_GO_PASS_VALUE = 24; /** - * - * *
    * DE, USA.
    * 
@@ -1332,8 +1062,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_DE_EZPASSDE_VALUE = 25; /** - * - * *
    * FL, USA.
    * 
@@ -1342,8 +1070,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_BOB_SIKES_TOLL_BRIDGE_PASS_VALUE = 65; /** - * - * *
    * FL, USA.
    * 
@@ -1352,8 +1078,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD_VALUE = 66; /** - * - * *
    * FL, USA.
    * 
@@ -1362,8 +1086,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_EPASS_VALUE = 67; /** - * - * *
    * FL, USA.
    * 
@@ -1372,8 +1094,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_GIBA_TOLL_PASS_VALUE = 68; /** - * - * *
    * FL, USA.
    * 
@@ -1382,8 +1102,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_LEEWAY_VALUE = 69; /** - * - * *
    * FL, USA.
    * 
@@ -1392,8 +1110,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_SUNPASS_VALUE = 70; /** - * - * *
    * FL, USA.
    * 
@@ -1402,8 +1118,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_SUNPASS_PRO_VALUE = 71; /** - * - * *
    * IL, USA.
    * 
@@ -1412,8 +1126,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IL_EZPASSIL_VALUE = 73; /** - * - * *
    * IL, USA.
    * 
@@ -1422,8 +1134,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IL_IPASS_VALUE = 72; /** - * - * *
    * IN, USA.
    * 
@@ -1432,8 +1142,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IN_EZPASSIN_VALUE = 26; /** - * - * *
    * KS, USA.
    * 
@@ -1442,8 +1150,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_BESTPASS_HORIZON_VALUE = 27; /** - * - * *
    * KS, USA.
    * 
@@ -1452,8 +1158,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_KTAG_VALUE = 28; /** - * - * *
    * KS, USA.
    * 
@@ -1462,8 +1166,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_NATIONALPASS_VALUE = 29; /** - * - * *
    * KS, USA.
    * 
@@ -1472,8 +1174,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_PREPASS_ELITEPASS_VALUE = 30; /** - * - * *
    * KY, USA.
    * 
@@ -1482,8 +1182,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KY_RIVERLINK_VALUE = 31; /** - * - * *
    * LA, USA.
    * 
@@ -1492,8 +1190,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_LA_GEAUXPASS_VALUE = 32; /** - * - * *
    * LA, USA.
    * 
@@ -1502,8 +1198,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_LA_TOLL_TAG_VALUE = 33; /** - * - * *
    * MA, USA.
    * 
@@ -1512,8 +1206,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MA_EZPASSMA_VALUE = 6; /** - * - * *
    * MD, USA.
    * 
@@ -1522,8 +1214,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MD_EZPASSMD_VALUE = 34; /** - * - * *
    * ME, USA.
    * 
@@ -1532,8 +1222,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_ME_EZPASSME_VALUE = 35; /** - * - * *
    * MI, USA.
    * 
@@ -1542,8 +1230,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD_VALUE = 36; /** - * - * *
    * MI, USA.
    * 
@@ -1552,8 +1238,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG_VALUE = 37; /** - * - * *
    * MI, USA.
    * 
@@ -1562,8 +1246,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_IQ_PROX_CARD_VALUE = 38; /** - * - * *
    * MI, USA.
    * 
@@ -1572,8 +1254,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_MACKINAC_BRIDGE_MAC_PASS_VALUE = 39; /** - * - * *
    * MI, USA.
    * 
@@ -1582,8 +1262,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_NEXPRESS_TOLL_VALUE = 40; /** - * - * *
    * MN, USA.
    * 
@@ -1592,8 +1270,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MN_EZPASSMN_VALUE = 41; /** - * - * *
    * NC, USA.
    * 
@@ -1602,8 +1278,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_EZPASSNC_VALUE = 42; /** - * - * *
    * NC, USA.
    * 
@@ -1612,8 +1286,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_PEACH_PASS_VALUE = 87; /** - * - * *
    * NC, USA.
    * 
@@ -1622,8 +1294,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_QUICK_PASS_VALUE = 43; /** - * - * *
    * NH, USA.
    * 
@@ -1632,8 +1302,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NH_EZPASSNH_VALUE = 80; /** - * - * *
    * NJ, USA.
    * 
@@ -1642,8 +1310,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NJ_DOWNBEACH_EXPRESS_PASS_VALUE = 75; /** - * - * *
    * NJ, USA.
    * 
@@ -1652,8 +1318,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NJ_EZPASSNJ_VALUE = 74; /** - * - * *
    * NY, USA.
    * 
@@ -1662,8 +1326,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NY_EXPRESSPASS_VALUE = 76; /** - * - * *
    * NY, USA.
    * 
@@ -1672,8 +1334,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NY_EZPASSNY_VALUE = 77; /** - * - * *
    * OH, USA.
    * 
@@ -1682,8 +1342,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_OH_EZPASSOH_VALUE = 44; /** - * - * *
    * PA, USA.
    * 
@@ -1692,8 +1350,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_PA_EZPASSPA_VALUE = 45; /** - * - * *
    * RI, USA.
    * 
@@ -1702,8 +1358,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_RI_EZPASSRI_VALUE = 46; /** - * - * *
    * SC, USA.
    * 
@@ -1712,8 +1366,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_SC_PALPASS_VALUE = 47; /** - * - * *
    * TX, USA.
    * 
@@ -1722,8 +1374,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_BANCPASS_VALUE = 48; /** - * - * *
    * TX, USA.
    * 
@@ -1732,8 +1382,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_DEL_RIO_PASS_VALUE = 49; /** - * - * *
    * TX, USA.
    * 
@@ -1742,8 +1390,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EFAST_PASS_VALUE = 50; /** - * - * *
    * TX, USA.
    * 
@@ -1752,8 +1398,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EAGLE_PASS_EXPRESS_CARD_VALUE = 51; /** - * - * *
    * TX, USA.
    * 
@@ -1762,8 +1406,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EPTOLL_VALUE = 52; /** - * - * *
    * TX, USA.
    * 
@@ -1772,8 +1414,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EZ_CROSS_VALUE = 53; /** - * - * *
    * TX, USA.
    * 
@@ -1782,8 +1422,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EZTAG_VALUE = 54; /** - * - * *
    * TX, USA.
    * 
@@ -1792,8 +1430,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_LAREDO_TRADE_TAG_VALUE = 55; /** - * - * *
    * TX, USA.
    * 
@@ -1802,8 +1438,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_PLUSPASS_VALUE = 56; /** - * - * *
    * TX, USA.
    * 
@@ -1812,8 +1446,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_TOLLTAG_VALUE = 57; /** - * - * *
    * TX, USA.
    * 
@@ -1822,8 +1454,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_TXTAG_VALUE = 58; /** - * - * *
    * TX, USA.
    * 
@@ -1832,8 +1462,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_XPRESS_CARD_VALUE = 59; /** - * - * *
    * UT, USA.
    * 
@@ -1842,8 +1470,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD_VALUE = 60; /** - * - * *
    * VA, USA.
    * 
@@ -1852,8 +1478,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_VA_EZPASSVA_VALUE = 61; /** - * - * *
    * WA, USA.
    * 
@@ -1862,8 +1486,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WA_BREEZEBY_VALUE = 17; /** - * - * *
    * WA, USA.
    * 
@@ -1872,8 +1494,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WA_GOOD_TO_GO_VALUE = 1; /** - * - * *
    * WV, USA.
    * 
@@ -1882,8 +1502,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_EZPASSWV_VALUE = 62; /** - * - * *
    * WV, USA.
    * 
@@ -1892,8 +1510,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_MEMORIAL_BRIDGE_TICKETS_VALUE = 63; /** - * - * *
    * WV, USA.
    * 
@@ -1902,6 +1518,7 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_NEWELL_TOLL_BRIDGE_TICKET_VALUE = 64; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1926,227 +1543,138 @@ public static TollPass valueOf(int value) { */ public static TollPass forNumber(int value) { switch (value) { - case 0: - return TOLL_PASS_UNSPECIFIED; - case 82: - return AU_ETOLL_TAG; - case 83: - return AU_EWAY_TAG; - case 2: - return AU_LINKT; - case 3: - return AR_TELEPASE; - case 81: - return BR_AUTO_EXPRESO; - case 7: - return BR_CONECTCAR; - case 8: - return BR_MOVE_MAIS; - case 88: - return BR_PASSA_RAPIDO; - case 9: - return BR_SEM_PARAR; - case 10: - return BR_TAGGY; - case 11: - return BR_VELOE; - case 84: - return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; - case 85: - return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; - case 18: - return CA_US_BLUE_WATER_EDGE_PASS; - case 19: - return CA_US_CONNEXION; - case 20: - return CA_US_NEXUS_CARD; - case 16: - return ID_E_TOLL; - case 78: - return IN_FASTAG; - case 79: - return IN_LOCAL_HP_PLATE_EXEMPT; - case 90: - return MX_IAVE; - case 91: - return MX_PASE; - case 93: - return MX_QUICKPASS; - case 89: - return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; - case 12: - return MX_TAG_IAVE; - case 13: - return MX_TAG_TELEVIA; - case 92: - return MX_TELEVIA; - case 14: - return MX_VIAPASS; - case 21: - return US_AL_FREEDOM_PASS; - case 22: - return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; - case 4: - return US_CA_FASTRAK; - case 86: - return US_CA_FASTRAK_CAV_STICKER; - case 23: - return US_CO_EXPRESSTOLL; - case 24: - return US_CO_GO_PASS; - case 25: - return US_DE_EZPASSDE; - case 65: - return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; - case 66: - return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; - case 67: - return US_FL_EPASS; - case 68: - return US_FL_GIBA_TOLL_PASS; - case 69: - return US_FL_LEEWAY; - case 70: - return US_FL_SUNPASS; - case 71: - return US_FL_SUNPASS_PRO; - case 73: - return US_IL_EZPASSIL; - case 72: - return US_IL_IPASS; - case 26: - return US_IN_EZPASSIN; - case 27: - return US_KS_BESTPASS_HORIZON; - case 28: - return US_KS_KTAG; - case 29: - return US_KS_NATIONALPASS; - case 30: - return US_KS_PREPASS_ELITEPASS; - case 31: - return US_KY_RIVERLINK; - case 32: - return US_LA_GEAUXPASS; - case 33: - return US_LA_TOLL_TAG; - case 6: - return US_MA_EZPASSMA; - case 34: - return US_MD_EZPASSMD; - case 35: - return US_ME_EZPASSME; - case 36: - return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; - case 37: - return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; - case 38: - return US_MI_IQ_PROX_CARD; - case 39: - return US_MI_MACKINAC_BRIDGE_MAC_PASS; - case 40: - return US_MI_NEXPRESS_TOLL; - case 41: - return US_MN_EZPASSMN; - case 42: - return US_NC_EZPASSNC; - case 87: - return US_NC_PEACH_PASS; - case 43: - return US_NC_QUICK_PASS; - case 80: - return US_NH_EZPASSNH; - case 75: - return US_NJ_DOWNBEACH_EXPRESS_PASS; - case 74: - return US_NJ_EZPASSNJ; - case 76: - return US_NY_EXPRESSPASS; - case 77: - return US_NY_EZPASSNY; - case 44: - return US_OH_EZPASSOH; - case 45: - return US_PA_EZPASSPA; - case 46: - return US_RI_EZPASSRI; - case 47: - return US_SC_PALPASS; - case 48: - return US_TX_BANCPASS; - case 49: - return US_TX_DEL_RIO_PASS; - case 50: - return US_TX_EFAST_PASS; - case 51: - return US_TX_EAGLE_PASS_EXPRESS_CARD; - case 52: - return US_TX_EPTOLL; - case 53: - return US_TX_EZ_CROSS; - case 54: - return US_TX_EZTAG; - case 55: - return US_TX_LAREDO_TRADE_TAG; - case 56: - return US_TX_PLUSPASS; - case 57: - return US_TX_TOLLTAG; - case 58: - return US_TX_TXTAG; - case 59: - return US_TX_XPRESS_CARD; - case 60: - return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; - case 61: - return US_VA_EZPASSVA; - case 17: - return US_WA_BREEZEBY; - case 1: - return US_WA_GOOD_TO_GO; - case 62: - return US_WV_EZPASSWV; - case 63: - return US_WV_MEMORIAL_BRIDGE_TICKETS; - case 64: - return US_WV_NEWELL_TOLL_BRIDGE_TICKET; - default: - return null; + case 0: return TOLL_PASS_UNSPECIFIED; + case 82: return AU_ETOLL_TAG; + case 83: return AU_EWAY_TAG; + case 2: return AU_LINKT; + case 3: return AR_TELEPASE; + case 81: return BR_AUTO_EXPRESO; + case 7: return BR_CONECTCAR; + case 8: return BR_MOVE_MAIS; + case 88: return BR_PASSA_RAPIDO; + case 9: return BR_SEM_PARAR; + case 10: return BR_TAGGY; + case 11: return BR_VELOE; + case 84: return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; + case 85: return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; + case 18: return CA_US_BLUE_WATER_EDGE_PASS; + case 19: return CA_US_CONNEXION; + case 20: return CA_US_NEXUS_CARD; + case 16: return ID_E_TOLL; + case 78: return IN_FASTAG; + case 79: return IN_LOCAL_HP_PLATE_EXEMPT; + case 90: return MX_IAVE; + case 91: return MX_PASE; + case 93: return MX_QUICKPASS; + case 89: return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; + case 12: return MX_TAG_IAVE; + case 13: return MX_TAG_TELEVIA; + case 92: return MX_TELEVIA; + case 14: return MX_VIAPASS; + case 21: return US_AL_FREEDOM_PASS; + case 22: return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; + case 4: return US_CA_FASTRAK; + case 86: return US_CA_FASTRAK_CAV_STICKER; + case 23: return US_CO_EXPRESSTOLL; + case 24: return US_CO_GO_PASS; + case 25: return US_DE_EZPASSDE; + case 65: return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; + case 66: return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; + case 67: return US_FL_EPASS; + case 68: return US_FL_GIBA_TOLL_PASS; + case 69: return US_FL_LEEWAY; + case 70: return US_FL_SUNPASS; + case 71: return US_FL_SUNPASS_PRO; + case 73: return US_IL_EZPASSIL; + case 72: return US_IL_IPASS; + case 26: return US_IN_EZPASSIN; + case 27: return US_KS_BESTPASS_HORIZON; + case 28: return US_KS_KTAG; + case 29: return US_KS_NATIONALPASS; + case 30: return US_KS_PREPASS_ELITEPASS; + case 31: return US_KY_RIVERLINK; + case 32: return US_LA_GEAUXPASS; + case 33: return US_LA_TOLL_TAG; + case 6: return US_MA_EZPASSMA; + case 34: return US_MD_EZPASSMD; + case 35: return US_ME_EZPASSME; + case 36: return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; + case 37: return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; + case 38: return US_MI_IQ_PROX_CARD; + case 39: return US_MI_MACKINAC_BRIDGE_MAC_PASS; + case 40: return US_MI_NEXPRESS_TOLL; + case 41: return US_MN_EZPASSMN; + case 42: return US_NC_EZPASSNC; + case 87: return US_NC_PEACH_PASS; + case 43: return US_NC_QUICK_PASS; + case 80: return US_NH_EZPASSNH; + case 75: return US_NJ_DOWNBEACH_EXPRESS_PASS; + case 74: return US_NJ_EZPASSNJ; + case 76: return US_NY_EXPRESSPASS; + case 77: return US_NY_EZPASSNY; + case 44: return US_OH_EZPASSOH; + case 45: return US_PA_EZPASSPA; + case 46: return US_RI_EZPASSRI; + case 47: return US_SC_PALPASS; + case 48: return US_TX_BANCPASS; + case 49: return US_TX_DEL_RIO_PASS; + case 50: return US_TX_EFAST_PASS; + case 51: return US_TX_EAGLE_PASS_EXPRESS_CARD; + case 52: return US_TX_EPTOLL; + case 53: return US_TX_EZ_CROSS; + case 54: return US_TX_EZTAG; + case 55: return US_TX_LAREDO_TRADE_TAG; + case 56: return US_TX_PLUSPASS; + case 57: return US_TX_TOLLTAG; + case 58: return US_TX_TXTAG; + case 59: return US_TX_XPRESS_CARD; + case 60: return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; + case 61: return US_VA_EZPASSVA; + case 17: return US_WA_BREEZEBY; + case 1: return US_WA_GOOD_TO_GO; + case 62: return US_WV_EZPASSWV; + case 63: return US_WV_MEMORIAL_BRIDGE_TICKETS; + case 64: return US_WV_NEWELL_TOLL_BRIDGE_TICKET; + 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< + TollPass> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TollPass findValueByNumber(int number) { + return TollPass.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TollPass findValueByNumber(int number) { - return TollPass.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.routing.v2.TollPassesProto.getDescriptor().getEnumTypes().get(0); } private static final TollPass[] VALUES = values(); - public static TollPass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TollPass 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; @@ -2162,3 +1690,4 @@ private TollPass(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.TollPass) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java new file mode 100644 index 000000000000..514ae2547f4f --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/toll_passes.proto + +package com.google.maps.routing.v2; + +public final class TollPassesProto { + private TollPassesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/toll_passes.pro" + + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + + "ollPassesProtoP\001Z=google.golang.org/genp" + + "roto/googleapis/maps/routing/v2;routing\370" + + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + + "ting::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java similarity index 66% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java index 1b67a78379a8..cdb7fcb40100 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java @@ -1,36 +1,18 @@ -/* - * 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/routing/v2/units.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values that specify the unit of measure used in the display.
  * 
* * Protobuf enum {@code google.maps.routing.v2.Units} */ -public enum Units implements com.google.protobuf.ProtocolMessageEnum { +public enum Units + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -40,8 +22,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum {
    */
   UNITS_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Metric units of measure.
    * 
@@ -50,8 +30,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ METRIC(1), /** - * - * *
    * Imperial (English) units of measure.
    * 
@@ -63,8 +41,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -74,8 +50,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UNITS_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Metric units of measure.
    * 
@@ -84,8 +58,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_VALUE = 1; /** - * - * *
    * Imperial (English) units of measure.
    * 
@@ -94,6 +66,7 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPERIAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,49 +91,49 @@ public static Units valueOf(int value) { */ public static Units forNumber(int value) { switch (value) { - case 0: - return UNITS_UNSPECIFIED; - case 1: - return METRIC; - case 2: - return IMPERIAL; - default: - return null; + case 0: return UNITS_UNSPECIFIED; + case 1: return METRIC; + case 2: return IMPERIAL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Units findValueByNumber(int number) { - return Units.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Units> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Units findValueByNumber(int number) { + return Units.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.routing.v2.UnitsProto.getDescriptor().getEnumTypes().get(0); } private static final Units[] VALUES = values(); - public static Units valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Units 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; @@ -176,3 +149,4 @@ private Units(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Units) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java new file mode 100644 index 000000000000..f37ea450c892 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java @@ -0,0 +1,43 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/units.proto + +package com.google.maps.routing.v2; + +public final class UnitsProto { + private UnitsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/units.proto\022\026go" + + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + + "oP\001Z=google.golang.org/genproto/googleap" + + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java index 803f9265f976..ecf3a8c3a540 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.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/routing/v2/vehicle_emission_type.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values describing the vehicle's emission type.
  * Applies only to the DRIVE travel mode.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.VehicleEmissionType}
  */
-public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEnum {
+public enum VehicleEmissionType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No emission type specified. Default to GASOLINE.
    * 
@@ -40,8 +22,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ VEHICLE_EMISSION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -50,8 +30,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ GASOLINE(1), /** - * - * *
    * Electricity powered vehicle.
    * 
@@ -60,8 +38,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ ELECTRIC(2), /** - * - * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -70,8 +46,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ HYBRID(3), /** - * - * *
    * Diesel fueled vehicle.
    * 
@@ -83,8 +57,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
    * No emission type specified. Default to GASOLINE.
    * 
@@ -93,8 +65,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int VEHICLE_EMISSION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -103,8 +73,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int GASOLINE_VALUE = 1; /** - * - * *
    * Electricity powered vehicle.
    * 
@@ -113,8 +81,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int ELECTRIC_VALUE = 2; /** - * - * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -123,8 +89,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int HYBRID_VALUE = 3; /** - * - * *
    * Diesel fueled vehicle.
    * 
@@ -133,6 +97,7 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int DIESEL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -157,18 +122,12 @@ public static VehicleEmissionType valueOf(int value) { */ public static VehicleEmissionType forNumber(int value) { switch (value) { - case 0: - return VEHICLE_EMISSION_TYPE_UNSPECIFIED; - case 1: - return GASOLINE; - case 2: - return ELECTRIC; - case 3: - return HYBRID; - case 4: - return DIESEL; - default: - return null; + case 0: return VEHICLE_EMISSION_TYPE_UNSPECIFIED; + case 1: return GASOLINE; + case 2: return ELECTRIC; + case 3: return HYBRID; + case 4: return DIESEL; + default: return null; } } @@ -176,31 +135,29 @@ public static VehicleEmissionType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VehicleEmissionType findValueByNumber(int number) { - return VehicleEmissionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VehicleEmissionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VehicleEmissionType findValueByNumber(int number) { + return VehicleEmissionType.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.routing.v2.VehicleEmissionTypeProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor().getEnumTypes().get(0); } private static final VehicleEmissionType[] VALUES = values(); @@ -208,7 +165,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VehicleEmissionType 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; @@ -224,3 +182,4 @@ private VehicleEmissionType(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.VehicleEmissionType) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java new file mode 100644 index 000000000000..675414ec1b98 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/vehicle_emission_type.proto + +package com.google.maps.routing.v2; + +public final class VehicleEmissionTypeProto { + private VehicleEmissionTypeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/maps/routing/v2/vehicle_emissio" + + "n_type.proto\022\026google.maps.routing.v2*p\n\023" + + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + + "oogle.maps.routing.v2B\030VehicleEmissionTy" + + "peProtoP\001Z=google.golang.org/genproto/go" + + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + + "2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java similarity index 65% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java index 6a11f5ebfb4d..647651f4e449 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates the vehicle information, such as the license plate last
  * character.
@@ -28,86 +11,74 @@
  *
  * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
  */
-public final class VehicleInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VehicleInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.VehicleInfo)
     VehicleInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VehicleInfo.newBuilder() to construct.
   private VehicleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VehicleInfo() {
     emissionType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VehicleInfo();
   }
 
   @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.routing.v2.VehicleInfoProto
-        .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.VehicleInfoProto
-        .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.VehicleInfo.class,
-            com.google.maps.routing.v2.VehicleInfo.Builder.class);
+            com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
   }
 
   public static final int EMISSION_TYPE_FIELD_NUMBER = 2;
   private int emissionType_;
   /**
-   *
-   *
    * 
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override - public int getEmissionTypeValue() { + @java.lang.Override public int getEmissionTypeValue() { return emissionType_; } /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ - @java.lang.Override - public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { + @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = - com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,10 +90,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (emissionType_ - != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, emissionType_); } getUnknownFields().writeTo(output); @@ -134,10 +104,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (emissionType_ - != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, emissionType_); + if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, emissionType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,7 +116,7 @@ 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.routing.v2.VehicleInfo)) { return super.equals(obj); @@ -173,104 +142,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.VehicleInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.VehicleInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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; } /** - * - * *
    * Encapsulates the vehicle information, such as the license plate last
    * character.
@@ -278,32 +240,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
    */
-  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.routing.v2.VehicleInfo)
       com.google.maps.routing.v2.VehicleInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.VehicleInfo.class,
-              com.google.maps.routing.v2.VehicleInfo.Builder.class);
+              com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.VehicleInfo.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();
@@ -313,9 +276,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
@@ -334,8 +297,7 @@ public com.google.maps.routing.v2.VehicleInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.VehicleInfo buildPartial() {
-      com.google.maps.routing.v2.VehicleInfo result =
-          new com.google.maps.routing.v2.VehicleInfo(this);
+      com.google.maps.routing.v2.VehicleInfo result = new com.google.maps.routing.v2.VehicleInfo(this);
       result.emissionType_ = emissionType_;
       onBuilt();
       return result;
@@ -345,39 +307,38 @@ public com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo) {
-        return mergeFrom((com.google.maps.routing.v2.VehicleInfo) other);
+        return mergeFrom((com.google.maps.routing.v2.VehicleInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,19 +376,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16:
-              {
-                emissionType_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 16: {
+              emissionType_ = input.readEnum();
+
+              break;
+            } // case 16
+            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) {
@@ -440,69 +399,55 @@ public Builder mergeFrom(
 
     private int emissionType_ = 0;
     /**
-     *
-     *
      * 
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override - public int getEmissionTypeValue() { + @java.lang.Override public int getEmissionTypeValue() { return emissionType_; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @param value The enum numeric value on the wire for emissionType to set. * @return This builder for chaining. */ public Builder setEmissionTypeValue(int value) { - + emissionType_ = value; onChanged(); return this; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = - com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @param value The emissionType to set. * @return This builder for chaining. */ @@ -510,32 +455,29 @@ public Builder setEmissionType(com.google.maps.routing.v2.VehicleEmissionType va if (value == null) { throw new NullPointerException(); } - + emissionType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return This builder for chaining. */ public Builder clearEmissionType() { - + emissionType_ = 0; 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); } @@ -545,12 +487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.VehicleInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.VehicleInfo) private static final com.google.maps.routing.v2.VehicleInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.VehicleInfo(); } @@ -559,27 +501,27 @@ public static com.google.maps.routing.v2.VehicleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VehicleInfo 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 VehicleInfo 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; @@ -594,4 +536,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.VehicleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java similarity index 57% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java index b5cfc41e2b51..ab13420f1dfa 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java @@ -1,51 +1,29 @@ -/* - * 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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; -public interface VehicleInfoOrBuilder - extends +public interface VehicleInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.VehicleInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ int getEmissionTypeValue(); /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ com.google.maps.routing.v2.VehicleEmissionType getEmissionType(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java new file mode 100644 index 000000000000..c3eebf302c3e --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/vehicle_info.proto + +package com.google.maps.routing.v2; + +public final class VehicleInfoProto { + private VehicleInfoProto() {} + 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_routing_v2_VehicleInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + + "oto\022\026google.maps.routing.v2\0322google/maps" + + "/routing/v2/vehicle_emission_type.proto\"" + + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + + "google.maps.routing.v2.VehicleEmissionTy" + + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + + "leInfoProtoP\001Z=google.golang.org/genprot" + + "o/googleapis/maps/routing/v2;routing\370\001\001\242" + + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + + "g::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_VehicleInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_VehicleInfo_descriptor, + new java.lang.String[] { "EmissionType", }); + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java similarity index 74% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java index cd404bd844db..412d2755ce5f 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.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/routing/v2/waypoint.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
  * route, and include intermediate stops along the route.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Waypoint}
  */
-public final class Waypoint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Waypoint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Waypoint)
     WaypointOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Waypoint.newBuilder() to construct.
   private Waypoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Waypoint() {}
+  private Waypoint() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Waypoint();
   }
 
   @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.routing.v2.WaypointProto
-        .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.WaypointProto
-        .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.Waypoint.class,
-            com.google.maps.routing.v2.Waypoint.Builder.class);
+            com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
   }
 
   private int locationTypeCase_ = 0;
   private java.lang.Object locationType_;
-
   public enum LocationTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION(1),
     PLACE_ID(2),
     LOCATIONTYPE_NOT_SET(0);
     private final int value;
-
     private LocationTypeCase(int value) {
       this.value = value;
     }
@@ -93,37 +72,31 @@ public static LocationTypeCase valueOf(int value) {
 
     public static LocationTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return LOCATION;
-        case 2:
-          return PLACE_ID;
-        case 0:
-          return LOCATIONTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return LOCATION;
+        case 2: return PLACE_ID;
+        case 0: return LOCATIONTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationTypeCase getLocationTypeCase() {
-    return LocationTypeCase.forNumber(locationTypeCase_);
+  public LocationTypeCase
+  getLocationTypeCase() {
+    return LocationTypeCase.forNumber(
+        locationTypeCase_);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -131,27 +104,22 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ @java.lang.Override public com.google.maps.routing.v2.Location getLocation() { if (locationTypeCase_ == 1) { - return (com.google.maps.routing.v2.Location) locationType_; + return (com.google.maps.routing.v2.Location) locationType_; } return com.google.maps.routing.v2.Location.getDefaultInstance(); } /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -162,35 +130,29 @@ public com.google.maps.routing.v2.Location getLocation() {
   @java.lang.Override
   public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
     if (locationTypeCase_ == 1) {
-      return (com.google.maps.routing.v2.Location) locationType_;
+       return (com.google.maps.routing.v2.Location) locationType_;
     }
     return com.google.maps.routing.v2.Location.getDefaultInstance();
   }
 
   public static final int PLACE_ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The placeId. */ public java.lang.String getPlaceId() { @@ -201,7 +163,8 @@ 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -210,24 +173,23 @@ public java.lang.String getPlaceId() { } } /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -240,8 +202,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { public static final int VIA_FIELD_NUMBER = 3; private boolean via_; /** - * - * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -257,7 +217,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() {
    * 
* * bool via = 3; - * * @return The via. */ @java.lang.Override @@ -268,8 +227,6 @@ public boolean getVia() { public static final int VEHICLE_STOPOVER_FIELD_NUMBER = 4; private boolean vehicleStopover_; /** - * - * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -279,7 +236,6 @@ public boolean getVia() {
    * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ @java.lang.Override @@ -290,8 +246,6 @@ public boolean getVehicleStopover() { public static final int SIDE_OF_ROAD_FIELD_NUMBER = 5; private boolean sideOfRoad_; /** - * - * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -302,7 +256,6 @@ public boolean getVehicleStopover() {
    * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ @java.lang.Override @@ -311,7 +264,6 @@ public boolean getSideOfRoad() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +275,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 (locationTypeCase_ == 1) { output.writeMessage(1, (com.google.maps.routing.v2.Location) locationType_); } @@ -349,21 +302,23 @@ public int getSerializedSize() { size = 0; if (locationTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.maps.routing.v2.Location) locationType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.maps.routing.v2.Location) locationType_); } if (locationTypeCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationType_); } if (via_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, via_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, via_); } if (vehicleStopover_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, vehicleStopover_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, vehicleStopover_); } if (sideOfRoad_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, sideOfRoad_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, sideOfRoad_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,23 +328,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.routing.v2.Waypoint)) { return super.equals(obj); } com.google.maps.routing.v2.Waypoint other = (com.google.maps.routing.v2.Waypoint) obj; - if (getVia() != other.getVia()) return false; - if (getVehicleStopover() != other.getVehicleStopover()) return false; - if (getSideOfRoad() != other.getSideOfRoad()) return false; + if (getVia() + != other.getVia()) return false; + if (getVehicleStopover() + != other.getVehicleStopover()) return false; + if (getSideOfRoad() + != other.getSideOfRoad()) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; break; case 2: - if (!getPlaceId().equals(other.getPlaceId())) return false; + if (!getPlaceId() + .equals(other.getPlaceId())) return false; break; case 0: default: @@ -406,11 +366,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVia()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVia()); hash = (37 * hash) + VEHICLE_STOPOVER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVehicleStopover()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVehicleStopover()); hash = (37 * hash) + SIDE_OF_ROAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSideOfRoad()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSideOfRoad()); switch (locationTypeCase_) { case 1: hash = (37 * hash) + LOCATION_FIELD_NUMBER; @@ -428,103 +391,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Waypoint parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Waypoint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(com.google.protobuf.ByteString data) + public static com.google.maps.routing.v2.Waypoint parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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; } /** - * - * *
    * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
    * route, and include intermediate stops along the route.
@@ -532,32 +489,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.Waypoint}
    */
-  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.routing.v2.Waypoint)
       com.google.maps.routing.v2.WaypointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Waypoint.class,
-              com.google.maps.routing.v2.Waypoint.Builder.class);
+              com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Waypoint.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();
@@ -576,9 +534,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
@@ -620,39 +578,38 @@ public com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint) {
-        return mergeFrom((com.google.maps.routing.v2.Waypoint) other);
+        return mergeFrom((com.google.maps.routing.v2.Waypoint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -671,22 +628,19 @@ public Builder mergeFrom(com.google.maps.routing.v2.Waypoint other) {
         setSideOfRoad(other.getSideOfRoad());
       }
       switch (other.getLocationTypeCase()) {
-        case LOCATION:
-          {
-            mergeLocation(other.getLocation());
-            break;
-          }
-        case PLACE_ID:
-          {
-            locationTypeCase_ = 2;
-            locationType_ = other.locationType_;
-            onChanged();
-            break;
-          }
-        case LOCATIONTYPE_NOT_SET:
-          {
-            break;
-          }
+        case LOCATION: {
+          mergeLocation(other.getLocation());
+          break;
+        }
+        case PLACE_ID: {
+          locationTypeCase_ = 2;
+          locationType_ = other.locationType_;
+          onChanged();
+          break;
+        }
+        case LOCATIONTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -714,44 +668,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry);
-                locationTypeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                locationTypeCase_ = 2;
-                locationType_ = s;
-                break;
-              } // case 18
-            case 24:
-              {
-                via_ = input.readBool();
+            case 10: {
+              input.readMessage(
+                  getLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              locationTypeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              locationTypeCase_ = 2;
+              locationType_ = s;
+              break;
+            } // case 18
+            case 24: {
+              via_ = input.readBool();
 
-                break;
-              } // case 24
-            case 32:
-              {
-                vehicleStopover_ = input.readBool();
+              break;
+            } // case 24
+            case 32: {
+              vehicleStopover_ = input.readBool();
 
-                break;
-              } // case 32
-            case 40:
-              {
-                sideOfRoad_ = input.readBool();
+              break;
+            } // case 32
+            case 40: {
+              sideOfRoad_ = input.readBool();
 
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 40
+            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) {
@@ -761,12 +711,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int locationTypeCase_ = 0;
     private java.lang.Object locationType_;
-
-    public LocationTypeCase getLocationTypeCase() {
-      return LocationTypeCase.forNumber(locationTypeCase_);
+    public LocationTypeCase
+        getLocationTypeCase() {
+      return LocationTypeCase.forNumber(
+          locationTypeCase_);
     }
 
     public Builder clearLocationType() {
@@ -776,21 +726,16 @@ public Builder clearLocationType() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        locationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> locationBuilder_;
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -798,15 +743,12 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** - * - * *
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ @java.lang.Override @@ -824,8 +766,6 @@ public com.google.maps.routing.v2.Location getLocation() { } } /** - * - * *
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -847,8 +787,6 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -856,7 +794,8 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location location = 1;
      */
-    public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (locationBuilder_ == null) {
         locationType_ = builderForValue.build();
         onChanged();
@@ -867,8 +806,6 @@ public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -878,13 +815,10 @@ public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderFo
      */
     public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       if (locationBuilder_ == null) {
-        if (locationTypeCase_ == 1
-            && locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
-          locationType_ =
-              com.google.maps.routing.v2.Location.newBuilder(
-                      (com.google.maps.routing.v2.Location) locationType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (locationTypeCase_ == 1 &&
+            locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
+          locationType_ = com.google.maps.routing.v2.Location.newBuilder((com.google.maps.routing.v2.Location) locationType_)
+              .mergeFrom(value).buildPartial();
         } else {
           locationType_ = value;
         }
@@ -900,8 +834,6 @@ public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -926,8 +858,6 @@ public Builder clearLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -939,8 +869,6 @@ public com.google.maps.routing.v2.Location.Builder getLocationBuilder() {
       return getLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -960,8 +888,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -970,39 +896,30 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
      * .google.maps.routing.v2.Location location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
         if (!(locationTypeCase_ == 1)) {
           locationType_ = com.google.maps.routing.v2.Location.getDefaultInstance();
         }
-        locationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
+        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
                 (com.google.maps.routing.v2.Location) locationType_,
                 getParentForChildren(),
                 isClean());
         locationType_ = null;
       }
       locationTypeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return locationBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ @java.lang.Override @@ -1010,14 +927,11 @@ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return The placeId. */ @java.lang.Override @@ -1027,7 +941,8 @@ public java.lang.String getPlaceId() { ref = locationType_; } 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -1038,25 +953,24 @@ public java.lang.String getPlaceId() { } } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -1066,35 +980,30 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { } } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @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(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return This builder for chaining. */ public Builder clearPlaceId() { @@ -1106,32 +1015,28 @@ public Builder clearPlaceId() { return this; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @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); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private boolean via_; + private boolean via_ ; /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1147,7 +1052,6 @@ public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool via = 3; - * * @return The via. */ @java.lang.Override @@ -1155,8 +1059,6 @@ public boolean getVia() { return via_; } /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1172,19 +1074,16 @@ public boolean getVia() {
      * 
* * bool via = 3; - * * @param value The via to set. * @return This builder for chaining. */ public Builder setVia(boolean value) { - + via_ = value; onChanged(); return this; } /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1200,20 +1099,17 @@ public Builder setVia(boolean value) {
      * 
* * bool via = 3; - * * @return This builder for chaining. */ public Builder clearVia() { - + via_ = false; onChanged(); return this; } - private boolean vehicleStopover_; + private boolean vehicleStopover_ ; /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1223,7 +1119,6 @@ public Builder clearVia() {
      * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ @java.lang.Override @@ -1231,8 +1126,6 @@ public boolean getVehicleStopover() { return vehicleStopover_; } /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1242,19 +1135,16 @@ public boolean getVehicleStopover() {
      * 
* * bool vehicle_stopover = 4; - * * @param value The vehicleStopover to set. * @return This builder for chaining. */ public Builder setVehicleStopover(boolean value) { - + vehicleStopover_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1264,20 +1154,17 @@ public Builder setVehicleStopover(boolean value) {
      * 
* * bool vehicle_stopover = 4; - * * @return This builder for chaining. */ public Builder clearVehicleStopover() { - + vehicleStopover_ = false; onChanged(); return this; } - private boolean sideOfRoad_; + private boolean sideOfRoad_ ; /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1288,7 +1175,6 @@ public Builder clearVehicleStopover() {
      * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ @java.lang.Override @@ -1296,8 +1182,6 @@ public boolean getSideOfRoad() { return sideOfRoad_; } /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1308,19 +1192,16 @@ public boolean getSideOfRoad() {
      * 
* * bool side_of_road = 5; - * * @param value The sideOfRoad to set. * @return This builder for chaining. */ public Builder setSideOfRoad(boolean value) { - + sideOfRoad_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1331,18 +1212,17 @@ public Builder setSideOfRoad(boolean value) {
      * 
* * bool side_of_road = 5; - * * @return This builder for chaining. */ public Builder clearSideOfRoad() { - + sideOfRoad_ = 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); } @@ -1352,12 +1232,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Waypoint) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Waypoint) private static final com.google.maps.routing.v2.Waypoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Waypoint(); } @@ -1366,27 +1246,27 @@ public static com.google.maps.routing.v2.Waypoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Waypoint 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 Waypoint 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; @@ -1401,4 +1281,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Waypoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java similarity index 81% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java index 01e9e24bfa2b..b5fe89a563b7 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java @@ -1,57 +1,33 @@ -/* - * 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/routing/v2/waypoint.proto package com.google.maps.routing.v2; -public interface WaypointOrBuilder - extends +public interface WaypointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Waypoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ com.google.maps.routing.v2.Location getLocation(); /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -62,45 +38,35 @@ public interface WaypointOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ boolean hasPlaceId(); /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The placeId. */ java.lang.String getPlaceId(); /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The bytes for placeId. */ - com.google.protobuf.ByteString getPlaceIdBytes(); + com.google.protobuf.ByteString + getPlaceIdBytes(); /** - * - * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -116,14 +82,11 @@ public interface WaypointOrBuilder
    * 
* * bool via = 3; - * * @return The via. */ boolean getVia(); /** - * - * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -133,14 +96,11 @@ public interface WaypointOrBuilder
    * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ boolean getVehicleStopover(); /** - * - * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -151,7 +111,6 @@ public interface WaypointOrBuilder
    * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ boolean getSideOfRoad(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java new file mode 100644 index 000000000000..06d30c201f06 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java @@ -0,0 +1,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/waypoint.proto + +package com.google.maps.routing.v2; + +public final class WaypointProto { + private WaypointProto() {} + 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_routing_v2_Waypoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + + "\026google.maps.routing.v2\032%google/maps/rou" + + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + + "gle.golang.org/genproto/googleapis/maps/" + + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + + "\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.LocationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Waypoint_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Waypoint_descriptor, + new java.lang.String[] { "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", }); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto similarity index 97% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto index f78b22c7d694..7ce7c294fdcc 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto @@ -86,6 +86,10 @@ message Route { // and in the event of rerouting honor the original intention when Routes // ComputeRoutes is called. Customers should treat this token as an // opaque blob. + // NOTE: `Route.route_token` is only available for requests that have set + // `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or + // `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for + // requests that have Via waypoints. string route_token = 12; } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto similarity index 84% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto index adc091e166fd..2eb9e5c29236 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto @@ -27,6 +27,10 @@ option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; // A set of values used to specify the mode of travel. +// NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes +// be missing clear sidewalks, pedestrian paths, or bicycling paths. +// You must display this warning to the user for all walking, bicycling, and +// two-wheel routes that you display in your app. enum RouteTravelMode { // No travel mode specified. Defaults to `DRIVE`. TRAVEL_MODE_UNSPECIFIED = 0; diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto similarity index 87% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto index 7eb2229d5b3d..3a904ef8995a 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto @@ -122,7 +122,8 @@ service Routes { // be automatically included in the response. // * Selecting only the fields that you need results in a smaller response // size, and thus higher network throughput. - rpc ComputeRouteMatrix(ComputeRouteMatrixRequest) returns (stream RouteMatrixElement) { + rpc ComputeRouteMatrix(ComputeRouteMatrixRequest) + returns (stream RouteMatrixElement) { option (google.api.http) = { post: "/distanceMatrix/v2:computeRouteMatrix" body: "*" @@ -163,20 +164,24 @@ message ComputeRoutesRequest { // mechanism to use a different option when the preferred option does not give // a valid result. You can specify this option only when the `travel_mode` is // `DRIVE` or `TWO_WHEELER`, otherwise the request fails. - RoutingPreference routing_preference = 5 [(google.api.field_behavior) = OPTIONAL]; + RoutingPreference routing_preference = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies your preference for the quality of the polyline. PolylineQuality polyline_quality = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies the preferred encoding for the polyline. - PolylineEncoding polyline_encoding = 12 [(google.api.field_behavior) = OPTIONAL]; + PolylineEncoding polyline_encoding = 12 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The departure time. If you don't set this value, then this value // defaults to the time that you made the request. If you set this value to a // time that has already occurred, then the request fails. - google.protobuf.Timestamp departure_time = 7 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp departure_time = 7 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies whether to calculate alternate routes in addition to the route. + // Optional. Specifies whether to calculate alternate routes in addition to + // the route. bool compute_alternative_routes = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. A set of conditions to satisfy that affect the way routes are @@ -198,13 +203,13 @@ message ComputeRoutesRequest { // units are inferred from the location of the request. Units units = 11 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies what reference routes to calculate as part of the request in - // addition to the default route. - // A reference route is a route with a different route calculation objective - // than the default route. For example an FUEL_EFFICIENT reference route - // calculation takes into account various parameters that would generate an - // optimal fuel efficient route. - repeated ReferenceRoute requested_reference_routes = 14 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies what reference routes to calculate as part of the + // request in addition to the default route. A reference route is a route with + // a different route calculation objective than the default route. For example + // an FUEL_EFFICIENT reference route calculation takes into account various + // parameters that would generate an optimal fuel efficient route. + repeated ReferenceRoute requested_reference_routes = 14 + [(google.api.field_behavior) = OPTIONAL]; } // ComputeRoutes the response message. @@ -225,8 +230,8 @@ message ComputeRoutesResponse { // ComputeRouteMatrix request message message ComputeRouteMatrixRequest { - // Required. Array of origins, which determines the rows of the response matrix. - // Several size restrictions apply to the cardinality of origins and + // Required. Array of origins, which determines the rows of the response + // matrix. Several size restrictions apply to the cardinality of origins and // destinations: // // * The number of elements (origins × destinations) must be no greater than @@ -235,27 +240,32 @@ message ComputeRouteMatrixRequest { // 100 if routing_preference is set to `TRAFFIC_AWARE_OPTIMAL`. // * The number of waypoints (origins + destinations) specified as `place_id` // must be no greater than 50. - repeated RouteMatrixOrigin origins = 1 [(google.api.field_behavior) = REQUIRED]; + repeated RouteMatrixOrigin origins = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. Array of destinations, which determines the columns of the response matrix. - repeated RouteMatrixDestination destinations = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Array of destinations, which determines the columns of the + // response matrix. + repeated RouteMatrixDestination destinations = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. Specifies the mode of transportation. RouteTravelMode travel_mode = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies how to compute the route. The server attempts to use the selected - // routing preference to compute the route. If the routing preference results - // in an error or an extra long latency, an error is returned. In the future, - // we might implement a fallback mechanism to use a different option when the - // preferred option does not give a valid result. You can specify this option - // only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the - // request fails. - RoutingPreference routing_preference = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The departure time. If you don't set this value, this defaults to the time - // that you made the request. If you set this value to a time that has already - // occurred, the request fails. - google.protobuf.Timestamp departure_time = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies how to compute the route. The server attempts to use + // the selected routing preference to compute the route. If the routing + // preference results in an error or an extra long latency, an error is + // returned. In the future, we might implement a fallback mechanism to use a + // different option when the preferred option does not give a valid result. + // You can specify this option only when the `travel_mode` is `DRIVE` or + // `TWO_WHEELER`, otherwise the request fails. + RoutingPreference routing_preference = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The departure time. If you don't set this value, this defaults to + // the time that you made the request. If you set this value to a time that + // has already occurred, the request fails. + google.protobuf.Timestamp departure_time = 5 + [(google.api.field_behavior) = OPTIONAL]; } // A single origin for ComputeRouteMatrixRequest diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto From 1df5339ab95511167d17c25f58d5a592ff37bd1b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 13 Dec 2022 23:54:13 +0000 Subject: [PATCH 2/4] =?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 --- .../google/maps/routing/v2/RoutesClient.java | 0 .../maps/routing/v2/RoutesSettings.java | 1 - .../maps/routing/v2/gapic_metadata.json | 0 .../google/maps/routing/v2/package-info.java | 0 .../v2/stub/GrpcRoutesCallableFactory.java | 0 .../maps/routing/v2/stub/GrpcRoutesStub.java | 0 .../stub/HttpJsonRoutesCallableFactory.java | 0 .../routing/v2/stub/HttpJsonRoutesStub.java | 0 .../maps/routing/v2/stub/RoutesStub.java | 0 .../routing/v2/stub/RoutesStubSettings.java | 0 .../google/maps/routing/v2/MockRoutes.java | 0 .../maps/routing/v2/MockRoutesImpl.java | 0 .../routing/v2/RoutesClientHttpJsonTest.java | 0 .../maps/routing/v2/RoutesClientTest.java | 0 .../google/maps/routing/v2/RoutesGrpc.java | 327 +-- .../routing/v2/ComputeRouteMatrixRequest.java | 1039 +++++++--- .../ComputeRouteMatrixRequestOrBuilder.java | 139 +- .../maps/routing/v2/ComputeRoutesRequest.java | 1838 +++++++++++------ .../v2/ComputeRoutesRequestOrBuilder.java | 254 ++- .../routing/v2/ComputeRoutesResponse.java | 494 +++-- .../v2/ComputeRoutesResponseOrBuilder.java | 45 +- .../google/maps/routing/v2/FallbackInfo.java | 364 ++-- .../routing/v2/FallbackInfoOrBuilder.java | 30 +- .../maps/routing/v2/FallbackInfoProto.java | 74 + .../maps/routing/v2/FallbackReason.java | 82 +- .../maps/routing/v2/FallbackRoutingMode.java | 77 +- .../com/google/maps/routing/v2/Location.java | 387 ++-- .../maps/routing/v2/LocationOrBuilder.java | 34 +- .../google/maps/routing/v2/LocationProto.java | 75 + .../com/google/maps/routing/v2/Maneuver.java | 192 +- .../google/maps/routing/v2/ManeuverProto.java | 61 + .../routing/v2/NavigationInstruction.java | 383 ++-- .../v2/NavigationInstructionOrBuilder.java | 33 +- .../v2/NavigationInstructionProto.java | 73 + .../com/google/maps/routing/v2/Polyline.java | 472 +++-- .../maps/routing/v2/PolylineEncoding.java | 82 +- .../maps/routing/v2/PolylineOrBuilder.java | 38 +- .../google/maps/routing/v2/PolylineProto.java | 78 + .../maps/routing/v2/PolylineQuality.java | 82 +- .../com/google/maps/routing/v2/Route.java | 1232 +++++++---- .../google/maps/routing/v2/RouteLabel.java | 89 +- .../maps/routing/v2/RouteLabelProto.java | 55 + .../com/google/maps/routing/v2/RouteLeg.java | 941 ++++++--- .../maps/routing/v2/RouteLegOrBuilder.java | 87 +- .../google/maps/routing/v2/RouteLegStep.java | 829 +++++--- .../routing/v2/RouteLegStepOrBuilder.java | 69 +- .../v2/RouteLegStepTravelAdvisory.java | 457 ++-- .../RouteLegStepTravelAdvisoryOrBuilder.java | 33 +- .../routing/v2/RouteLegTravelAdvisory.java | 537 +++-- .../v2/RouteLegTravelAdvisoryOrBuilder.java | 41 +- .../routing/v2/RouteMatrixDestination.java | 381 ++-- .../v2/RouteMatrixDestinationOrBuilder.java | 35 +- .../maps/routing/v2/RouteMatrixElement.java | 836 +++++--- .../v2/RouteMatrixElementCondition.java | 77 +- .../v2/RouteMatrixElementOrBuilder.java | 79 +- .../maps/routing/v2/RouteMatrixOrigin.java | 508 +++-- .../v2/RouteMatrixOriginOrBuilder.java | 55 +- .../maps/routing/v2/RouteModifiers.java | 605 ++++-- .../routing/v2/RouteModifiersOrBuilder.java | 56 +- .../maps/routing/v2/RouteModifiersProto.java | 84 + .../maps/routing/v2/RouteOrBuilder.java | 134 +- .../google/maps/routing/v2/RouteProto.java | 219 ++ .../maps/routing/v2/RouteTravelAdvisory.java | 567 +++-- .../v2/RouteTravelAdvisoryOrBuilder.java | 44 +- .../maps/routing/v2/RouteTravelMode.java | 96 +- .../maps/routing/v2/RouteTravelModeProto.java | 55 + .../maps/routing/v2/RoutesServiceProto.java | 263 +++ .../maps/routing/v2/RoutingPreference.java | 87 +- .../routing/v2/RoutingPreferenceProto.java | 56 + .../maps/routing/v2/SpeedReadingInterval.java | 458 ++-- .../v2/SpeedReadingIntervalOrBuilder.java | 36 +- .../routing/v2/SpeedReadingIntervalProto.java | 77 + .../com/google/maps/routing/v2/TollInfo.java | 387 ++-- .../maps/routing/v2/TollInfoOrBuilder.java | 37 +- .../google/maps/routing/v2/TollInfoProto.java | 71 + .../com/google/maps/routing/v2/TollPass.java | 703 +++++-- .../maps/routing/v2/TollPassesProto.java | 107 + .../com/google/maps/routing/v2/Units.java | 82 +- .../google/maps/routing/v2/UnitsProto.java | 54 + .../maps/routing/v2/VehicleEmissionType.java | 95 +- .../routing/v2/VehicleEmissionTypeProto.java | 56 + .../google/maps/routing/v2/VehicleInfo.java | 298 +-- .../maps/routing/v2/VehicleInfoOrBuilder.java | 24 +- .../maps/routing/v2/VehicleInfoProto.java | 73 + .../com/google/maps/routing/v2/Waypoint.java | 576 ++++-- .../maps/routing/v2/WaypointOrBuilder.java | 47 +- .../google/maps/routing/v2/WaypointProto.java | 74 + .../maps/routing/v2/fallback_info.proto | 0 .../google/maps/routing/v2/location.proto | 0 .../google/maps/routing/v2/maneuver.proto | 0 .../routing/v2/navigation_instruction.proto | 0 .../google/maps/routing/v2/polyline.proto | 0 .../proto/google/maps/routing/v2/route.proto | 0 .../google/maps/routing/v2/route_label.proto | 0 .../maps/routing/v2/route_modifiers.proto | 0 .../maps/routing/v2/route_travel_mode.proto | 0 .../maps/routing/v2/routes_service.proto | 0 .../maps/routing/v2/routing_preference.proto | 0 .../routing/v2/speed_reading_interval.proto | 0 .../google/maps/routing/v2/toll_info.proto | 0 .../google/maps/routing/v2/toll_passes.proto | 0 .../proto/google/maps/routing/v2/units.proto | 0 .../routing/v2/vehicle_emission_type.proto | 0 .../google/maps/routing/v2/vehicle_info.proto | 0 .../google/maps/routing/v2/waypoint.proto | 0 .../maps/routing/v2/FallbackInfoProto.java | 61 - .../google/maps/routing/v2/LocationProto.java | 60 - .../google/maps/routing/v2/ManeuverProto.java | 50 - .../v2/NavigationInstructionProto.java | 58 - .../google/maps/routing/v2/PolylineProto.java | 63 - .../maps/routing/v2/RouteLabelProto.java | 44 - .../maps/routing/v2/RouteModifiersProto.java | 64 - .../google/maps/routing/v2/RouteProto.java | 176 -- .../maps/routing/v2/RouteTravelModeProto.java | 44 - .../maps/routing/v2/RoutesServiceProto.java | 221 -- .../routing/v2/RoutingPreferenceProto.java | 45 - .../routing/v2/SpeedReadingIntervalProto.java | 60 - .../google/maps/routing/v2/TollInfoProto.java | 56 - .../maps/routing/v2/TollPassesProto.java | 96 - .../google/maps/routing/v2/UnitsProto.java | 43 - .../routing/v2/VehicleEmissionTypeProto.java | 45 - .../maps/routing/v2/VehicleInfoProto.java | 58 - .../google/maps/routing/v2/WaypointProto.java | 59 - versions.txt | 2 +- 124 files changed, 13019 insertions(+), 6902 deletions(-) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java (99%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java (68%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java (68%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java (81%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java (72%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java (73%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java (77%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java (74%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java (63%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java (74%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java (71%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java (80%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java (71%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java (88%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java (73%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java (86%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java (76%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java (83%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java (78%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java (87%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java (61%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java (52%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java (71%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java (88%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java (61%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java (54%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java (85%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java (89%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java (78%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java (87%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java (71%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java (77%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java (72%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java (70%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java (75%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java (80%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java (66%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java (70%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java (65%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java (57%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java (74%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java (81%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto (100%) delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java similarity index 99% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java index 385c731cf93f..1e4eae9ddd14 100644 --- a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java +++ b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; -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.routing.v2.stub.RoutesStubSettings; diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java diff --git a/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java b/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java similarity index 68% rename from owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java rename to java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java index 15ebf2b95ac9..c58e60777cda 100644 --- a/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java +++ b/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.routing.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Routes API.
  * 
@@ -18,120 +35,148 @@ private RoutesGrpc() {} public static final String SERVICE_NAME = "google.maps.routing.v2.Routes"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getComputeRoutesMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRoutes", requestType = com.google.maps.routing.v2.ComputeRoutesRequest.class, responseType = com.google.maps.routing.v2.ComputeRoutesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getComputeRoutesMethod() { - io.grpc.MethodDescriptor getComputeRoutesMethod; + public static io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod; if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { - RoutesGrpc.getComputeRoutesMethod = getComputeRoutesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) - .build(); + RoutesGrpc.getComputeRoutesMethod = + getComputeRoutesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) + .build(); } } } return getComputeRoutesMethod; } - private static volatile io.grpc.MethodDescriptor getComputeRouteMatrixMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRouteMatrix", requestType = com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, responseType = com.google.maps.routing.v2.RouteMatrixElement.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getComputeRouteMatrixMethod() { - io.grpc.MethodDescriptor getComputeRouteMatrixMethod; + public static io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod; if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { - RoutesGrpc.getComputeRouteMatrixMethod = getComputeRouteMatrixMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) - .build(); + RoutesGrpc.getComputeRouteMatrixMethod = + getComputeRouteMatrixMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRouteMatrixRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) + .build(); } } } return getComputeRouteMatrixMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static RoutesStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesStub(channel, callOptions); + } + }; return RoutesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static RoutesBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static RoutesBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesBlockingStub(channel, callOptions); + } + }; return RoutesBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static RoutesFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static RoutesFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesFutureStub(channel, callOptions); + } + }; return RoutesFutureStub.newStub(factory, channel); } /** + * + * *
    * The Routes API.
    * 
*/ - public static abstract class RoutesImplBase implements io.grpc.BindableService { + public abstract static class RoutesImplBase implements io.grpc.BindableService { /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -165,12 +210,17 @@ public static abstract class RoutesImplBase implements io.grpc.BindableService {
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRoutesMethod(), responseObserver); + public void computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getComputeRoutesMethod(), responseObserver); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -204,49 +254,55 @@ public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest reques
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRouteMatrixMethod(), responseObserver); + public void computeRouteMatrix( + com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getComputeRouteMatrixMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getComputeRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse>( - this, METHODID_COMPUTE_ROUTES))) + getComputeRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse>( + this, METHODID_COMPUTE_ROUTES))) .addMethod( - getComputeRouteMatrixMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement>( - this, METHODID_COMPUTE_ROUTE_MATRIX))) + getComputeRouteMatrixMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement>( + this, METHODID_COMPUTE_ROUTE_MATRIX))) .build(); } } /** + * + * *
    * The Routes API.
    * 
*/ public static final class RoutesStub extends io.grpc.stub.AbstractAsyncStub { - private RoutesStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private RoutesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -280,13 +336,19 @@ protected RoutesStub build(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -320,31 +382,38 @@ public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest reques
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void computeRouteMatrix( + com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The Routes API.
    * 
*/ - public static final class RoutesBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private RoutesBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private RoutesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesBlockingStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -378,12 +447,15 @@ protected RoutesBlockingStub build(
      * size, and thus higher network throughput.
      * 
*/ - public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getComputeRoutesMethod(), getCallOptions(), request); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -425,23 +497,26 @@ public java.util.Iterator compute
   }
 
   /**
+   *
+   *
    * 
    * The Routes API.
    * 
*/ - public static final class RoutesFutureStub extends io.grpc.stub.AbstractFutureStub { - private RoutesFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesFutureStub + extends io.grpc.stub.AbstractFutureStub { + private RoutesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesFutureStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -475,8 +550,9 @@ protected RoutesFutureStub build(
      * size, and thus higher network throughput.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.maps.routing.v2.ComputeRoutesResponse> + computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request); } @@ -485,11 +561,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 RoutesImplBase serviceImpl; private final int methodId; @@ -503,12 +579,16 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPUTE_ROUTES: - serviceImpl.computeRoutes((com.google.maps.routing.v2.ComputeRoutesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.computeRoutes( + (com.google.maps.routing.v2.ComputeRoutesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_COMPUTE_ROUTE_MATRIX: - serviceImpl.computeRouteMatrix((com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.computeRouteMatrix( + (com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -526,8 +606,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class RoutesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class RoutesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { RoutesBaseDescriptorSupplier() {} @java.lang.Override @@ -541,13 +622,11 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class RoutesFileDescriptorSupplier - extends RoutesBaseDescriptorSupplier { + private static final class RoutesFileDescriptorSupplier extends RoutesBaseDescriptorSupplier { RoutesFileDescriptorSupplier() {} } - private static final class RoutesMethodDescriptorSupplier - extends RoutesBaseDescriptorSupplier + private static final class RoutesMethodDescriptorSupplier extends RoutesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -569,11 +648,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (RoutesGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) - .addMethod(getComputeRoutesMethod()) - .addMethod(getComputeRouteMatrixMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) + .addMethod(getComputeRoutesMethod()) + .addMethod(getComputeRouteMatrixMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java similarity index 69% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java index 1321bdb9f31c..dca76525db57 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRouteMatrix request message
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ -public final class ComputeRouteMatrixRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRouteMatrixRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRouteMatrixRequest) ComputeRouteMatrixRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRouteMatrixRequest.newBuilder() to construct. private ComputeRouteMatrixRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRouteMatrixRequest() { origins_ = java.util.Collections.emptyList(); destinations_ = java.util.Collections.emptyList(); @@ -28,32 +46,35 @@ private ComputeRouteMatrixRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRouteMatrixRequest(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, + com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } public static final int ORIGINS_FIELD_NUMBER = 1; private java.util.List origins_; /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -66,13 +87,17 @@ protected java.lang.Object newInstance(
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getOriginsList() { return origins_; } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -85,14 +110,18 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getOriginsOrBuilderList() { return origins_; } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -105,13 +134,17 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getOriginsCount() { return origins_.size(); } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -124,13 +157,17 @@ public int getOriginsCount() {
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { return origins_.get(index); } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -143,72 +180,93 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { return origins_.get(index); } public static final int DESTINATIONS_FIELD_NUMBER = 2; private java.util.List destinations_; /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getDestinationsList() { return destinations_; } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDestinationsOrBuilderList() { return destinations_; } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getDestinationsCount() { return destinations_.size(); } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { return destinations_.get(index); } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( @@ -219,33 +277,48 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination public static final int TRAVEL_MODE_FIELD_NUMBER = 3; private int travelMode_; /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ - @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override + public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 4; private int routingPreference_; /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -256,13 +329,19 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination
    * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -273,25 +352,34 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination
    * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ - @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override + public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp departureTime_; /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -299,27 +387,36 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -327,6 +424,7 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,18 +436,20 @@ 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 { for (int i = 0; i < origins_.size(); i++) { output.writeMessage(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { output.writeMessage(2, destinations_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, routingPreference_); } if (departureTime_ != null) { @@ -365,24 +465,22 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < origins_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, origins_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, destinations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, destinations_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, travelMode_); + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, routingPreference_); + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, routingPreference_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDepartureTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -392,23 +490,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.routing.v2.ComputeRouteMatrixRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRouteMatrixRequest other = (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; + com.google.maps.routing.v2.ComputeRouteMatrixRequest other = + (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; - if (!getOriginsList() - .equals(other.getOriginsList())) return false; - if (!getDestinationsList() - .equals(other.getDestinationsList())) return false; + if (!getOriginsList().equals(other.getOriginsList())) return false; + if (!getDestinationsList().equals(other.getDestinationsList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime() - .equals(other.getDepartureTime())) return false; + if (!getDepartureTime().equals(other.getDepartureTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -443,129 +539,135 @@ public int hashCode() { } public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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; } /** + * + * *
    * ComputeRouteMatrix request message
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ - 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.routing.v2.ComputeRouteMatrixRequest) com.google.maps.routing.v2.ComputeRouteMatrixRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, + com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRouteMatrixRequest.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(); @@ -597,9 +699,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override @@ -618,7 +720,8 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRouteMatrixRequest buildPartial() { - com.google.maps.routing.v2.ComputeRouteMatrixRequest result = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); + com.google.maps.routing.v2.ComputeRouteMatrixRequest result = + new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); int from_bitField0_ = bitField0_; if (originsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -653,38 +756,39 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest) other); } else { super.mergeFrom(other); return this; @@ -692,7 +796,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest other) { - if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) + return this; if (originsBuilder_ == null) { if (!other.origins_.isEmpty()) { if (origins_.isEmpty()) { @@ -711,9 +816,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot originsBuilder_ = null; origins_ = other.origins_; bitField0_ = (bitField0_ & ~0x00000001); - originsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOriginsFieldBuilder() : null; + originsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOriginsFieldBuilder() + : null; } else { originsBuilder_.addAllMessages(other.origins_); } @@ -737,9 +843,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot destinationsBuilder_ = null; destinations_ = other.destinations_; bitField0_ = (bitField0_ & ~0x00000002); - destinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDestinationsFieldBuilder() : null; + destinationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDestinationsFieldBuilder() + : null; } else { destinationsBuilder_.addAllMessages(other.destinations_); } @@ -780,55 +887,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.maps.routing.v2.RouteMatrixOrigin m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixOrigin.parser(), - extensionRegistry); - if (originsBuilder_ == null) { - ensureOriginsIsMutable(); - origins_.add(m); - } else { - originsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.maps.routing.v2.RouteMatrixDestination m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixDestination.parser(), - extensionRegistry); - if (destinationsBuilder_ == null) { - ensureDestinationsIsMutable(); - destinations_.add(m); - } else { - destinationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: { - travelMode_ = input.readEnum(); + case 10: + { + com.google.maps.routing.v2.RouteMatrixOrigin m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixOrigin.parser(), extensionRegistry); + if (originsBuilder_ == null) { + ensureOriginsIsMutable(); + origins_.add(m); + } else { + originsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.maps.routing.v2.RouteMatrixDestination m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixDestination.parser(), + extensionRegistry); + if (destinationsBuilder_ == null) { + ensureDestinationsIsMutable(); + destinations_.add(m); + } else { + destinationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: + { + travelMode_ = input.readEnum(); - break; - } // case 24 - case 32: { - routingPreference_ = input.readEnum(); + break; + } // case 24 + case 32: + { + routingPreference_ = input.readEnum(); - break; - } // case 32 - case 42: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 42: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -838,21 +948,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List origins_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOriginsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { origins_ = new java.util.ArrayList(origins_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> originsBuilder_; + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + originsBuilder_; /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -865,7 +982,9 @@ private void ensureOriginsIsMutable() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getOriginsList() { if (originsBuilder_ == null) { @@ -875,6 +994,8 @@ public java.util.List getOriginsLi } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -887,7 +1008,9 @@ public java.util.List getOriginsLi
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getOriginsCount() { if (originsBuilder_ == null) { @@ -897,6 +1020,8 @@ public int getOriginsCount() { } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -909,7 +1034,9 @@ public int getOriginsCount() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { if (originsBuilder_ == null) { @@ -919,6 +1046,8 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -931,10 +1060,11 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOrigins( - int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -948,6 +1078,8 @@ public Builder setOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -960,7 +1092,9 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -974,6 +1108,8 @@ public Builder setOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -986,7 +1122,9 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { @@ -1002,6 +1140,8 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1014,10 +1154,11 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addOrigins( - int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1031,6 +1172,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1043,7 +1186,9 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins( com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1057,6 +1202,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1069,7 +1216,9 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1083,6 +1232,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1095,14 +1246,15 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllOrigins( java.lang.Iterable values) { if (originsBuilder_ == null) { ensureOriginsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, origins_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, origins_); onChanged(); } else { originsBuilder_.addAllMessages(values); @@ -1110,6 +1262,8 @@ public Builder addAllOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1122,7 +1276,9 @@ public Builder addAllOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOrigins() { if (originsBuilder_ == null) { @@ -1135,6 +1291,8 @@ public Builder clearOrigins() { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1147,7 +1305,9 @@ public Builder clearOrigins() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeOrigins(int index) { if (originsBuilder_ == null) { @@ -1160,6 +1320,8 @@ public Builder removeOrigins(int index) { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1172,13 +1334,16 @@ public Builder removeOrigins(int index) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(int index) { return getOriginsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1191,16 +1356,20 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { if (originsBuilder_ == null) { - return origins_.get(index); } else { + return origins_.get(index); + } else { return originsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1213,10 +1382,12 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOriginsOrBuilderList() { + public java.util.List + getOriginsOrBuilderList() { if (originsBuilder_ != null) { return originsBuilder_.getMessageOrBuilderList(); } else { @@ -1224,6 +1395,8 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1236,13 +1409,17 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder() { - return getOriginsFieldBuilder().addBuilder( - com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + return getOriginsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1255,14 +1432,17 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder()
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder( - int index) { - return getOriginsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(int index) { + return getOriginsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1275,46 +1455,61 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOriginsBuilderList() { + public java.util.List + getOriginsBuilderList() { return getOriginsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> getOriginsFieldBuilder() { if (originsBuilder_ == null) { - originsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( - origins_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + originsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( + origins_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); origins_ = null; } return originsBuilder_; } private java.util.List destinations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDestinationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - destinations_ = new java.util.ArrayList(destinations_); + destinations_ = + new java.util.ArrayList( + destinations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> destinationsBuilder_; + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + destinationsBuilder_; /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getDestinationsList() { if (destinationsBuilder_ == null) { @@ -1324,12 +1519,16 @@ public java.util.List getDest } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getDestinationsCount() { if (destinationsBuilder_ == null) { @@ -1339,12 +1538,16 @@ public int getDestinationsCount() { } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1354,12 +1557,16 @@ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int ind } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1376,12 +1583,16 @@ public Builder setDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1395,12 +1606,16 @@ public Builder setDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination value) { if (destinationsBuilder_ == null) { @@ -1416,12 +1631,16 @@ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1438,12 +1657,16 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1457,12 +1680,16 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1476,19 +1703,22 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllDestinations( java.lang.Iterable values) { if (destinationsBuilder_ == null) { ensureDestinationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, destinations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, destinations_); onChanged(); } else { destinationsBuilder_.addAllMessages(values); @@ -1496,12 +1726,16 @@ public Builder addAllDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestinations() { if (destinationsBuilder_ == null) { @@ -1514,12 +1748,16 @@ public Builder clearDestinations() { return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1532,42 +1770,55 @@ public Builder removeDestinations(int index) { return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder getDestinationsBuilder( int index) { return getDestinationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( int index) { if (destinationsBuilder_ == null) { - return destinations_.get(index); } else { + return destinations_.get(index); + } else { return destinationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getDestinationsOrBuilderList() { + public java.util.List + getDestinationsOrBuilderList() { if (destinationsBuilder_ != null) { return destinationsBuilder_.getMessageOrBuilderList(); } else { @@ -1575,52 +1826,68 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder() { - return getDestinationsFieldBuilder().addBuilder( - com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder( int index) { - return getDestinationsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder() + .addBuilder( + index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getDestinationsBuilderList() { + public java.util.List + getDestinationsBuilderList() { return getDestinationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> getDestinationsFieldBuilder() { if (destinationsBuilder_ == null) { - destinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( - destinations_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + destinationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( + destinations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); destinations_ = null; } return destinationsBuilder_; @@ -1628,51 +1895,73 @@ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinations private int travelMode_ = 0; /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The travelMode to set. * @return This builder for chaining. */ @@ -1680,21 +1969,26 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -1702,6 +1996,8 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1712,13 +2008,19 @@ public Builder clearTravelMode() {
      * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1729,17 +2031,22 @@ public Builder clearTravelMode() {
      * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1750,16 +2057,22 @@ public Builder setRoutingPreferenceValue(int value) {
      * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1770,7 +2083,10 @@ public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() {
      * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -1778,12 +2094,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1794,11 +2112,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference
      * `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -1806,45 +2127,64 @@ public Builder clearRoutingPreference() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + departureTimeBuilder_; /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -1860,16 +2200,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDepartureTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -1880,19 +2223,25 @@ public Builder setDepartureTime( return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_) + .mergeFrom(value) + .buildPartial(); } else { departureTime_ = value; } @@ -1904,13 +2253,17 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -1924,61 +2277,77 @@ public Builder clearDepartureTime() { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), - getParentForChildren(), - isClean()); + departureTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), getParentForChildren(), isClean()); departureTime_ = null; } return departureTimeBuilder_; } + @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); } @@ -1988,12 +2357,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) private static final com.google.maps.routing.v2.ComputeRouteMatrixRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(); } @@ -2002,27 +2371,27 @@ public static com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRouteMatrixRequest 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 ComputeRouteMatrixRequest 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; @@ -2037,6 +2406,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java index 7a2ba62fbd2f..5f58695ae18a 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRouteMatrixRequestOrBuilder extends +public interface ComputeRouteMatrixRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRouteMatrixRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -20,11 +38,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getOriginsList(); + java.util.List getOriginsList(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -37,10 +58,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -53,10 +78,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getOriginsCount(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -69,11 +98,15 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getOriginsOrBuilderList(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -86,80 +119,111 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index); + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getDestinationsList(); + java.util.List getDestinationsList(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getDestinationsCount(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getDestinationsOrBuilderList(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( - int index); + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder(int index); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -170,11 +234,16 @@ com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuil
    * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -185,41 +254,55 @@ com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuil
    * `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java similarity index 68% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java index e34f6688f1bc..d8186feee889 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRoutes request message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ -public final class ComputeRoutesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRoutesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesRequest) ComputeRoutesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRoutesRequest.newBuilder() to construct. private ComputeRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRoutesRequest() { intermediates_ = java.util.Collections.emptyList(); travelMode_ = 0; @@ -32,39 +50,43 @@ private ComputeRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRoutesRequest(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, + com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } /** + * + * *
    * A supported reference route on the ComputeRoutesRequest.
    * 
* * Protobuf enum {@code google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute} */ - public enum ReferenceRoute - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used. Requests containing this value fail.
      * 
@@ -73,6 +95,8 @@ public enum ReferenceRoute */ REFERENCE_ROUTE_UNSPECIFIED(0), /** + * + * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -85,6 +109,8 @@ public enum ReferenceRoute
     ;
 
     /**
+     *
+     *
      * 
      * Not used. Requests containing this value fail.
      * 
@@ -93,6 +119,8 @@ public enum ReferenceRoute */ public static final int REFERENCE_ROUTE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -102,7 +130,6 @@ public enum ReferenceRoute
      */
     public static final int FUEL_EFFICIENT_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -127,48 +154,47 @@ public static ReferenceRoute valueOf(int value) {
      */
     public static ReferenceRoute forNumber(int value) {
       switch (value) {
-        case 0: return REFERENCE_ROUTE_UNSPECIFIED;
-        case 1: return FUEL_EFFICIENT;
-        default: return null;
+        case 0:
+          return REFERENCE_ROUTE_UNSPECIFIED;
+        case 1:
+          return FUEL_EFFICIENT;
+        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<
-        ReferenceRoute> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReferenceRoute findValueByNumber(int number) {
-              return ReferenceRoute.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 ReferenceRoute findValueByNumber(int number) {
+            return ReferenceRoute.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.routing.v2.ComputeRoutesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReferenceRoute[] VALUES = values();
 
-    public static ReferenceRoute valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReferenceRoute 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;
@@ -188,11 +214,15 @@ private ReferenceRoute(int value) {
   public static final int ORIGIN_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.Waypoint origin_;
   /**
+   *
+   *
    * 
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ @java.lang.Override @@ -200,11 +230,15 @@ public boolean hasOrigin() { return origin_ != null; } /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ @java.lang.Override @@ -212,11 +246,14 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { @@ -226,11 +263,16 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { public static final int DESTINATION_FIELD_NUMBER = 2; private com.google.maps.routing.v2.Waypoint destination_; /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ @java.lang.Override @@ -238,23 +280,34 @@ public boolean hasDestination() { return destination_ != null; } /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getDestination() { - return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { @@ -264,103 +317,137 @@ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { public static final int INTERMEDIATES_FIELD_NUMBER = 3; private java.util.List intermediates_; /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getIntermediatesList() { return intermediates_; } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getIntermediatesOrBuilderList() { return intermediates_; } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getIntermediatesCount() { return intermediates_.size(); } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { return intermediates_.get(index); } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { return intermediates_.get(index); } public static final int TRAVEL_MODE_FIELD_NUMBER = 4; private int travelMode_; /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ - @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override + public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 5; private int routingPreference_; /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -371,13 +458,19 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -388,79 +481,114 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ - @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override + public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int POLYLINE_QUALITY_FIELD_NUMBER = 6; private int polylineQuality_; /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override public int getPolylineQualityValue() { + @java.lang.Override + public int getPolylineQualityValue() { return polylineQuality_; } /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ - @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { + @java.lang.Override + public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = + com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } public static final int POLYLINE_ENCODING_FIELD_NUMBER = 12; private int polylineEncoding_; /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override public int getPolylineEncodingValue() { + @java.lang.Override + public int getPolylineEncodingValue() { return polylineEncoding_; } /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ - @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { + @java.lang.Override + public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = + com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp departureTime_; /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -468,27 +596,36 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -498,12 +635,15 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { public static final int COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER = 8; private boolean computeAlternativeRoutes_; /** + * + * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -514,12 +654,17 @@ public boolean getComputeAlternativeRoutes() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -527,25 +672,36 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -555,6 +711,8 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -565,6 +723,7 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -573,14 +732,15 @@ 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; } } /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -591,16 +751,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -611,6 +770,8 @@ public java.lang.String getLanguageCode() { public static final int UNITS_FIELD_NUMBER = 11; private int units_; /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -619,13 +780,18 @@ public java.lang.String getLanguageCode() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ - @java.lang.Override public int getUnitsValue() { + @java.lang.Override + public int getUnitsValue() { return units_; } /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -634,10 +800,13 @@ public java.lang.String getLanguageCode() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ - @java.lang.Override public com.google.maps.routing.v2.Units getUnits() { + @java.lang.Override + public com.google.maps.routing.v2.Units getUnits() { @SuppressWarnings("deprecation") com.google.maps.routing.v2.Units result = com.google.maps.routing.v2.Units.valueOf(units_); return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; @@ -646,16 +815,23 @@ public java.lang.String getLanguageCode() { public static final int REQUESTED_REFERENCE_ROUTES_FIELD_NUMBER = 14; private java.util.List requestedReferenceRoutes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> requestedReferenceRoutes_converter_ = + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> + requestedReferenceRoutes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>() { - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(java.lang.Integer from) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); - return result == null ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED : result; + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); + return result == null + ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -664,15 +840,22 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(ja
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ @java.lang.Override - public java.util.List getRequestedReferenceRoutesList() { + public java.util.List + getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( + requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -681,7 +864,10 @@ public java.util.List
    *
-   * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   *
    * @return The count of requestedReferenceRoutes.
    */
   @java.lang.Override
@@ -689,6 +875,8 @@ public int getRequestedReferenceRoutesCount() {
     return requestedReferenceRoutes_.size();
   }
   /**
+   *
+   *
    * 
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -697,15 +885,21 @@ public int getRequestedReferenceRoutesCount() {
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ @java.lang.Override - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( + int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -714,15 +908,19 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ @java.lang.Override - public java.util.List - getRequestedReferenceRoutesValueList() { + public java.util.List getRequestedReferenceRoutesValueList() { return requestedReferenceRoutes_; } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -731,7 +929,10 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -739,9 +940,11 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } + private int requestedReferenceRoutesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -753,8 +956,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 { getSerializedSize(); if (origin_ != null) { output.writeMessage(1, getOrigin()); @@ -765,13 +967,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < intermediates_.size(); i++) { output.writeMessage(3, intermediates_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, routingPreference_); } - if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + if (polylineQuality_ + != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, polylineQuality_); } if (departureTime_ != null) { @@ -789,7 +995,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { output.writeEnum(11, units_); } - if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + if (polylineEncoding_ + != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(12, polylineEncoding_); } if (getRequestedReferenceRoutesList().size() > 0) { @@ -809,63 +1016,59 @@ public int getSerializedSize() { size = 0; if (origin_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOrigin()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOrigin()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDestination()); } for (int i = 0; i < intermediates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, intermediates_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, intermediates_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, travelMode_); + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, routingPreference_); + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, routingPreference_); } - if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, polylineQuality_); + if (polylineQuality_ + != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, polylineQuality_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDepartureTime()); } if (computeAlternativeRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, computeAlternativeRoutes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, computeAlternativeRoutes_); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRouteModifiers()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, units_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, units_); } - if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, polylineEncoding_); + if (polylineEncoding_ + != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, polylineEncoding_); } { int dataSize = 0; for (int i = 0; i < requestedReferenceRoutes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(requestedReferenceRoutes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + requestedReferenceRoutes_.get(i)); } size += dataSize; - if (!getRequestedReferenceRoutesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }requestedReferenceRoutesMemoizedSerializedSize = dataSize; + if (!getRequestedReferenceRoutesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + requestedReferenceRoutesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -875,43 +1078,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.routing.v2.ComputeRoutesRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRoutesRequest other = (com.google.maps.routing.v2.ComputeRoutesRequest) obj; + com.google.maps.routing.v2.ComputeRoutesRequest other = + (com.google.maps.routing.v2.ComputeRoutesRequest) obj; if (hasOrigin() != other.hasOrigin()) return false; if (hasOrigin()) { - if (!getOrigin() - .equals(other.getOrigin())) return false; + if (!getOrigin().equals(other.getOrigin())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination() - .equals(other.getDestination())) return false; + if (!getDestination().equals(other.getDestination())) return false; } - if (!getIntermediatesList() - .equals(other.getIntermediatesList())) return false; + if (!getIntermediatesList().equals(other.getIntermediatesList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (polylineQuality_ != other.polylineQuality_) return false; if (polylineEncoding_ != other.polylineEncoding_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime() - .equals(other.getDepartureTime())) return false; + if (!getDepartureTime().equals(other.getDepartureTime())) return false; } - if (getComputeAlternativeRoutes() - != other.getComputeAlternativeRoutes()) return false; + if (getComputeAlternativeRoutes() != other.getComputeAlternativeRoutes()) return false; if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers() - .equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; } - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (units_ != other.units_) return false; if (!requestedReferenceRoutes_.equals(other.requestedReferenceRoutes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -950,8 +1147,7 @@ public int hashCode() { hash = (53 * hash) + getDepartureTime().hashCode(); } hash = (37 * hash) + COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getComputeAlternativeRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getComputeAlternativeRoutes()); if (hasRouteModifiers()) { hash = (37 * hash) + ROUTE_MODIFIERS_FIELD_NUMBER; hash = (53 * hash) + getRouteModifiers().hashCode(); @@ -969,130 +1165,136 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRoutesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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; } /** + * + * *
    * ComputeRoutes request message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ - 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.routing.v2.ComputeRoutesRequest) com.google.maps.routing.v2.ComputeRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, + com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesRequest.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(); @@ -1147,9 +1349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override @@ -1168,7 +1370,8 @@ public com.google.maps.routing.v2.ComputeRoutesRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { - com.google.maps.routing.v2.ComputeRoutesRequest result = new com.google.maps.routing.v2.ComputeRoutesRequest(this); + com.google.maps.routing.v2.ComputeRoutesRequest result = + new com.google.maps.routing.v2.ComputeRoutesRequest(this); int from_bitField0_ = bitField0_; if (originBuilder_ == null) { result.origin_ = origin_; @@ -1207,7 +1410,8 @@ public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { result.languageCode_ = languageCode_; result.units_ = units_; if (((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = java.util.Collections.unmodifiableList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = + java.util.Collections.unmodifiableList(requestedReferenceRoutes_); bitField0_ = (bitField0_ & ~0x00000002); } result.requestedReferenceRoutes_ = requestedReferenceRoutes_; @@ -1219,38 +1423,39 @@ public com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest) other); } else { super.mergeFrom(other); return this; @@ -1258,7 +1463,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) { - if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) + return this; if (other.hasOrigin()) { mergeOrigin(other.getOrigin()); } @@ -1283,9 +1489,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) intermediatesBuilder_ = null; intermediates_ = other.intermediates_; bitField0_ = (bitField0_ & ~0x00000001); - intermediatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIntermediatesFieldBuilder() : null; + intermediatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIntermediatesFieldBuilder() + : null; } else { intermediatesBuilder_.addAllMessages(other.intermediates_); } @@ -1355,105 +1562,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getDestinationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - com.google.maps.routing.v2.Waypoint m = - input.readMessage( - com.google.maps.routing.v2.Waypoint.parser(), - extensionRegistry); - if (intermediatesBuilder_ == null) { - ensureIntermediatesIsMutable(); - intermediates_.add(m); - } else { - intermediatesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - travelMode_ = input.readEnum(); - - break; - } // case 32 - case 40: { - routingPreference_ = input.readEnum(); - - break; - } // case 40 - case 48: { - polylineQuality_ = input.readEnum(); - - break; - } // case 48 - case 58: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 58 - case 64: { - computeAlternativeRoutes_ = input.readBool(); - - break; - } // case 64 - case 74: { - input.readMessage( - getRouteModifiersFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 74 - case 82: { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: { - units_ = input.readEnum(); - - break; - } // case 88 - case 96: { - polylineEncoding_ = input.readEnum(); - - break; - } // case 96 - case 112: { - int tmpRaw = input.readEnum(); - ensureRequestedReferenceRoutesIsMutable(); - requestedReferenceRoutes_.add(tmpRaw); - break; - } // case 112 - case 114: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + input.readMessage(getOriginFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + com.google.maps.routing.v2.Waypoint m = + input.readMessage( + com.google.maps.routing.v2.Waypoint.parser(), extensionRegistry); + if (intermediatesBuilder_ == null) { + ensureIntermediatesIsMutable(); + intermediates_.add(m); + } else { + intermediatesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + travelMode_ = input.readEnum(); + + break; + } // case 32 + case 40: + { + routingPreference_ = input.readEnum(); + + break; + } // case 40 + case 48: + { + polylineQuality_ = input.readEnum(); + + break; + } // case 48 + case 58: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 64: + { + computeAlternativeRoutes_ = input.readBool(); + + break; + } // case 64 + case 74: + { + input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + case 82: + { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: + { + units_ = input.readEnum(); + + break; + } // case 88 + case 96: + { + polylineEncoding_ = input.readEnum(); + + break; + } // case 96 + case 112: + { int tmpRaw = input.readEnum(); ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 112 + case 114: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureRequestedReferenceRoutesIsMutable(); + requestedReferenceRoutes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 114 + 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) { @@ -1463,28 +1676,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.maps.routing.v2.Waypoint origin_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> originBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + originBuilder_; /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ public boolean hasOrigin() { return originBuilder_ != null || origin_ != null; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ public com.google.maps.routing.v2.Waypoint getOrigin() { @@ -1495,11 +1720,14 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { } } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { @@ -1515,14 +1743,16 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOrigin( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (originBuilder_ == null) { origin_ = builderForValue.build(); onChanged(); @@ -1533,17 +1763,22 @@ public Builder setOrigin( return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { if (origin_ != null) { origin_ = - com.google.maps.routing.v2.Waypoint.newBuilder(origin_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(origin_) + .mergeFrom(value) + .buildPartial(); } else { origin_ = value; } @@ -1555,11 +1790,14 @@ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOrigin() { if (originBuilder_ == null) { @@ -1573,48 +1811,59 @@ public Builder clearOrigin() { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getOriginBuilder() { - + onChanged(); return getOriginFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { if (originBuilder_ != null) { return originBuilder_.getMessageOrBuilder(); } else { - return origin_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; + return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { - originBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getOrigin(), - getParentForChildren(), - isClean()); + originBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getOrigin(), getParentForChildren(), isClean()); origin_ = null; } return originBuilder_; @@ -1622,39 +1871,58 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { private com.google.maps.routing.v2.Waypoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> destinationBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + destinationBuilder_; /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ public boolean hasDestination() { return destinationBuilder_ != null || destination_ != null; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ public com.google.maps.routing.v2.Waypoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } else { return destinationBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { @@ -1670,14 +1938,17 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDestination( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (destinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1688,17 +1959,23 @@ public Builder setDestination( return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { if (destination_ != null) { destination_ = - com.google.maps.routing.v2.Waypoint.newBuilder(destination_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -1710,11 +1987,15 @@ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestination() { if (destinationBuilder_ == null) { @@ -1728,73 +2009,98 @@ public Builder clearDestination() { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getDestinationBuilder() { - + onChanged(); return getDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getDestination(), - getParentForChildren(), - isClean()); + destinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getDestination(), getParentForChildren(), isClean()); destination_ = null; } return destinationBuilder_; } private java.util.List intermediates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIntermediatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - intermediates_ = new java.util.ArrayList(intermediates_); + intermediates_ = + new java.util.ArrayList(intermediates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> intermediatesBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + intermediatesBuilder_; /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getIntermediatesList() { if (intermediatesBuilder_ == null) { @@ -1804,13 +2110,17 @@ public java.util.List getIntermediatesList( } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getIntermediatesCount() { if (intermediatesBuilder_ == null) { @@ -1820,13 +2130,17 @@ public int getIntermediatesCount() { } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -1836,16 +2150,19 @@ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIntermediates( - int index, com.google.maps.routing.v2.Waypoint value) { + public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1859,13 +2176,17 @@ public Builder setIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -1879,13 +2200,17 @@ public Builder setIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { @@ -1901,16 +2226,19 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addIntermediates( - int index, com.google.maps.routing.v2.Waypoint value) { + public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1924,16 +2252,19 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addIntermediates( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); intermediates_.add(builderForValue.build()); @@ -1944,13 +2275,17 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -1964,20 +2299,23 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllIntermediates( java.lang.Iterable values) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, intermediates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, intermediates_); onChanged(); } else { intermediatesBuilder_.addAllMessages(values); @@ -1985,13 +2323,17 @@ public Builder addAllIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIntermediates() { if (intermediatesBuilder_ == null) { @@ -2004,13 +2346,17 @@ public Builder clearIntermediates() { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2023,45 +2369,56 @@ public Builder removeIntermediates(int index) { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder( - int index) { + public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder(int index) { return getIntermediatesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { if (intermediatesBuilder_ == null) { - return intermediates_.get(index); } else { + return intermediates_.get(index); + } else { return intermediatesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIntermediatesOrBuilderList() { + public java.util.List + getIntermediatesOrBuilderList() { if (intermediatesBuilder_ != null) { return intermediatesBuilder_.getMessageOrBuilderList(); } else { @@ -2069,51 +2426,68 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder() { - return getIntermediatesFieldBuilder().addBuilder( - com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + return getIntermediatesFieldBuilder() + .addBuilder(com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( - int index) { - return getIntermediatesFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int index) { + return getIntermediatesFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIntermediatesBuilderList() { + public java.util.List + getIntermediatesBuilderList() { return getIntermediatesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getIntermediatesFieldBuilder() { if (intermediatesBuilder_ == null) { - intermediatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + intermediatesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( intermediates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2125,51 +2499,73 @@ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( private int travelMode_ = 0; /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The travelMode to set. * @return This builder for chaining. */ @@ -2177,21 +2573,26 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -2199,6 +2600,8 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2209,13 +2612,19 @@ public Builder clearTravelMode() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2226,17 +2635,22 @@ public Builder clearTravelMode() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2247,16 +2661,22 @@ public Builder setRoutingPreferenceValue(int value) {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2267,7 +2687,10 @@ public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2275,12 +2698,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2291,11 +2716,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2303,51 +2731,73 @@ public Builder clearRoutingPreference() { private int polylineQuality_ = 0; /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override public int getPolylineQualityValue() { + @java.lang.Override + public int getPolylineQualityValue() { return polylineQuality_; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for polylineQuality to set. * @return This builder for chaining. */ public Builder setPolylineQualityValue(int value) { - + polylineQuality_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = + com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The polylineQuality to set. * @return This builder for chaining. */ @@ -2355,21 +2805,26 @@ public Builder setPolylineQuality(com.google.maps.routing.v2.PolylineQuality val if (value == null) { throw new NullPointerException(); } - + polylineQuality_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPolylineQuality() { - + polylineQuality_ = 0; onChanged(); return this; @@ -2377,51 +2832,73 @@ public Builder clearPolylineQuality() { private int polylineEncoding_ = 0; /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override public int getPolylineEncodingValue() { + @java.lang.Override + public int getPolylineEncodingValue() { return polylineEncoding_; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for polylineEncoding to set. * @return This builder for chaining. */ public Builder setPolylineEncodingValue(int value) { - + polylineEncoding_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = + com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The polylineEncoding to set. * @return This builder for chaining. */ @@ -2429,21 +2906,26 @@ public Builder setPolylineEncoding(com.google.maps.routing.v2.PolylineEncoding v if (value == null) { throw new NullPointerException(); } - + polylineEncoding_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPolylineEncoding() { - + polylineEncoding_ = 0; onChanged(); return this; @@ -2451,45 +2933,64 @@ public Builder clearPolylineEncoding() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + departureTimeBuilder_; /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -2505,16 +3006,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDepartureTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -2525,19 +3029,25 @@ public Builder setDepartureTime( return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_) + .mergeFrom(value) + .buildPartial(); } else { departureTime_ = value; } @@ -2549,13 +3059,17 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -2569,67 +3083,86 @@ public Builder clearDepartureTime() { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), - getParentForChildren(), - isClean()); + departureTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), getParentForChildren(), isClean()); departureTime_ = null; } return departureTimeBuilder_; } - private boolean computeAlternativeRoutes_ ; + private boolean computeAlternativeRoutes_; /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -2637,32 +3170,38 @@ public boolean getComputeAlternativeRoutes() { return computeAlternativeRoutes_; } /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The computeAlternativeRoutes to set. * @return This builder for chaining. */ public Builder setComputeAlternativeRoutes(boolean value) { - + computeAlternativeRoutes_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearComputeAlternativeRoutes() { - + computeAlternativeRoutes_ = false; onChanged(); return this; @@ -2670,42 +3209,61 @@ public Builder clearComputeAlternativeRoutes() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> + routeModifiersBuilder_; /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -2721,12 +3279,16 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -2740,18 +3302,24 @@ public Builder setRouteModifiers( return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) + .mergeFrom(value) + .buildPartial(); } else { routeModifiers_ = value; } @@ -2763,12 +3331,16 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -2782,51 +3354,67 @@ public Builder clearRouteModifiers() { return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null ? - com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), - getParentForChildren(), - isClean()); + routeModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), getParentForChildren(), isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; @@ -2834,6 +3422,8 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2844,13 +3434,13 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2859,6 +3449,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2869,15 +3461,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2885,6 +3476,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2895,20 +3488,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2919,15 +3514,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2938,16 +3536,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2955,6 +3553,8 @@ public Builder setLanguageCodeBytes( private int units_ = 0; /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2963,13 +3563,18 @@ public Builder setLanguageCodeBytes(
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ - @java.lang.Override public int getUnitsValue() { + @java.lang.Override + public int getUnitsValue() { return units_; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2978,17 +3583,21 @@ public Builder setLanguageCodeBytes(
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ public Builder setUnitsValue(int value) { - + units_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2997,7 +3606,9 @@ public Builder setUnitsValue(int value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ @java.lang.Override @@ -3007,6 +3618,8 @@ public com.google.maps.routing.v2.Units getUnits() { return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3015,7 +3628,9 @@ public com.google.maps.routing.v2.Units getUnits() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The units to set. * @return This builder for chaining. */ @@ -3023,12 +3638,14 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) { if (value == null) { throw new NullPointerException(); } - + units_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3037,25 +3654,31 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { - + units_ = 0; onChanged(); return this; } private java.util.List requestedReferenceRoutes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestedReferenceRoutesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = new java.util.ArrayList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = + new java.util.ArrayList(requestedReferenceRoutes_); bitField0_ |= 0x00000002; } } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3064,14 +3687,21 @@ private void ensureRequestedReferenceRoutesIsMutable() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ - public java.util.List getRequestedReferenceRoutesList() { + public java.util.List + getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( + requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3080,13 +3710,18 @@ public java.util.List
      *
-     * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     *
      * @return The count of requestedReferenceRoutes.
      */
     public int getRequestedReferenceRoutesCount() {
       return requestedReferenceRoutes_.size();
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3095,14 +3730,20 @@ public int getRequestedReferenceRoutesCount() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute + getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3111,7 +3752,10 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The requestedReferenceRoutes to set. * @return This builder for chaining. @@ -3127,6 +3771,8 @@ public Builder setRequestedReferenceRoutes( return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3135,11 +3781,15 @@ public Builder setRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The requestedReferenceRoutes to add. * @return This builder for chaining. */ - public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { + public Builder addRequestedReferenceRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { if (value == null) { throw new NullPointerException(); } @@ -3149,6 +3799,8 @@ public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRou return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3157,12 +3809,16 @@ public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRou
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The requestedReferenceRoutes to add. * @return This builder for chaining. */ public Builder addAllRequestedReferenceRoutes( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureRequestedReferenceRoutesIsMutable(); for (com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value : values) { requestedReferenceRoutes_.add(value.getNumber()); @@ -3171,6 +3827,8 @@ public Builder addAllRequestedReferenceRoutes( return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3179,7 +3837,10 @@ public Builder addAllRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRequestedReferenceRoutes() { @@ -3189,6 +3850,8 @@ public Builder clearRequestedReferenceRoutes() { return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3197,14 +3860,18 @@ public Builder clearRequestedReferenceRoutes() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - public java.util.List - getRequestedReferenceRoutesValueList() { + public java.util.List getRequestedReferenceRoutesValueList() { return java.util.Collections.unmodifiableList(requestedReferenceRoutes_); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3213,7 +3880,10 @@ public Builder clearRequestedReferenceRoutes() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -3221,6 +3891,8 @@ public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3229,19 +3901,23 @@ public int getRequestedReferenceRoutesValue(int index) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for requestedReferenceRoutes to set. * @return This builder for chaining. */ - public Builder setRequestedReferenceRoutesValue( - int index, int value) { + public Builder setRequestedReferenceRoutesValue(int index, int value) { ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3250,7 +3926,10 @@ public Builder setRequestedReferenceRoutesValue(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3261,6 +3940,8 @@ public Builder addRequestedReferenceRoutesValue(int value) { return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3269,7 +3950,10 @@ public Builder addRequestedReferenceRoutesValue(int value) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3282,9 +3966,9 @@ public Builder addAllRequestedReferenceRoutesValue( 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); } @@ -3294,12 +3978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesRequest) private static final com.google.maps.routing.v2.ComputeRoutesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesRequest(); } @@ -3308,27 +3992,27 @@ public static com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRoutesRequest 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 ComputeRoutesRequest 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; @@ -3343,6 +4027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java index e08991041bb3..086ee907bd9f 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java @@ -1,140 +1,211 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRoutesRequestOrBuilder extends +public interface ComputeRoutesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ boolean hasOrigin(); /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ com.google.maps.routing.v2.Waypoint getOrigin(); /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ boolean hasDestination(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ com.google.maps.routing.v2.Waypoint getDestination(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getIntermediatesList(); + java.util.List getIntermediatesList(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.Waypoint getIntermediates(int index); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getIntermediatesCount(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getIntermediatesOrBuilderList(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index); + com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -145,11 +216,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -160,124 +236,177 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ int getPolylineQualityValue(); /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ com.google.maps.routing.v2.PolylineQuality getPolylineQuality(); /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ int getPolylineEncodingValue(); /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); /** + * + * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ boolean getComputeAlternativeRoutes(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -288,10 +417,13 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -302,12 +434,14 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -316,11 +450,15 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ int getUnitsValue(); /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -329,12 +467,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ com.google.maps.routing.v2.Units getUnits(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -343,11 +485,17 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ - java.util.List getRequestedReferenceRoutesList(); + java.util.List + getRequestedReferenceRoutesList(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -356,11 +504,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requestedReferenceRoutes. */ int getRequestedReferenceRoutesCount(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -369,12 +522,18 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index); + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( + int index); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -383,12 +542,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - java.util.List - getRequestedReferenceRoutesValueList(); + java.util.List getRequestedReferenceRoutesValueList(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -397,7 +560,10 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java index 32283f083a49..79b113ddb84e 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRoutes the response message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ -public final class ComputeRoutesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRoutesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesResponse) ComputeRoutesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRoutesResponse.newBuilder() to construct. private ComputeRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRoutesResponse() { routes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRoutesResponse(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, + com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** + * + * *
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -66,6 +87,8 @@ public java.util.List getRoutesList() {
     return routes_;
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -77,11 +100,13 @@ public java.util.List getRoutesList() {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRoutesOrBuilderList() {
     return routes_;
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -97,6 +122,8 @@ public int getRoutesCount() {
     return routes_.size();
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -112,6 +139,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
     return routes_.get(index);
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -123,14 +152,15 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
     return routes_.get(index);
   }
 
   public static final int FALLBACK_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -139,6 +169,7 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -146,6 +177,8 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -154,13 +187,18 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -176,6 +214,7 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,8 +226,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 {
     for (int i = 0; i < routes_.size(); i++) {
       output.writeMessage(1, routes_.get(i));
     }
@@ -205,12 +243,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < routes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, routes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFallbackInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,19 +256,18 @@ 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.routing.v2.ComputeRoutesResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.ComputeRoutesResponse other = (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
+    com.google.maps.routing.v2.ComputeRoutesResponse other =
+        (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
 
-    if (!getRoutesList()
-        .equals(other.getRoutesList())) return false;
+    if (!getRoutesList().equals(other.getRoutesList())) return false;
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo()
-          .equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -258,130 +293,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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;
   }
   /**
+   *
+   *
    * 
    * ComputeRoutes the response message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ - 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.routing.v2.ComputeRoutesResponse) com.google.maps.routing.v2.ComputeRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, + com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesResponse.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(); @@ -402,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override @@ -423,7 +464,8 @@ public com.google.maps.routing.v2.ComputeRoutesResponse build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesResponse buildPartial() { - com.google.maps.routing.v2.ComputeRoutesResponse result = new com.google.maps.routing.v2.ComputeRoutesResponse(this); + com.google.maps.routing.v2.ComputeRoutesResponse result = + new com.google.maps.routing.v2.ComputeRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -447,38 +489,39 @@ public com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse) other); } else { super.mergeFrom(other); return this; @@ -486,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) { - if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) + return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -505,9 +549,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRoutesFieldBuilder() : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRoutesFieldBuilder() + : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -542,32 +587,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.maps.routing.v2.Route m = - input.readMessage( - com.google.maps.routing.v2.Route.parser(), - extensionRegistry); - if (routesBuilder_ == null) { - ensureRoutesIsMutable(); - routes_.add(m); - } else { - routesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getFallbackInfoFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.maps.routing.v2.Route m = + input.readMessage(com.google.maps.routing.v2.Route.parser(), extensionRegistry); + if (routesBuilder_ == null) { + ensureRoutesIsMutable(); + routes_.add(m); + } else { + routesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry); - 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) { @@ -577,21 +621,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> routesBuilder_; + com.google.maps.routing.v2.Route, + com.google.maps.routing.v2.Route.Builder, + com.google.maps.routing.v2.RouteOrBuilder> + routesBuilder_; /** + * + * *
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -610,6 +661,8 @@ public java.util.List getRoutesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -628,6 +681,8 @@ public int getRoutesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -646,6 +701,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -656,8 +713,7 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(
-        int index, com.google.maps.routing.v2.Route value) {
+    public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -671,6 +727,8 @@ public Builder setRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -681,8 +739,7 @@ public Builder setRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(
-        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.set(index, builderForValue.build());
@@ -693,6 +750,8 @@ public Builder setRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -717,6 +776,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -727,8 +788,7 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        int index, com.google.maps.routing.v2.Route value) {
+    public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -742,6 +802,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -752,8 +814,7 @@ public Builder addRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(builderForValue.build());
@@ -764,6 +825,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -774,8 +837,7 @@ public Builder addRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(index, builderForValue.build());
@@ -786,6 +848,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -800,8 +864,7 @@ public Builder addAllRoutes(
         java.lang.Iterable values) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, routes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_);
         onChanged();
       } else {
         routesBuilder_.addAllMessages(values);
@@ -809,6 +872,8 @@ public Builder addAllRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -830,6 +895,8 @@ public Builder clearRoutes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -851,6 +918,8 @@ public Builder removeRoutes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -861,11 +930,12 @@ public Builder removeRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
-        int index) {
+    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
       return getRoutesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -876,14 +946,16 @@ public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
       if (routesBuilder_ == null) {
-        return routes_.get(index);  } else {
+        return routes_.get(index);
+      } else {
         return routesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -894,8 +966,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List 
-         getRoutesOrBuilderList() {
+    public java.util.List
+        getRoutesOrBuilderList() {
       if (routesBuilder_ != null) {
         return routesBuilder_.getMessageOrBuilderList();
       } else {
@@ -903,6 +975,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -914,10 +988,12 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
     public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
-      return getRoutesFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.Route.getDefaultInstance());
+      return getRoutesFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -928,12 +1004,13 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
-        int index) {
-      return getRoutesFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.Route.getDefaultInstance());
+    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
+      return getRoutesFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -944,20 +1021,22 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List 
-         getRoutesBuilderList() {
+    public java.util.List getRoutesBuilderList() {
       return getRoutesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> 
+            com.google.maps.routing.v2.Route,
+            com.google.maps.routing.v2.Route.Builder,
+            com.google.maps.routing.v2.RouteOrBuilder>
         getRoutesFieldBuilder() {
       if (routesBuilder_ == null) {
-        routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder>(
-                routes_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        routesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.Route,
+                com.google.maps.routing.v2.Route.Builder,
+                com.google.maps.routing.v2.RouteOrBuilder>(
+                routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         routes_ = null;
       }
       return routesBuilder_;
@@ -965,8 +1044,13 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        fallbackInfoBuilder_;
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -975,12 +1059,15 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** + * + * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -989,16 +1076,21 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** + * + * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1022,6 +1114,8 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1043,6 +1137,8 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1056,7 +1152,9 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1068,6 +1166,8 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1089,6 +1189,8 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1099,11 +1201,13 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-      
+
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1117,11 +1221,14 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null ?
-            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
+        return fallbackInfo_ == null
+            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
+            : fallbackInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1132,21 +1239,24 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(),
-                getParentForChildren(),
-                isClean());
+        fallbackInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.FallbackInfo,
+                com.google.maps.routing.v2.FallbackInfo.Builder,
+                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(), getParentForChildren(), isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
+
     @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);
     }
 
@@ -1156,12 +1266,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesResponse)
   private static final com.google.maps.routing.v2.ComputeRoutesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesResponse();
   }
@@ -1170,27 +1280,27 @@ public static com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ComputeRoutesResponse 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 ComputeRoutesResponse 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;
@@ -1205,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
index 49e6d8b70374..aacbe14e3748 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface ComputeRoutesResponseOrBuilder extends
+public interface ComputeRoutesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -18,9 +36,10 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List 
-      getRoutesList();
+  java.util.List getRoutesList();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -33,6 +52,8 @@ public interface ComputeRoutesResponseOrBuilder extends
    */
   com.google.maps.routing.v2.Route getRoutes(int index);
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -45,6 +66,8 @@ public interface ComputeRoutesResponseOrBuilder extends
    */
   int getRoutesCount();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -55,9 +78,10 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List 
-      getRoutesOrBuilderList();
+  java.util.List getRoutesOrBuilderList();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -68,10 +92,11 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -80,10 +105,13 @@ com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -92,10 +120,13 @@ com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
similarity index 69%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
index 3b5f07f7ec1d..81f93112455e 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Information related to how and why a fallback result was used. If this field
  * is set, then it means the server used a different routing mode from your
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
  */
-public final class FallbackInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FallbackInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.FallbackInfo)
     FallbackInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FallbackInfo.newBuilder() to construct.
   private FallbackInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FallbackInfo() {
     routingMode_ = 0;
     reason_ = 0;
@@ -28,32 +46,35 @@ private FallbackInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FallbackInfo();
   }
 
   @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.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.FallbackInfoProto
+        .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.FallbackInfoProto
+        .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
+            com.google.maps.routing.v2.FallbackInfo.class,
+            com.google.maps.routing.v2.FallbackInfo.Builder.class);
   }
 
   public static final int ROUTING_MODE_FIELD_NUMBER = 1;
   private int routingMode_;
   /**
+   *
+   *
    * 
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -61,12 +82,16 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override public int getRoutingModeValue() { + @java.lang.Override + public int getRoutingModeValue() { return routingMode_; } /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -74,17 +99,22 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ - @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { + @java.lang.Override + public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = + com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } public static final int REASON_FIELD_NUMBER = 2; private int reason_; /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -92,12 +122,16 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -105,15 +139,19 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ - @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { + @java.lang.Override + public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = + com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,12 +163,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (routingMode_ + != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, routingMode_); } - if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + if (reason_ + != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { output.writeEnum(2, reason_); } getUnknownFields().writeTo(output); @@ -142,13 +182,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, routingMode_); + if (routingMode_ + != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routingMode_); } - if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reason_); + if (reason_ + != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -158,7 +199,7 @@ 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.routing.v2.FallbackInfo)) { return super.equals(obj); @@ -187,97 +228,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.FallbackInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.FallbackInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.FallbackInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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; } /** + * + * *
    * Information related to how and why a fallback result was used. If this field
    * is set, then it means the server used a different routing mode from your
@@ -286,33 +334,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
    */
-  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.routing.v2.FallbackInfo)
       com.google.maps.routing.v2.FallbackInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
+              com.google.maps.routing.v2.FallbackInfo.class,
+              com.google.maps.routing.v2.FallbackInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.FallbackInfo.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();
@@ -324,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
@@ -345,7 +392,8 @@ public com.google.maps.routing.v2.FallbackInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.FallbackInfo buildPartial() {
-      com.google.maps.routing.v2.FallbackInfo result = new com.google.maps.routing.v2.FallbackInfo(this);
+      com.google.maps.routing.v2.FallbackInfo result =
+          new com.google.maps.routing.v2.FallbackInfo(this);
       result.routingMode_ = routingMode_;
       result.reason_ = reason_;
       onBuilt();
@@ -356,38 +404,39 @@ public com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo) {
-        return mergeFrom((com.google.maps.routing.v2.FallbackInfo)other);
+        return mergeFrom((com.google.maps.routing.v2.FallbackInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -428,22 +477,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              routingMode_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 16: {
-              reason_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                routingMode_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                reason_ = input.readEnum();
+
+                break;
+              } // case 16
+            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) {
@@ -456,6 +508,8 @@ public Builder mergeFrom(
 
     private int routingMode_ = 0;
     /**
+     *
+     *
      * 
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -463,12 +517,16 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override public int getRoutingModeValue() { + @java.lang.Override + public int getRoutingModeValue() { return routingMode_; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -476,16 +534,19 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @param value The enum numeric value on the wire for routingMode to set. * @return This builder for chaining. */ public Builder setRoutingModeValue(int value) { - + routingMode_ = value; onChanged(); return this; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -493,15 +554,19 @@ public Builder setRoutingModeValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = + com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -509,6 +574,7 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @param value The routingMode to set. * @return This builder for chaining. */ @@ -516,12 +582,14 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val if (value == null) { throw new NullPointerException(); } - + routingMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -529,10 +597,11 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return This builder for chaining. */ public Builder clearRoutingMode() { - + routingMode_ = 0; onChanged(); return this; @@ -540,6 +609,8 @@ public Builder clearRoutingMode() { private int reason_ = 0; /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -547,12 +618,16 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -560,16 +635,19 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { - + reason_ = value; onChanged(); return this; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -577,15 +655,19 @@ public Builder setReasonValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = + com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -593,6 +675,7 @@ public com.google.maps.routing.v2.FallbackReason getReason() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @param value The reason to set. * @return This builder for chaining. */ @@ -600,12 +683,14 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) { if (value == null) { throw new NullPointerException(); } - + reason_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -613,17 +698,18 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; 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); } @@ -633,12 +719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.FallbackInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.FallbackInfo) private static final com.google.maps.routing.v2.FallbackInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.FallbackInfo(); } @@ -647,27 +733,27 @@ public static com.google.maps.routing.v2.FallbackInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FallbackInfo 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 FallbackInfo 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; @@ -682,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.FallbackInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java similarity index 72% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java index eab36a068616..109280a99d17 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; -public interface FallbackInfoOrBuilder extends +public interface FallbackInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.FallbackInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -15,10 +33,13 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ int getRoutingModeValue(); /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -26,11 +47,14 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode(); /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -38,10 +62,13 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -49,6 +76,7 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ com.google.maps.routing.v2.FallbackReason getReason(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java new file mode 100644 index 000000000000..a7ea937c97bb --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java @@ -0,0 +1,74 @@ +/* + * 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/routing/v2/fallback_info.proto + +package com.google.maps.routing.v2; + +public final class FallbackInfoProto { + private FallbackInfoProto() {} + + 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_routing_v2_FallbackInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + + "routing.v2B\021FallbackInfoProtoP\001Z=google." + + "golang.org/genproto/googleapis/maps/rout" + + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + + "ogle::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_routing_v2_FallbackInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_FallbackInfo_descriptor, + new java.lang.String[] { + "RoutingMode", "Reason", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java index c9b91da581c9..4c4557ffaed8 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java @@ -1,18 +1,36 @@ +/* + * 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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Reasons for using fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackReason} */ -public enum FallbackReason - implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No fallback reason specified.
    * 
@@ -21,6 +39,8 @@ public enum FallbackReason */ FALLBACK_REASON_UNSPECIFIED(0), /** + * + * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -31,6 +51,8 @@ public enum FallbackReason
    */
   SERVER_ERROR(1),
   /**
+   *
+   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -44,6 +66,8 @@ public enum FallbackReason
   ;
 
   /**
+   *
+   *
    * 
    * No fallback reason specified.
    * 
@@ -52,6 +76,8 @@ public enum FallbackReason */ public static final int FALLBACK_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -62,6 +88,8 @@ public enum FallbackReason
    */
   public static final int SERVER_ERROR_VALUE = 1;
   /**
+   *
+   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -72,7 +100,6 @@ public enum FallbackReason
    */
   public static final int LATENCY_EXCEEDED_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -97,49 +124,49 @@ public static FallbackReason valueOf(int value) {
    */
   public static FallbackReason forNumber(int value) {
     switch (value) {
-      case 0: return FALLBACK_REASON_UNSPECIFIED;
-      case 1: return SERVER_ERROR;
-      case 2: return LATENCY_EXCEEDED;
-      default: return null;
+      case 0:
+        return FALLBACK_REASON_UNSPECIFIED;
+      case 1:
+        return SERVER_ERROR;
+      case 2:
+        return LATENCY_EXCEEDED;
+      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<
-      FallbackReason> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FallbackReason findValueByNumber(int number) {
-            return FallbackReason.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 FallbackReason findValueByNumber(int number) {
+          return FallbackReason.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final FallbackReason[] VALUES = values();
 
-  public static FallbackReason valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FallbackReason 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;
@@ -155,4 +182,3 @@ private FallbackReason(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackReason)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
similarity index 70%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
index da291a274980..caa8b5d34cf9 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Actual routing mode used for returned fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackRoutingMode} */ -public enum FallbackRoutingMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum FallbackRoutingMode */ FALLBACK_ROUTING_MODE_UNSPECIFIED(0), /** + * + * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -30,6 +50,8 @@ public enum FallbackRoutingMode
    */
   FALLBACK_TRAFFIC_UNAWARE(1),
   /**
+   *
+   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -42,6 +64,8 @@ public enum FallbackRoutingMode
   ;
 
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -50,6 +74,8 @@ public enum FallbackRoutingMode */ public static final int FALLBACK_ROUTING_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -59,6 +85,8 @@ public enum FallbackRoutingMode
    */
   public static final int FALLBACK_TRAFFIC_UNAWARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -68,7 +96,6 @@ public enum FallbackRoutingMode
    */
   public static final int FALLBACK_TRAFFIC_AWARE_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,10 +120,14 @@ public static FallbackRoutingMode valueOf(int value) {
    */
   public static FallbackRoutingMode forNumber(int value) {
     switch (value) {
-      case 0: return FALLBACK_ROUTING_MODE_UNSPECIFIED;
-      case 1: return FALLBACK_TRAFFIC_UNAWARE;
-      case 2: return FALLBACK_TRAFFIC_AWARE;
-      default: return null;
+      case 0:
+        return FALLBACK_ROUTING_MODE_UNSPECIFIED;
+      case 1:
+        return FALLBACK_TRAFFIC_UNAWARE;
+      case 2:
+        return FALLBACK_TRAFFIC_AWARE;
+      default:
+        return null;
     }
   }
 
@@ -104,28 +135,28 @@ public static FallbackRoutingMode forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      FallbackRoutingMode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FallbackRoutingMode findValueByNumber(int number) {
-            return FallbackRoutingMode.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 FallbackRoutingMode findValueByNumber(int number) {
+              return FallbackRoutingMode.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -134,8 +165,7 @@ public FallbackRoutingMode findValueByNumber(int number) {
   public static FallbackRoutingMode 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;
@@ -151,4 +181,3 @@ private FallbackRoutingMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackRoutingMode)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
similarity index 73%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
index a5edc9ef18bc..dfde9cbbf63c 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a location (a geographic point, and an optional heading).
  * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { - } + + private Location() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @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.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, + com.google.maps.routing.v2.Location.Builder.class); } public static final int LAT_LNG_FIELD_NUMBER = 1; private com.google.type.LatLng latLng_; /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The waypoint's geographic coordinates.
    * 
@@ -88,6 +114,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int HEADING_FIELD_NUMBER = 2; private com.google.protobuf.Int32Value heading_; /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -97,6 +125,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ @java.lang.Override @@ -104,6 +133,8 @@ public boolean hasHeading() { return heading_ != null; } /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -113,6 +144,7 @@ public boolean hasHeading() {
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ @java.lang.Override @@ -120,6 +152,8 @@ public com.google.protobuf.Int32Value getHeading() { return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_; } /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -136,6 +170,7 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,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 (latLng_ != null) {
       output.writeMessage(1, getLatLng());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (latLng_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getLatLng());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLatLng());
     }
     if (heading_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getHeading());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHeading());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,7 +212,7 @@ 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.routing.v2.Location)) {
       return super.equals(obj);
@@ -189,13 +221,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasLatLng() != other.hasLatLng()) return false;
     if (hasLatLng()) {
-      if (!getLatLng()
-          .equals(other.getLatLng())) return false;
+      if (!getLatLng().equals(other.getLatLng())) return false;
     }
     if (hasHeading() != other.hasHeading()) return false;
     if (hasHeading()) {
-      if (!getHeading()
-          .equals(other.getHeading())) return false;
+      if (!getHeading().equals(other.getHeading())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +251,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Location parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Location parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.Location parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a location (a geographic point, and an optional heading).
    * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ - 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.routing.v2.Location) com.google.maps.routing.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, + com.google.maps.routing.v2.Location.Builder.class); } // Construct using com.google.maps.routing.v2.Location.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(); @@ -364,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override @@ -404,38 +439,39 @@ public com.google.maps.routing.v2.Location 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.routing.v2.Location) { - return mergeFrom((com.google.maps.routing.v2.Location)other); + return mergeFrom((com.google.maps.routing.v2.Location) other); } else { super.mergeFrom(other); return this; @@ -476,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getHeadingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getHeadingFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -508,24 +543,31 @@ public Builder mergeFrom( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -536,6 +578,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -556,14 +600,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -574,6 +619,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -583,8 +630,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -596,6 +642,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -614,6 +662,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -621,11 +671,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 1; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -636,11 +688,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -648,14 +701,14 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 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> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; @@ -663,8 +716,13 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { private com.google.protobuf.Int32Value heading_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> headingBuilder_; + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + headingBuilder_; /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -674,12 +732,15 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ public boolean hasHeading() { return headingBuilder_ != null || heading_ != null; } /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -689,6 +750,7 @@ public boolean hasHeading() {
      * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ public com.google.protobuf.Int32Value getHeading() { @@ -699,6 +761,8 @@ public com.google.protobuf.Int32Value getHeading() { } } /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -723,6 +787,8 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -733,8 +799,7 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value heading = 2;
      */
-    public Builder setHeading(
-        com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue) {
       if (headingBuilder_ == null) {
         heading_ = builderForValue.build();
         onChanged();
@@ -745,6 +810,8 @@ public Builder setHeading(
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -759,7 +826,7 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       if (headingBuilder_ == null) {
         if (heading_ != null) {
           heading_ =
-            com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
         } else {
           heading_ = value;
         }
@@ -771,6 +838,8 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -793,6 +862,8 @@ public Builder clearHeading() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -804,11 +875,13 @@ public Builder clearHeading() {
      * .google.protobuf.Int32Value heading = 2;
      */
     public com.google.protobuf.Int32Value.Builder getHeadingBuilder() {
-      
+
       onChanged();
       return getHeadingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -823,11 +896,12 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
       if (headingBuilder_ != null) {
         return headingBuilder_.getMessageOrBuilder();
       } else {
-        return heading_ == null ?
-            com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
+        return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
       }
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -839,21 +913,24 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
      * .google.protobuf.Int32Value heading = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
+            com.google.protobuf.Int32Value,
+            com.google.protobuf.Int32Value.Builder,
+            com.google.protobuf.Int32ValueOrBuilder>
         getHeadingFieldBuilder() {
       if (headingBuilder_ == null) {
-        headingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
-                getHeading(),
-                getParentForChildren(),
-                isClean());
+        headingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int32Value,
+                com.google.protobuf.Int32Value.Builder,
+                com.google.protobuf.Int32ValueOrBuilder>(
+                getHeading(), getParentForChildren(), isClean());
         heading_ = null;
       }
       return headingBuilder_;
     }
+
     @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);
     }
 
@@ -863,12 +940,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Location)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Location)
   private static final com.google.maps.routing.v2.Location DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Location();
   }
@@ -877,27 +954,27 @@ public static com.google.maps.routing.v2.Location getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Location 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 Location 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;
@@ -912,6 +989,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Location getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
index 6e984768bab2..58e544a661c5 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
-public interface LocationOrBuilder extends
+public interface LocationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Location)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The waypoint's geographic coordinates.
    * 
@@ -35,6 +59,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -44,10 +70,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ boolean hasHeading(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -57,10 +86,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ com.google.protobuf.Int32Value getHeading(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
new file mode 100644
index 000000000000..6c97294ff432
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
@@ -0,0 +1,75 @@
+/*
+ * 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/routing/v2/location.proto
+
+package com.google.maps.routing.v2;
+
+public final class LocationProto {
+  private LocationProto() {}
+
+  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_routing_v2_Location_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022"
+          + "\026google.maps.routing.v2\032\036google/protobuf"
+          + "/wrappers.proto\032\030google/type/latlng.prot"
+          + "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google."
+          + "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr"
+          + "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro"
+          + "uting.v2B\rLocationProtoP\001Z=google.golang"
+          + ".org/genproto/googleapis/maps/routing/v2"
+          + ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin"
+          + "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::"
+          + "Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.WrappersProto.getDescriptor(),
+              com.google.type.LatLngProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_Location_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Location_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_Location_descriptor,
+            new java.lang.String[] {
+              "LatLng", "Heading",
+            });
+    com.google.protobuf.WrappersProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
similarity index 74%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
index e4e986514923..912c04595aa0 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.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/routing/v2/maneuver.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify the navigation action to take for the current
  * step (e.g., turn left, merge, straight, etc.).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.Maneuver}
  */
-public enum Maneuver
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -22,6 +40,8 @@ public enum Maneuver */ MANEUVER_UNSPECIFIED(0), /** + * + * *
    * Turn slightly to the left.
    * 
@@ -30,6 +50,8 @@ public enum Maneuver */ TURN_SLIGHT_LEFT(1), /** + * + * *
    * Turn sharply to the left.
    * 
@@ -38,6 +60,8 @@ public enum Maneuver */ TURN_SHARP_LEFT(2), /** + * + * *
    * Make a left u-turn.
    * 
@@ -46,6 +70,8 @@ public enum Maneuver */ UTURN_LEFT(3), /** + * + * *
    * Turn left.
    * 
@@ -54,6 +80,8 @@ public enum Maneuver */ TURN_LEFT(4), /** + * + * *
    * Turn slightly to the right.
    * 
@@ -62,6 +90,8 @@ public enum Maneuver */ TURN_SLIGHT_RIGHT(5), /** + * + * *
    * Turn sharply to the right.
    * 
@@ -70,6 +100,8 @@ public enum Maneuver */ TURN_SHARP_RIGHT(6), /** + * + * *
    * Make a right u-turn.
    * 
@@ -78,6 +110,8 @@ public enum Maneuver */ UTURN_RIGHT(7), /** + * + * *
    * Turn right.
    * 
@@ -86,6 +120,8 @@ public enum Maneuver */ TURN_RIGHT(8), /** + * + * *
    * Go straight.
    * 
@@ -94,6 +130,8 @@ public enum Maneuver */ STRAIGHT(9), /** + * + * *
    * Take the left ramp.
    * 
@@ -102,6 +140,8 @@ public enum Maneuver */ RAMP_LEFT(10), /** + * + * *
    * Take the right ramp.
    * 
@@ -110,6 +150,8 @@ public enum Maneuver */ RAMP_RIGHT(11), /** + * + * *
    * Merge into traffic.
    * 
@@ -118,6 +160,8 @@ public enum Maneuver */ MERGE(12), /** + * + * *
    * Take the left fork.
    * 
@@ -126,6 +170,8 @@ public enum Maneuver */ FORK_LEFT(13), /** + * + * *
    * Take the right fork.
    * 
@@ -134,6 +180,8 @@ public enum Maneuver */ FORK_RIGHT(14), /** + * + * *
    * Take the ferry.
    * 
@@ -142,6 +190,8 @@ public enum Maneuver */ FERRY(15), /** + * + * *
    * Take the train leading onto the ferry.
    * 
@@ -150,6 +200,8 @@ public enum Maneuver */ FERRY_TRAIN(16), /** + * + * *
    * Turn left at the roundabout.
    * 
@@ -158,6 +210,8 @@ public enum Maneuver */ ROUNDABOUT_LEFT(17), /** + * + * *
    * Turn right at the roundabout.
    * 
@@ -169,6 +223,8 @@ public enum Maneuver ; /** + * + * *
    * Not used.
    * 
@@ -177,6 +233,8 @@ public enum Maneuver */ public static final int MANEUVER_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Turn slightly to the left.
    * 
@@ -185,6 +243,8 @@ public enum Maneuver */ public static final int TURN_SLIGHT_LEFT_VALUE = 1; /** + * + * *
    * Turn sharply to the left.
    * 
@@ -193,6 +253,8 @@ public enum Maneuver */ public static final int TURN_SHARP_LEFT_VALUE = 2; /** + * + * *
    * Make a left u-turn.
    * 
@@ -201,6 +263,8 @@ public enum Maneuver */ public static final int UTURN_LEFT_VALUE = 3; /** + * + * *
    * Turn left.
    * 
@@ -209,6 +273,8 @@ public enum Maneuver */ public static final int TURN_LEFT_VALUE = 4; /** + * + * *
    * Turn slightly to the right.
    * 
@@ -217,6 +283,8 @@ public enum Maneuver */ public static final int TURN_SLIGHT_RIGHT_VALUE = 5; /** + * + * *
    * Turn sharply to the right.
    * 
@@ -225,6 +293,8 @@ public enum Maneuver */ public static final int TURN_SHARP_RIGHT_VALUE = 6; /** + * + * *
    * Make a right u-turn.
    * 
@@ -233,6 +303,8 @@ public enum Maneuver */ public static final int UTURN_RIGHT_VALUE = 7; /** + * + * *
    * Turn right.
    * 
@@ -241,6 +313,8 @@ public enum Maneuver */ public static final int TURN_RIGHT_VALUE = 8; /** + * + * *
    * Go straight.
    * 
@@ -249,6 +323,8 @@ public enum Maneuver */ public static final int STRAIGHT_VALUE = 9; /** + * + * *
    * Take the left ramp.
    * 
@@ -257,6 +333,8 @@ public enum Maneuver */ public static final int RAMP_LEFT_VALUE = 10; /** + * + * *
    * Take the right ramp.
    * 
@@ -265,6 +343,8 @@ public enum Maneuver */ public static final int RAMP_RIGHT_VALUE = 11; /** + * + * *
    * Merge into traffic.
    * 
@@ -273,6 +353,8 @@ public enum Maneuver */ public static final int MERGE_VALUE = 12; /** + * + * *
    * Take the left fork.
    * 
@@ -281,6 +363,8 @@ public enum Maneuver */ public static final int FORK_LEFT_VALUE = 13; /** + * + * *
    * Take the right fork.
    * 
@@ -289,6 +373,8 @@ public enum Maneuver */ public static final int FORK_RIGHT_VALUE = 14; /** + * + * *
    * Take the ferry.
    * 
@@ -297,6 +383,8 @@ public enum Maneuver */ public static final int FERRY_VALUE = 15; /** + * + * *
    * Take the train leading onto the ferry.
    * 
@@ -305,6 +393,8 @@ public enum Maneuver */ public static final int FERRY_TRAIN_VALUE = 16; /** + * + * *
    * Turn left at the roundabout.
    * 
@@ -313,6 +403,8 @@ public enum Maneuver */ public static final int ROUNDABOUT_LEFT_VALUE = 17; /** + * + * *
    * Turn right at the roundabout.
    * 
@@ -321,7 +413,6 @@ public enum Maneuver */ public static final int ROUNDABOUT_RIGHT_VALUE = 18; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -346,65 +437,81 @@ public static Maneuver valueOf(int value) { */ public static Maneuver forNumber(int value) { switch (value) { - case 0: return MANEUVER_UNSPECIFIED; - case 1: return TURN_SLIGHT_LEFT; - case 2: return TURN_SHARP_LEFT; - case 3: return UTURN_LEFT; - case 4: return TURN_LEFT; - case 5: return TURN_SLIGHT_RIGHT; - case 6: return TURN_SHARP_RIGHT; - case 7: return UTURN_RIGHT; - case 8: return TURN_RIGHT; - case 9: return STRAIGHT; - case 10: return RAMP_LEFT; - case 11: return RAMP_RIGHT; - case 12: return MERGE; - case 13: return FORK_LEFT; - case 14: return FORK_RIGHT; - case 15: return FERRY; - case 16: return FERRY_TRAIN; - case 17: return ROUNDABOUT_LEFT; - case 18: return ROUNDABOUT_RIGHT; - default: return null; + case 0: + return MANEUVER_UNSPECIFIED; + case 1: + return TURN_SLIGHT_LEFT; + case 2: + return TURN_SHARP_LEFT; + case 3: + return UTURN_LEFT; + case 4: + return TURN_LEFT; + case 5: + return TURN_SLIGHT_RIGHT; + case 6: + return TURN_SHARP_RIGHT; + case 7: + return UTURN_RIGHT; + case 8: + return TURN_RIGHT; + case 9: + return STRAIGHT; + case 10: + return RAMP_LEFT; + case 11: + return RAMP_RIGHT; + case 12: + return MERGE; + case 13: + return FORK_LEFT; + case 14: + return FORK_RIGHT; + case 15: + return FERRY; + case 16: + return FERRY_TRAIN; + case 17: + return ROUNDABOUT_LEFT; + case 18: + return ROUNDABOUT_RIGHT; + 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< - Maneuver> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Maneuver findValueByNumber(int number) { - return Maneuver.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 Maneuver findValueByNumber(int number) { + return Maneuver.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.routing.v2.ManeuverProto.getDescriptor().getEnumTypes().get(0); } private static final Maneuver[] VALUES = values(); - public static Maneuver valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Maneuver 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; @@ -420,4 +527,3 @@ private Maneuver(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Maneuver) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java new file mode 100644 index 000000000000..f6c50fb87124 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java @@ -0,0 +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/routing/v2/maneuver.proto + +package com.google.maps.routing.v2; + +public final class ManeuverProto { + private ManeuverProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/maneuver.proto\022" + + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + + ".v2B\rManeuverProtoP\001Z=google.golang.org/" + + "genproto/googleapis/maps/routing/v2;rout" + + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + + ":Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java similarity index 69% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java index a819b44fb188..fd64ff5e1778 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates navigation instructions for a
  * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
  */
-public final class NavigationInstruction extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NavigationInstruction extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.NavigationInstruction)
     NavigationInstructionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NavigationInstruction.newBuilder() to construct.
   private NavigationInstruction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NavigationInstruction() {
     maneuver_ = 0;
     instructions_ = "";
@@ -27,66 +45,79 @@ private NavigationInstruction() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NavigationInstruction();
   }
 
   @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.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.NavigationInstructionProto
+        .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+    return com.google.maps.routing.v2.NavigationInstructionProto
+        .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+            com.google.maps.routing.v2.NavigationInstruction.class,
+            com.google.maps.routing.v2.NavigationInstruction.Builder.class);
   }
 
   public static final int MANEUVER_FIELD_NUMBER = 1;
   private int maneuver_;
   /**
+   *
+   *
    * 
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override public int getManeuverValue() { + @java.lang.Override + public int getManeuverValue() { return maneuver_; } /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ - @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { + @java.lang.Override + public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = + com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } public static final int INSTRUCTIONS_FIELD_NUMBER = 2; private volatile java.lang.Object instructions_; /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The instructions. */ @java.lang.Override @@ -95,29 +126,29 @@ public java.lang.String getInstructions() { 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(); instructions_ = s; return s; } } /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The bytes for instructions. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionsBytes() { + public com.google.protobuf.ByteString getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -126,6 +157,7 @@ public java.lang.String getInstructions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +169,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 (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { output.writeEnum(1, maneuver_); } @@ -155,8 +186,7 @@ public int getSerializedSize() { size = 0; if (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, maneuver_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, maneuver_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instructions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instructions_); @@ -169,16 +199,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.routing.v2.NavigationInstruction)) { return super.equals(obj); } - com.google.maps.routing.v2.NavigationInstruction other = (com.google.maps.routing.v2.NavigationInstruction) obj; + com.google.maps.routing.v2.NavigationInstruction other = + (com.google.maps.routing.v2.NavigationInstruction) obj; if (maneuver_ != other.maneuver_) return false; - if (!getInstructions() - .equals(other.getInstructions())) return false; + if (!getInstructions().equals(other.getInstructions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -199,97 +229,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.NavigationInstruction parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.NavigationInstruction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.NavigationInstruction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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; } /** + * + * *
    * Encapsulates navigation instructions for a
    * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -297,33 +334,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
    */
-  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.routing.v2.NavigationInstruction)
       com.google.maps.routing.v2.NavigationInstructionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+              com.google.maps.routing.v2.NavigationInstruction.class,
+              com.google.maps.routing.v2.NavigationInstruction.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.NavigationInstruction.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();
@@ -335,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
@@ -356,7 +392,8 @@ public com.google.maps.routing.v2.NavigationInstruction build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.NavigationInstruction buildPartial() {
-      com.google.maps.routing.v2.NavigationInstruction result = new com.google.maps.routing.v2.NavigationInstruction(this);
+      com.google.maps.routing.v2.NavigationInstruction result =
+          new com.google.maps.routing.v2.NavigationInstruction(this);
       result.maneuver_ = maneuver_;
       result.instructions_ = instructions_;
       onBuilt();
@@ -367,38 +404,39 @@ public com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction) {
-        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction)other);
+        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,7 +444,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.NavigationInstruction other) {
-      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance())
+        return this;
       if (other.maneuver_ != 0) {
         setManeuverValue(other.getManeuverValue());
       }
@@ -440,22 +479,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              maneuver_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              instructions_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                maneuver_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                instructions_ = 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) {
@@ -468,55 +510,69 @@ public Builder mergeFrom(
 
     private int maneuver_ = 0;
     /**
+     *
+     *
      * 
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override public int getManeuverValue() { + @java.lang.Override + public int getManeuverValue() { return maneuver_; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @param value The enum numeric value on the wire for maneuver to set. * @return This builder for chaining. */ public Builder setManeuverValue(int value) { - + maneuver_ = value; onChanged(); return this; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = + com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @param value The maneuver to set. * @return This builder for chaining. */ @@ -524,22 +580,25 @@ public Builder setManeuver(com.google.maps.routing.v2.Maneuver value) { if (value == null) { throw new NullPointerException(); } - + maneuver_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return This builder for chaining. */ public Builder clearManeuver() { - + maneuver_ = 0; onChanged(); return this; @@ -547,18 +606,20 @@ public Builder clearManeuver() { private java.lang.Object instructions_ = ""; /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return The instructions. */ public java.lang.String getInstructions() { java.lang.Object ref = instructions_; 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(); instructions_ = s; return s; @@ -567,20 +628,21 @@ public java.lang.String getInstructions() { } } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return The bytes for instructions. */ - public com.google.protobuf.ByteString - getInstructionsBytes() { + public com.google.protobuf.ByteString getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -588,61 +650,68 @@ public java.lang.String getInstructions() { } } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @param value The instructions to set. * @return This builder for chaining. */ - public Builder setInstructions( - java.lang.String value) { + public Builder setInstructions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instructions_ = value; onChanged(); return this; } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return This builder for chaining. */ public Builder clearInstructions() { - + instructions_ = getDefaultInstance().getInstructions(); onChanged(); return this; } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @param value The bytes for instructions to set. * @return This builder for chaining. */ - public Builder setInstructionsBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instructions_ = 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); } @@ -652,12 +721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.NavigationInstruction) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.NavigationInstruction) private static final com.google.maps.routing.v2.NavigationInstruction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.NavigationInstruction(); } @@ -666,27 +735,27 @@ public static com.google.maps.routing.v2.NavigationInstruction getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NavigationInstruction 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 NavigationInstruction 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; @@ -701,6 +770,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.NavigationInstruction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java similarity index 63% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java index 5cf285ee2a4a..cd4f6086f6cb 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java @@ -1,50 +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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; -public interface NavigationInstructionOrBuilder extends +public interface NavigationInstructionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.NavigationInstruction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ int getManeuverValue(); /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ com.google.maps.routing.v2.Maneuver getManeuver(); /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The instructions. */ java.lang.String getInstructions(); /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The bytes for instructions. */ - com.google.protobuf.ByteString - getInstructionsBytes(); + com.google.protobuf.ByteString getInstructionsBytes(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java new file mode 100644 index 000000000000..13190eb8f396 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java @@ -0,0 +1,73 @@ +/* + * 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/routing/v2/navigation_instruction.proto + +package com.google.maps.routing.v2; + +public final class NavigationInstructionProto { + private NavigationInstructionProto() {} + + 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_routing_v2_NavigationInstruction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/navigation_inst" + + "ruction.proto\022\026google.maps.routing.v2\032%g" + + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + + "ing.v2B\032NavigationInstructionProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/maps" + + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + + "\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.ManeuverProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, + new java.lang.String[] { + "Maneuver", "Instructions", + }); + com.google.maps.routing.v2.ManeuverProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java index 87e94edaaedf..1a249fa90660 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java @@ -1,61 +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/routing/v2/polyline.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates an encoded polyline.
  * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ -public final class Polyline extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Polyline extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Polyline) PolylineOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Polyline.newBuilder() to construct. private Polyline(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Polyline() { - } + + private Polyline() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Polyline(); } @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.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, + com.google.maps.routing.v2.Polyline.Builder.class); } private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; + public enum PolylineTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENCODED_POLYLINE(1), GEO_JSON_LINESTRING(2), POLYLINETYPE_NOT_SET(0); private final int value; + private PolylineTypeCase(int value) { this.value = value; } @@ -71,43 +92,52 @@ public static PolylineTypeCase valueOf(int value) { public static PolylineTypeCase forNumber(int value) { switch (value) { - case 1: return ENCODED_POLYLINE; - case 2: return GEO_JSON_LINESTRING; - case 0: return POLYLINETYPE_NOT_SET; - default: return null; + case 1: + return ENCODED_POLYLINE; + case 2: + return GEO_JSON_LINESTRING; + case 0: + return POLYLINETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PolylineTypeCase - getPolylineTypeCase() { - return PolylineTypeCase.forNumber( - polylineTypeCase_); + public PolylineTypeCase getPolylineTypeCase() { + return PolylineTypeCase.forNumber(polylineTypeCase_); } public static final int ENCODED_POLYLINE_FIELD_NUMBER = 1; /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ public java.lang.String getEncodedPolyline() { @@ -118,8 +148,7 @@ public java.lang.String getEncodedPolyline() { 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -128,24 +157,25 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ - public com.google.protobuf.ByteString - getEncodedPolylineBytes() { + public com.google.protobuf.ByteString getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -157,12 +187,15 @@ public java.lang.String getEncodedPolyline() { public static final int GEO_JSON_LINESTRING_FIELD_NUMBER = 2; /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -170,22 +203,27 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ @java.lang.Override public com.google.protobuf.Struct getGeoJsonLinestring() { if (polylineTypeCase_ == 2) { - return (com.google.protobuf.Struct) polylineType_; + return (com.google.protobuf.Struct) polylineType_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -196,12 +234,13 @@ public com.google.protobuf.Struct getGeoJsonLinestring() {
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
     if (polylineTypeCase_ == 2) {
-       return (com.google.protobuf.Struct) polylineType_;
+      return (com.google.protobuf.Struct) polylineType_;
     }
     return com.google.protobuf.Struct.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +252,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 (polylineTypeCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, polylineType_);
     }
@@ -234,8 +272,9 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, polylineType_);
     }
     if (polylineTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.protobuf.Struct) polylineType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.protobuf.Struct) polylineType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -245,7 +284,7 @@ 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.routing.v2.Polyline)) {
       return super.equals(obj);
@@ -255,12 +294,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getPolylineTypeCase().equals(other.getPolylineTypeCase())) return false;
     switch (polylineTypeCase_) {
       case 1:
-        if (!getEncodedPolyline()
-            .equals(other.getEncodedPolyline())) return false;
+        if (!getEncodedPolyline().equals(other.getEncodedPolyline())) return false;
         break;
       case 2:
-        if (!getGeoJsonLinestring()
-            .equals(other.getGeoJsonLinestring())) return false;
+        if (!getGeoJsonLinestring().equals(other.getGeoJsonLinestring())) return false;
         break;
       case 0:
       default:
@@ -293,130 +330,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Polyline parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.Polyline parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates an encoded polyline.
    * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ - 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.routing.v2.Polyline) com.google.maps.routing.v2.PolylineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, + com.google.maps.routing.v2.Polyline.Builder.class); } // Construct using com.google.maps.routing.v2.Polyline.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(); @@ -429,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override @@ -470,38 +512,39 @@ public com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline) { - return mergeFrom((com.google.maps.routing.v2.Polyline)other); + return mergeFrom((com.google.maps.routing.v2.Polyline) other); } else { super.mergeFrom(other); return this; @@ -511,19 +554,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.maps.routing.v2.Polyline other) { if (other == com.google.maps.routing.v2.Polyline.getDefaultInstance()) return this; switch (other.getPolylineTypeCase()) { - case ENCODED_POLYLINE: { - polylineTypeCase_ = 1; - polylineType_ = other.polylineType_; - onChanged(); - break; - } - case GEO_JSON_LINESTRING: { - mergeGeoJsonLinestring(other.getGeoJsonLinestring()); - break; - } - case POLYLINETYPE_NOT_SET: { - break; - } + case ENCODED_POLYLINE: + { + polylineTypeCase_ = 1; + polylineType_ = other.polylineType_; + onChanged(); + break; + } + case GEO_JSON_LINESTRING: + { + mergeGeoJsonLinestring(other.getGeoJsonLinestring()); + break; + } + case POLYLINETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -551,25 +597,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - polylineTypeCase_ = 1; - polylineType_ = s; - break; - } // case 10 - case 18: { - input.readMessage( - getGeoJsonLinestringFieldBuilder().getBuilder(), - extensionRegistry); - polylineTypeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + polylineTypeCase_ = 1; + polylineType_ = s; + break; + } // case 10 + case 18: + { + input.readMessage( + getGeoJsonLinestringFieldBuilder().getBuilder(), extensionRegistry); + polylineTypeCase_ = 2; + 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) { @@ -579,12 +627,12 @@ public Builder mergeFrom( } // finally return this; } + private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - public PolylineTypeCase - getPolylineTypeCase() { - return PolylineTypeCase.forNumber( - polylineTypeCase_); + + public PolylineTypeCase getPolylineTypeCase() { + return PolylineTypeCase.forNumber(polylineTypeCase_); } public Builder clearPolylineType() { @@ -594,14 +642,16 @@ public Builder clearPolylineType() { return this; } - /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ @java.lang.Override @@ -609,12 +659,15 @@ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ @java.lang.Override @@ -624,8 +677,7 @@ public java.lang.String getEncodedPolyline() { ref = polylineType_; } 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -636,25 +688,26 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodedPolylineBytes() { + public com.google.protobuf.ByteString getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -664,32 +717,37 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @param value The encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolyline( - java.lang.String value) { + public Builder setEncodedPolyline(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - polylineTypeCase_ = 1; + throw new NullPointerException(); + } + polylineTypeCase_ = 1; polylineType_ = value; onChanged(); return this; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return This builder for chaining. */ public Builder clearEncodedPolyline() { @@ -701,21 +759,23 @@ public Builder clearEncodedPolyline() { return this; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @param value The bytes for encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolylineBytes( - com.google.protobuf.ByteString value) { + public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); polylineTypeCase_ = 1; polylineType_ = value; onChanged(); @@ -723,14 +783,20 @@ public Builder setEncodedPolylineBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> geoJsonLinestringBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + geoJsonLinestringBuilder_; /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -738,12 +804,15 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ @java.lang.Override @@ -761,6 +830,8 @@ public com.google.protobuf.Struct getGeoJsonLinestring() { } } /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -782,6 +853,8 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -789,8 +862,7 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
-    public Builder setGeoJsonLinestring(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderForValue) {
       if (geoJsonLinestringBuilder_ == null) {
         polylineType_ = builderForValue.build();
         onChanged();
@@ -801,6 +873,8 @@ public Builder setGeoJsonLinestring(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -810,10 +884,12 @@ public Builder setGeoJsonLinestring(
      */
     public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       if (geoJsonLinestringBuilder_ == null) {
-        if (polylineTypeCase_ == 2 &&
-            polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
-          polylineType_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
-              .mergeFrom(value).buildPartial();
+        if (polylineTypeCase_ == 2
+            && polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          polylineType_ =
+              com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polylineType_ = value;
         }
@@ -829,6 +905,8 @@ public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -853,6 +931,8 @@ public Builder clearGeoJsonLinestring() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -864,6 +944,8 @@ public com.google.protobuf.Struct.Builder getGeoJsonLinestringBuilder() {
       return getGeoJsonLinestringFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -883,6 +965,8 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -891,26 +975,30 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getGeoJsonLinestringFieldBuilder() {
       if (geoJsonLinestringBuilder_ == null) {
         if (!(polylineTypeCase_ == 2)) {
           polylineType_ = com.google.protobuf.Struct.getDefaultInstance();
         }
-        geoJsonLinestringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                (com.google.protobuf.Struct) polylineType_,
-                getParentForChildren(),
-                isClean());
+        geoJsonLinestringBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                (com.google.protobuf.Struct) polylineType_, getParentForChildren(), isClean());
         polylineType_ = null;
       }
       polylineTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return geoJsonLinestringBuilder_;
     }
+
     @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);
     }
 
@@ -920,12 +1008,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Polyline)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Polyline)
   private static final com.google.maps.routing.v2.Polyline DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Polyline();
   }
@@ -934,27 +1022,27 @@ public static com.google.maps.routing.v2.Polyline getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Polyline 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 Polyline 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;
@@ -969,6 +1057,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Polyline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
similarity index 69%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
index e6b196b85fa9..bff0044509ae 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Specifies the preferred type of polyline to be returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineEncoding} */ -public enum PolylineEncoding - implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -21,6 +39,8 @@ public enum PolylineEncoding */ POLYLINE_ENCODING_UNSPECIFIED(0), /** + * + * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -30,6 +50,8 @@ public enum PolylineEncoding
    */
   ENCODED_POLYLINE(1),
   /**
+   *
+   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -42,6 +64,8 @@ public enum PolylineEncoding
   ;
 
   /**
+   *
+   *
    * 
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -50,6 +74,8 @@ public enum PolylineEncoding */ public static final int POLYLINE_ENCODING_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -59,6 +85,8 @@ public enum PolylineEncoding
    */
   public static final int ENCODED_POLYLINE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -68,7 +96,6 @@ public enum PolylineEncoding
    */
   public static final int GEO_JSON_LINESTRING_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static PolylineEncoding valueOf(int value) {
    */
   public static PolylineEncoding forNumber(int value) {
     switch (value) {
-      case 0: return POLYLINE_ENCODING_UNSPECIFIED;
-      case 1: return ENCODED_POLYLINE;
-      case 2: return GEO_JSON_LINESTRING;
-      default: return null;
+      case 0:
+        return POLYLINE_ENCODING_UNSPECIFIED;
+      case 1:
+        return ENCODED_POLYLINE;
+      case 2:
+        return GEO_JSON_LINESTRING;
+      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<
-      PolylineEncoding> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PolylineEncoding findValueByNumber(int number) {
-            return PolylineEncoding.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 PolylineEncoding findValueByNumber(int number) {
+          return PolylineEncoding.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final PolylineEncoding[] VALUES = values();
 
-  public static PolylineEncoding valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineEncoding 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;
@@ -151,4 +178,3 @@ private PolylineEncoding(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineEncoding)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
index b3fd35f7ece7..815fc261c33d 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
@@ -1,65 +1,97 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
-public interface PolylineOrBuilder extends
+public interface PolylineOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Polyline)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ boolean hasEncodedPolyline(); /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ java.lang.String getEncodedPolyline(); /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ - com.google.protobuf.ByteString - getEncodedPolylineBytes(); + com.google.protobuf.ByteString getEncodedPolylineBytes(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ boolean hasGeoJsonLinestring(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ com.google.protobuf.Struct getGeoJsonLinestring(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
new file mode 100644
index 000000000000..a743db5a4a31
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
@@ -0,0 +1,78 @@
+/*
+ * 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/routing/v2/polyline.proto
+
+package com.google.maps.routing.v2;
+
+public final class PolylineProto {
+  private PolylineProto() {}
+
+  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_routing_v2_Polyline_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022"
+          + "\026google.maps.routing.v2\032\034google/protobuf"
+          + "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol"
+          + "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001"
+          + "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin"
+          + "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU"
+          + "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n"
+          + "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL"
+          + "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO"
+          + "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co"
+          + "m.google.maps.routing.v2B\rPolylineProtoP"
+          + "\001Z=google.golang.org/genproto/googleapis"
+          + "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go"
+          + "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi"
+          + "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto"
+          + "3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.StructProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_Polyline_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_Polyline_descriptor,
+            new java.lang.String[] {
+              "EncodedPolyline", "GeoJsonLinestring", "PolylineType",
+            });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
similarity index 71%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
index ab8ebe80a4f4..abdb1901ca63 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify the quality of the polyline.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineQuality} */ -public enum PolylineQuality - implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -21,6 +39,8 @@ public enum PolylineQuality */ POLYLINE_QUALITY_UNSPECIFIED(0), /** + * + * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -31,6 +51,8 @@ public enum PolylineQuality
    */
   HIGH_QUALITY(1),
   /**
+   *
+   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -45,6 +67,8 @@ public enum PolylineQuality
   ;
 
   /**
+   *
+   *
    * 
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -53,6 +77,8 @@ public enum PolylineQuality */ public static final int POLYLINE_QUALITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -63,6 +89,8 @@ public enum PolylineQuality
    */
   public static final int HIGH_QUALITY_VALUE = 1;
   /**
+   *
+   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -74,7 +102,6 @@ public enum PolylineQuality
    */
   public static final int OVERVIEW_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -99,49 +126,49 @@ public static PolylineQuality valueOf(int value) {
    */
   public static PolylineQuality forNumber(int value) {
     switch (value) {
-      case 0: return POLYLINE_QUALITY_UNSPECIFIED;
-      case 1: return HIGH_QUALITY;
-      case 2: return OVERVIEW;
-      default: return null;
+      case 0:
+        return POLYLINE_QUALITY_UNSPECIFIED;
+      case 1:
+        return HIGH_QUALITY;
+      case 2:
+        return OVERVIEW;
+      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<
-      PolylineQuality> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PolylineQuality findValueByNumber(int number) {
-            return PolylineQuality.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 PolylineQuality findValueByNumber(int number) {
+          return PolylineQuality.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final PolylineQuality[] VALUES = values();
 
-  public static PolylineQuality valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineQuality 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;
@@ -157,4 +184,3 @@ private PolylineQuality(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineQuality)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
similarity index 80%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
index 14395d9fe43b..fab593f4b642 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a route, which consists of a series of connected road segments
  * that join beginning, ending, and intermediate waypoints.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Route}
  */
-public final class Route extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Route extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Route)
     RouteOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Route() {
     routeLabels_ = java.util.Collections.emptyList();
     legs_ = java.util.Collections.emptyList();
@@ -30,25 +48,25 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_Route_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
   }
@@ -56,36 +74,45 @@ protected java.lang.Object newInstance(
   public static final int ROUTE_LABELS_FIELD_NUMBER = 13;
   private java.util.List routeLabels_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.maps.routing.v2.RouteLabel> routeLabels_converter_ =
+          java.lang.Integer, com.google.maps.routing.v2.RouteLabel>
+      routeLabels_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.maps.routing.v2.RouteLabel>() {
             public com.google.maps.routing.v2.RouteLabel convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.maps.routing.v2.RouteLabel result = com.google.maps.routing.v2.RouteLabel.valueOf(from);
+              com.google.maps.routing.v2.RouteLabel result =
+                  com.google.maps.routing.v2.RouteLabel.valueOf(from);
               return result == null ? com.google.maps.routing.v2.RouteLabel.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ @java.lang.Override public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( + routeLabels_, routeLabels_converter_); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ @java.lang.Override @@ -93,12 +120,15 @@ public int getRouteLabelsCount() { return routeLabels_.size(); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -107,26 +137,31 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ @java.lang.Override - public java.util.List - getRouteLabelsValueList() { + public java.util.List getRouteLabelsValueList() { return routeLabels_; } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -134,11 +169,14 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } + private int routeLabelsMemoizedSerializedSize; public static final int LEGS_FIELD_NUMBER = 1; private java.util.List legs_; /** + * + * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -156,6 +194,8 @@ public java.util.List getLegsList() {
     return legs_;
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -169,11 +209,13 @@ public java.util.List getLegsList() {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLegsOrBuilderList() {
     return legs_;
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -191,6 +233,8 @@ public int getLegsCount() {
     return legs_.size();
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -208,6 +252,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
     return legs_.get(index);
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -221,19 +267,21 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
     return legs_.get(index);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 2;
   private int distanceMeters_;
   /**
+   *
+   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ @java.lang.Override @@ -244,6 +292,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -253,6 +303,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -260,6 +311,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -269,6 +322,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ @java.lang.Override @@ -276,6 +330,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -294,12 +350,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -307,19 +366,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -335,12 +401,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -348,12 +417,15 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ @java.lang.Override @@ -361,6 +433,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -376,11 +450,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 6;
   private volatile java.lang.Object description_;
   /**
+   *
+   *
    * 
    * A description of the route.
    * 
* * string description = 6; + * * @return The description. */ @java.lang.Override @@ -389,29 +466,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * A description of the route.
    * 
* * string description = 6; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -422,34 +499,42 @@ public java.lang.String getDescription() { public static final int WARNINGS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList warnings_; /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList - getWarningsList() { + public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_; } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -457,27 +542,32 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString - getWarningsBytes(int index) { + public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); } public static final int VIEWPORT_FIELD_NUMBER = 8; private com.google.geo.type.Viewport viewport_; /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ @java.lang.Override @@ -485,11 +575,14 @@ public boolean hasViewport() { return viewport_ != null; } /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ @java.lang.Override @@ -497,6 +590,8 @@ public com.google.geo.type.Viewport getViewport() { return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } /** + * + * *
    * The viewport bounding box of the polyline.
    * 
@@ -511,11 +606,14 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -523,18 +621,25 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Additional information about the route.
    * 
@@ -549,6 +654,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory public static final int ROUTE_TOKEN_FIELD_NUMBER = 12; private volatile java.lang.Object routeToken_; /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -562,6 +669,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * string route_token = 12; + * * @return The routeToken. */ @java.lang.Override @@ -570,14 +678,15 @@ public java.lang.String getRouteToken() { 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(); routeToken_ = s; return s; } } /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -591,16 +700,15 @@ public java.lang.String getRouteToken() {
    * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getRouteTokenBytes() { + public com.google.protobuf.ByteString getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -609,6 +717,7 @@ public java.lang.String getRouteToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -620,8 +729,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 { getSerializedSize(); for (int i = 0; i < legs_.size(); i++) { output.writeMessage(1, legs_.get(i)); @@ -670,24 +778,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < legs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, legs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, legs_.get(i)); } if (distanceMeters_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, distanceMeters_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, distanceMeters_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDuration()); } if (staticDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStaticDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStaticDuration()); } if (polyline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getPolyline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPolyline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -701,12 +804,10 @@ public int getSerializedSize() { size += 1 * getWarningsList().size(); } if (viewport_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getViewport()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getViewport()); } if (travelAdvisory_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTravelAdvisory()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTravelAdvisory()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeToken_); @@ -714,14 +815,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < routeLabels_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(routeLabels_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(routeLabels_.get(i)); } size += dataSize; - if (!getRouteLabelsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }routeLabelsMemoizedSerializedSize = dataSize; + if (!getRouteLabelsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + routeLabelsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -731,7 +832,7 @@ 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.routing.v2.Route)) { return super.equals(obj); @@ -739,41 +840,31 @@ public boolean equals(final java.lang.Object obj) { com.google.maps.routing.v2.Route other = (com.google.maps.routing.v2.Route) obj; if (!routeLabels_.equals(other.routeLabels_)) return false; - if (!getLegsList() - .equals(other.getLegsList())) return false; - if (getDistanceMeters() - != other.getDistanceMeters()) return false; + if (!getLegsList().equals(other.getLegsList())) return false; + if (getDistanceMeters() != other.getDistanceMeters()) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasStaticDuration() != other.hasStaticDuration()) return false; if (hasStaticDuration()) { - if (!getStaticDuration() - .equals(other.getStaticDuration())) return false; + if (!getStaticDuration().equals(other.getStaticDuration())) return false; } if (hasPolyline() != other.hasPolyline()) return false; if (hasPolyline()) { - if (!getPolyline() - .equals(other.getPolyline())) return false; + if (!getPolyline().equals(other.getPolyline())) return false; } - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getWarningsList() - .equals(other.getWarningsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getWarningsList().equals(other.getWarningsList())) return false; if (hasViewport() != other.hasViewport()) return false; if (hasViewport()) { - if (!getViewport() - .equals(other.getViewport())) return false; + if (!getViewport().equals(other.getViewport())) return false; } if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false; if (hasTravelAdvisory()) { - if (!getTravelAdvisory() - .equals(other.getTravelAdvisory())) return false; + if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false; } - if (!getRouteToken() - .equals(other.getRouteToken())) return false; + if (!getRouteToken().equals(other.getRouteToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -828,97 +919,103 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Route parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Route parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.maps.routing.v2.Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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; } /** + * + * *
    * Encapsulates a route, which consists of a series of connected road segments
    * that join beginning, ending, and intermediate waypoints.
@@ -926,33 +1023,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.Route}
    */
-  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.routing.v2.Route)
       com.google.maps.routing.v2.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
+              com.google.maps.routing.v2.Route.class,
+              com.google.maps.routing.v2.Route.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Route.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();
@@ -1007,9 +1103,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
@@ -1085,38 +1181,39 @@ public com.google.maps.routing.v2.Route 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.routing.v2.Route) {
-        return mergeFrom((com.google.maps.routing.v2.Route)other);
+        return mergeFrom((com.google.maps.routing.v2.Route) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1153,9 +1250,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.Route other) {
             legsBuilder_ = null;
             legs_ = other.legs_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            legsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLegsFieldBuilder() : null;
+            legsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLegsFieldBuilder()
+                    : null;
           } else {
             legsBuilder_.addAllMessages(other.legs_);
           }
@@ -1223,98 +1321,100 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.maps.routing.v2.RouteLeg m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.RouteLeg.parser(),
-                      extensionRegistry);
-              if (legsBuilder_ == null) {
-                ensureLegsIsMutable();
-                legs_.add(m);
-              } else {
-                legsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 16: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getPolylineFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureWarningsIsMutable();
-              warnings_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getViewportFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 74
-            case 98: {
-              routeToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureRouteLabelsIsMutable();
-              routeLabels_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                com.google.maps.routing.v2.RouteLeg m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.RouteLeg.parser(), extensionRegistry);
+                if (legsBuilder_ == null) {
+                  ensureLegsIsMutable();
+                  legs_.add(m);
+                } else {
+                  legsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 16:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureWarningsIsMutable();
+                warnings_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getViewportFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 74
+            case 98:
+              {
+                routeToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureRouteLabelsIsMutable();
                 routeLabels_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureRouteLabelsIsMutable();
+                  routeLabels_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            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) {
@@ -1324,10 +1424,11 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List routeLabels_ =
-      java.util.Collections.emptyList();
+    private java.util.List routeLabels_ = java.util.Collections.emptyList();
+
     private void ensureRouteLabelsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         routeLabels_ = new java.util.ArrayList(routeLabels_);
@@ -1335,37 +1436,47 @@ private void ensureRouteLabelsIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( + routeLabels_, routeLabels_converter_); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ public int getRouteLabelsCount() { return routeLabels_.size(); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -1373,18 +1484,20 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index to set the value at. * @param value The routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabels( - int index, com.google.maps.routing.v2.RouteLabel value) { + public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel value) { if (value == null) { throw new NullPointerException(); } @@ -1394,12 +1507,15 @@ public Builder setRouteLabels( return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param value The routeLabels to add. * @return This builder for chaining. */ @@ -1413,12 +1529,15 @@ public Builder addRouteLabels(com.google.maps.routing.v2.RouteLabel value) { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param values The routeLabels to add. * @return This builder for chaining. */ @@ -1432,12 +1551,15 @@ public Builder addAllRouteLabels( return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return This builder for chaining. */ public Builder clearRouteLabels() { @@ -1447,25 +1569,30 @@ public Builder clearRouteLabels() { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ - public java.util.List - getRouteLabelsValueList() { + public java.util.List getRouteLabelsValueList() { return java.util.Collections.unmodifiableList(routeLabels_); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -1473,30 +1600,35 @@ public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabelsValue( - int index, int value) { + public Builder setRouteLabelsValue(int index, int value) { ensureRouteLabelsIsMutable(); routeLabels_.set(index, value); onChanged(); return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param value The enum numeric value on the wire for routeLabels to add. * @return This builder for chaining. */ @@ -1507,17 +1639,19 @@ public Builder addRouteLabelsValue(int value) { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param values The enum numeric values on the wire for routeLabels to add. * @return This builder for chaining. */ - public Builder addAllRouteLabelsValue( - java.lang.Iterable values) { + public Builder addAllRouteLabelsValue(java.lang.Iterable values) { ensureRouteLabelsIsMutable(); for (int value : values) { routeLabels_.add(value); @@ -1527,18 +1661,24 @@ public Builder addAllRouteLabelsValue( } private java.util.List legs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLegsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { legs_ = new java.util.ArrayList(legs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> legsBuilder_; + com.google.maps.routing.v2.RouteLeg, + com.google.maps.routing.v2.RouteLeg.Builder, + com.google.maps.routing.v2.RouteLegOrBuilder> + legsBuilder_; /** + * + * *
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1559,6 +1699,8 @@ public java.util.List getLegsList() {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1579,6 +1721,8 @@ public int getLegsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1599,6 +1743,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1611,8 +1757,7 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(
-        int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1626,6 +1771,8 @@ public Builder setLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1638,8 +1785,7 @@ public Builder setLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(
-        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.set(index, builderForValue.build());
@@ -1650,6 +1796,8 @@ public Builder setLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1676,6 +1824,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1688,8 +1838,7 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1703,6 +1852,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1715,8 +1866,7 @@ public Builder addLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(builderForValue.build());
@@ -1727,6 +1877,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1739,8 +1891,7 @@ public Builder addLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(index, builderForValue.build());
@@ -1751,6 +1902,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1767,8 +1920,7 @@ public Builder addAllLegs(
         java.lang.Iterable values) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, legs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, legs_);
         onChanged();
       } else {
         legsBuilder_.addAllMessages(values);
@@ -1776,6 +1928,8 @@ public Builder addAllLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1799,6 +1953,8 @@ public Builder clearLegs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1822,6 +1978,8 @@ public Builder removeLegs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1834,11 +1992,12 @@ public Builder removeLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
       return getLegsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1851,14 +2010,16 @@ public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
       if (legsBuilder_ == null) {
-        return legs_.get(index);  } else {
+        return legs_.get(index);
+      } else {
         return legsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1871,8 +2032,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List 
-         getLegsOrBuilderList() {
+    public java.util.List
+        getLegsOrBuilderList() {
       if (legsBuilder_ != null) {
         return legsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1880,6 +2041,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1893,10 +2056,12 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
     public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
-      return getLegsFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+      return getLegsFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1909,12 +2074,13 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
-        int index) {
-      return getLegsFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
+      return getLegsFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1927,32 +2093,37 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List 
-         getLegsBuilderList() {
+    public java.util.List getLegsBuilderList() {
       return getLegsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> 
+            com.google.maps.routing.v2.RouteLeg,
+            com.google.maps.routing.v2.RouteLeg.Builder,
+            com.google.maps.routing.v2.RouteLegOrBuilder>
         getLegsFieldBuilder() {
       if (legsBuilder_ == null) {
-        legsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder>(
-                legs_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        legsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLeg,
+                com.google.maps.routing.v2.RouteLeg.Builder,
+                com.google.maps.routing.v2.RouteLegOrBuilder>(
+                legs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         legs_ = null;
       }
       return legsBuilder_;
     }
 
-    private int distanceMeters_ ;
+    private int distanceMeters_;
     /**
+     *
+     *
      * 
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ @java.lang.Override @@ -1960,30 +2131,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1991,8 +2168,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2002,12 +2184,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2017,6 +2202,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2027,6 +2213,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2051,6 +2239,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2061,8 +2251,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 3;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -2073,6 +2262,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2087,7 +2278,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -2099,6 +2290,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2121,6 +2314,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2132,11 +2327,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 3;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2151,11 +2348,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2167,14 +2365,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -2182,36 +2383,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2233,6 +2447,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2240,8 +2456,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 4;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -2252,6 +2467,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2263,7 +2480,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -2275,6 +2494,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2294,6 +2515,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2302,11 +2525,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2318,11 +2543,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2331,14 +2559,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -2346,36 +2577,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2397,6 +2641,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2404,8 +2650,7 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
-    public Builder setPolyline(
-        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -2416,6 +2661,8 @@ public Builder setPolyline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2427,7 +2674,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polyline_ = value;
         }
@@ -2439,6 +2688,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2458,6 +2709,8 @@ public Builder clearPolyline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2466,11 +2719,13 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-      
+
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2482,11 +2737,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null ?
-            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
+        return polyline_ == null
+            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
+            : polyline_;
       }
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2495,14 +2753,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(),
-                getParentForChildren(),
-                isClean());
+        polylineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Polyline,
+                com.google.maps.routing.v2.Polyline.Builder,
+                com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(), getParentForChildren(), isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -2510,18 +2771,20 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A description of the route.
      * 
* * string description = 6; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -2530,20 +2793,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -2551,95 +2815,112 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList warnings_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureWarningsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList - getWarningsList() { + public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_.getUnmodifiableView(); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -2647,80 +2928,90 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString - getWarningsBytes(int index) { + public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index to set the value at. * @param value The warnings to set. * @return This builder for chaining. */ - public Builder setWarnings( - int index, java.lang.String value) { + public Builder setWarnings(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.set(index, value); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param value The warnings to add. * @return This builder for chaining. */ - public Builder addWarnings( - java.lang.String value) { + public Builder addWarnings(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.add(value); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param values The warnings to add. * @return This builder for chaining. */ - public Builder addAllWarnings( - java.lang.Iterable values) { + public Builder addAllWarnings(java.lang.Iterable values) { ensureWarningsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, warnings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return This builder for chaining. */ public Builder clearWarnings() { @@ -2730,20 +3021,22 @@ public Builder clearWarnings() { return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param value The bytes of the warnings to add. * @return This builder for chaining. */ - public Builder addWarningsBytes( - com.google.protobuf.ByteString value) { + public Builder addWarningsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWarningsIsMutable(); warnings_.add(value); onChanged(); @@ -2752,24 +3045,33 @@ public Builder addWarningsBytes( private com.google.geo.type.Viewport viewport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> viewportBuilder_; + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder> + viewportBuilder_; /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ public boolean hasViewport() { return viewportBuilder_ != null || viewport_ != null; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ public com.google.geo.type.Viewport getViewport() { @@ -2780,6 +3082,8 @@ public com.google.geo.type.Viewport getViewport() { } } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2800,14 +3104,15 @@ public Builder setViewport(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; */ - public Builder setViewport( - com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) { if (viewportBuilder_ == null) { viewport_ = builderForValue.build(); onChanged(); @@ -2818,6 +3123,8 @@ public Builder setViewport( return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2828,7 +3135,7 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { if (viewportBuilder_ == null) { if (viewport_ != null) { viewport_ = - com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); } else { viewport_ = value; } @@ -2840,6 +3147,8 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2858,6 +3167,8 @@ public Builder clearViewport() { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2865,11 +3176,13 @@ public Builder clearViewport() { * .google.geo.type.Viewport viewport = 8; */ public com.google.geo.type.Viewport.Builder getViewportBuilder() { - + onChanged(); return getViewportFieldBuilder().getBuilder(); } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2880,11 +3193,12 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { if (viewportBuilder_ != null) { return viewportBuilder_.getMessageOrBuilder(); } else { - return viewport_ == null ? - com.google.geo.type.Viewport.getDefaultInstance() : viewport_; + return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2892,14 +3206,17 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { * .google.geo.type.Viewport viewport = 8; */ 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> getViewportFieldBuilder() { if (viewportBuilder_ == null) { - viewportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( - getViewport(), - getParentForChildren(), - isClean()); + viewportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder>( + getViewport(), getParentForChildren(), isClean()); viewport_ = null; } return viewportBuilder_; @@ -2907,34 +3224,47 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + travelAdvisoryBuilder_; /** + * + * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Additional information about the route.
      * 
@@ -2955,6 +3285,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -2973,6 +3305,8 @@ public Builder setTravelAdvisory( return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -2983,7 +3317,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor if (travelAdvisoryBuilder_ == null) { if (travelAdvisory_ != null) { travelAdvisory_ = - com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_) + .mergeFrom(value) + .buildPartial(); } else { travelAdvisory_ = value; } @@ -2995,6 +3331,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -3013,6 +3351,8 @@ public Builder clearTravelAdvisory() { return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -3020,11 +3360,13 @@ public Builder clearTravelAdvisory() { * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() { - + onChanged(); return getTravelAdvisoryFieldBuilder().getBuilder(); } /** + * + * *
      * Additional information about the route.
      * 
@@ -3035,11 +3377,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory if (travelAdvisoryBuilder_ != null) { return travelAdvisoryBuilder_.getMessageOrBuilder(); } else { - return travelAdvisory_ == null ? - com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } } /** + * + * *
      * Additional information about the route.
      * 
@@ -3047,14 +3392,17 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> getTravelAdvisoryFieldBuilder() { if (travelAdvisoryBuilder_ == null) { - travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( - getTravelAdvisory(), - getParentForChildren(), - isClean()); + travelAdvisoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( + getTravelAdvisory(), getParentForChildren(), isClean()); travelAdvisory_ = null; } return travelAdvisoryBuilder_; @@ -3062,6 +3410,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory private java.lang.Object routeToken_ = ""; /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3075,13 +3425,13 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * string route_token = 12; + * * @return The routeToken. */ public java.lang.String getRouteToken() { java.lang.Object ref = routeToken_; 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(); routeToken_ = s; return s; @@ -3090,6 +3440,8 @@ public java.lang.String getRouteToken() { } } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3103,15 +3455,14 @@ public java.lang.String getRouteToken() {
      * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ - public com.google.protobuf.ByteString - getRouteTokenBytes() { + public com.google.protobuf.ByteString getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -3119,6 +3470,8 @@ public java.lang.String getRouteToken() { } } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3132,20 +3485,22 @@ public java.lang.String getRouteToken() {
      * 
* * string route_token = 12; + * * @param value The routeToken to set. * @return This builder for chaining. */ - public Builder setRouteToken( - java.lang.String value) { + public Builder setRouteToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeToken_ = value; onChanged(); return this; } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3159,15 +3514,18 @@ public Builder setRouteToken(
      * 
* * string route_token = 12; + * * @return This builder for chaining. */ public Builder clearRouteToken() { - + routeToken_ = getDefaultInstance().getRouteToken(); onChanged(); return this; } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3181,23 +3539,23 @@ public Builder clearRouteToken() {
      * 
* * string route_token = 12; + * * @param value The bytes for routeToken to set. * @return This builder for chaining. */ - public Builder setRouteTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setRouteTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeToken_ = 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); } @@ -3207,12 +3565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Route) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Route) private static final com.google.maps.routing.v2.Route DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Route(); } @@ -3221,27 +3579,27 @@ public static com.google.maps.routing.v2.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route 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 Route 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; @@ -3256,6 +3614,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java similarity index 71% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java index ac717036ef9a..a6df87ab0bbc 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.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/routing/v2/route_label.proto package com.google.maps.routing.v2; /** + * + * *
  * Labels for the `Route` that are useful to identify specific properties
  * of the route to compare against others.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteLabel}
  */
-public enum RouteLabel
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default - not used.
    * 
@@ -22,6 +40,8 @@ public enum RouteLabel */ ROUTE_LABEL_UNSPECIFIED(0), /** + * + * *
    * The default "best" route returned for the route computation.
    * 
@@ -30,6 +50,8 @@ public enum RouteLabel */ DEFAULT_ROUTE(1), /** + * + * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -40,6 +62,8 @@ public enum RouteLabel
    */
   DEFAULT_ROUTE_ALTERNATE(2),
   /**
+   *
+   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -52,6 +76,8 @@ public enum RouteLabel
   ;
 
   /**
+   *
+   *
    * 
    * Default - not used.
    * 
@@ -60,6 +86,8 @@ public enum RouteLabel */ public static final int ROUTE_LABEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The default "best" route returned for the route computation.
    * 
@@ -68,6 +96,8 @@ public enum RouteLabel */ public static final int DEFAULT_ROUTE_VALUE = 1; /** + * + * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -78,6 +108,8 @@ public enum RouteLabel
    */
   public static final int DEFAULT_ROUTE_ALTERNATE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -87,7 +119,6 @@ public enum RouteLabel
    */
   public static final int FUEL_EFFICIENT_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -112,50 +143,51 @@ public static RouteLabel valueOf(int value) {
    */
   public static RouteLabel forNumber(int value) {
     switch (value) {
-      case 0: return ROUTE_LABEL_UNSPECIFIED;
-      case 1: return DEFAULT_ROUTE;
-      case 2: return DEFAULT_ROUTE_ALTERNATE;
-      case 3: return FUEL_EFFICIENT;
-      default: return null;
+      case 0:
+        return ROUTE_LABEL_UNSPECIFIED;
+      case 1:
+        return DEFAULT_ROUTE;
+      case 2:
+        return DEFAULT_ROUTE_ALTERNATE;
+      case 3:
+        return FUEL_EFFICIENT;
+      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<
-      RouteLabel> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteLabel findValueByNumber(int number) {
-            return RouteLabel.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 RouteLabel findValueByNumber(int number) {
+          return RouteLabel.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.routing.v2.RouteLabelProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteLabel[] VALUES = values();
 
-  public static RouteLabel valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteLabel 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;
@@ -171,4 +203,3 @@ private RouteLabel(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteLabel)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
new file mode 100644
index 000000000000..d2d2b74e93af
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
@@ -0,0 +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/routing/v2/route_label.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteLabelProto {
+  private RouteLabelProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_label.pro"
+          + "to\022\026google.maps.routing.v2*m\n\nRouteLabel"
+          + "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT"
+          + "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n"
+          + "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro"
+          + "uting.v2B\017RouteLabelProtoP\001Z=google.gola"
+          + "ng.org/genproto/googleapis/maps/routing/"
+          + "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout"
+          + "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google"
+          + "::Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
index 4d20e31392ab..ca791c89a53f 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a segment between non-`via` waypoints.
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ -public final class RouteLeg extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteLeg extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLeg) RouteLegOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteLeg.newBuilder() to construct. private RouteLeg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RouteLeg() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteLeg(); } @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, + com.google.maps.routing.v2.RouteLeg.Builder.class); } public static final int DISTANCE_METERS_FIELD_NUMBER = 1; private int distanceMeters_; /** + * + * *
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -66,6 +88,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -75,6 +99,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -82,6 +107,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -91,6 +118,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ @java.lang.Override @@ -98,6 +126,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -116,12 +146,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -129,19 +162,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -157,12 +197,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 4;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -170,12 +213,15 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ @java.lang.Override @@ -183,6 +229,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -198,6 +246,8 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int START_LOCATION_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Location startLocation_;
   /**
+   *
+   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -205,6 +255,7 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -212,6 +263,8 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -219,13 +272,18 @@ public boolean hasStartLocation() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -242,6 +300,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
   public static final int END_LOCATION_FIELD_NUMBER = 6;
   private com.google.maps.routing.v2.Location endLocation_;
   /**
+   *
+   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -249,6 +309,7 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -256,6 +317,8 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -263,13 +326,18 @@ public boolean hasEndLocation() {
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -286,6 +354,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
   public static final int STEPS_FIELD_NUMBER = 7;
   private java.util.List steps_;
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -298,6 +368,8 @@ public java.util.List getStepsList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -306,11 +378,13 @@ public java.util.List getStepsList() {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -323,6 +397,8 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -335,6 +411,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
     return steps_.get(index);
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -343,20 +421,22 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
     return steps_.get(index);
   }
 
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -364,19 +444,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -390,6 +477,7 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -401,8 +489,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -437,36 +524,28 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPolyline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndLocation());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, steps_.get(i));
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -476,46 +555,38 @@ 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.routing.v2.RouteLeg)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLeg other = (com.google.maps.routing.v2.RouteLeg) obj;
 
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration()
-          .equals(other.getDuration())) return false;
+      if (!getDuration().equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline()
-          .equals(other.getPolyline())) return false;
+      if (!getPolyline().equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation()
-          .equals(other.getStartLocation())) return false;
+      if (!getStartLocation().equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation()
-          .equals(other.getEndLocation())) return false;
+      if (!getEndLocation().equals(other.getEndLocation())) return false;
     }
-    if (!getStepsList()
-        .equals(other.getStepsList())) return false;
+    if (!getStepsList().equals(other.getStepsList())) return false;
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -563,130 +634,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLeg parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a segment between non-`via` waypoints.
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ - 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.routing.v2.RouteLeg) com.google.maps.routing.v2.RouteLegOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, + com.google.maps.routing.v2.RouteLeg.Builder.class); } // Construct using com.google.maps.routing.v2.RouteLeg.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(); @@ -739,9 +815,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override @@ -810,38 +886,39 @@ public com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg) { - return mergeFrom((com.google.maps.routing.v2.RouteLeg)other); + return mergeFrom((com.google.maps.routing.v2.RouteLeg) other); } else { super.mergeFrom(other); return this; @@ -886,9 +963,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLeg other) { stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000001); - stepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStepsFieldBuilder() : null; + stepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStepsFieldBuilder() + : null; } else { stepsBuilder_.addAllMessages(other.steps_); } @@ -923,72 +1001,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - distanceMeters_ = input.readInt32(); - - break; - } // case 8 - case 18: { - input.readMessage( - getDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getStaticDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getPolylineFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getStartLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - input.readMessage( - getEndLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - case 58: { - com.google.maps.routing.v2.RouteLegStep m = - input.readMessage( - com.google.maps.routing.v2.RouteLegStep.parser(), - extensionRegistry); - if (stepsBuilder_ == null) { - ensureStepsIsMutable(); - steps_.add(m); - } else { - stepsBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: { - input.readMessage( - getTravelAdvisoryFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + distanceMeters_ = input.readInt32(); + + break; + } // case 8 + case 18: + { + input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 50 + case 58: + { + com.google.maps.routing.v2.RouteLegStep m = + input.readMessage( + com.google.maps.routing.v2.RouteLegStep.parser(), extensionRegistry); + if (stepsBuilder_ == null) { + ensureStepsIsMutable(); + steps_.add(m); + } else { + stepsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: + { + input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + 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) { @@ -998,15 +1072,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int distanceMeters_ ; + private int distanceMeters_; /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -1014,30 +1092,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1045,8 +1129,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1056,12 +1145,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1071,6 +1163,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1081,6 +1174,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1105,6 +1200,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1115,8 +1212,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 2;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1127,6 +1223,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1141,7 +1239,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1153,6 +1251,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1175,6 +1275,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1186,11 +1288,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 2;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1205,11 +1309,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1221,14 +1326,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1236,36 +1344,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1287,6 +1408,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1294,8 +1417,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 3;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1306,6 +1428,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1317,7 +1441,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1329,6 +1455,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1348,6 +1476,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1356,11 +1486,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1372,11 +1504,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1385,14 +1520,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1400,36 +1538,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1451,6 +1602,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1458,8 +1611,7 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
-    public Builder setPolyline(
-        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -1470,6 +1622,8 @@ public Builder setPolyline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1481,7 +1635,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polyline_ = value;
         }
@@ -1493,6 +1649,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1512,6 +1670,8 @@ public Builder clearPolyline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1520,11 +1680,13 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-      
+
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1536,11 +1698,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null ?
-            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
+        return polyline_ == null
+            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
+            : polyline_;
       }
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1549,14 +1714,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(),
-                getParentForChildren(),
-                isClean());
+        polylineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Polyline,
+                com.google.maps.routing.v2.Polyline.Builder,
+                com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(), getParentForChildren(), isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -1564,8 +1732,13 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private com.google.maps.routing.v2.Location startLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        startLocationBuilder_;
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1573,12 +1746,15 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** + * + * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1586,16 +1762,21 @@ public boolean hasStartLocation() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** + * + * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1618,6 +1799,8 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1626,8 +1809,7 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location start_location = 5;
      */
-    public Builder setStartLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (startLocationBuilder_ == null) {
         startLocation_ = builderForValue.build();
         onChanged();
@@ -1638,6 +1820,8 @@ public Builder setStartLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1650,7 +1834,9 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       if (startLocationBuilder_ == null) {
         if (startLocation_ != null) {
           startLocation_ =
-            com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Location.newBuilder(startLocation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startLocation_ = value;
         }
@@ -1662,6 +1848,8 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1682,6 +1870,8 @@ public Builder clearStartLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1691,11 +1881,13 @@ public Builder clearStartLocation() {
      * .google.maps.routing.v2.Location start_location = 5;
      */
     public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() {
-      
+
       onChanged();
       return getStartLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1708,11 +1900,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
       if (startLocationBuilder_ != null) {
         return startLocationBuilder_.getMessageOrBuilder();
       } else {
-        return startLocation_ == null ?
-            com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_;
+        return startLocation_ == null
+            ? com.google.maps.routing.v2.Location.getDefaultInstance()
+            : startLocation_;
       }
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1722,14 +1917,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * .google.maps.routing.v2.Location start_location = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getStartLocationFieldBuilder() {
       if (startLocationBuilder_ == null) {
-        startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
-                getStartLocation(),
-                getParentForChildren(),
-                isClean());
+        startLocationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
+                getStartLocation(), getParentForChildren(), isClean());
         startLocation_ = null;
       }
       return startLocationBuilder_;
@@ -1737,8 +1935,13 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
 
     private com.google.maps.routing.v2.Location endLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        endLocationBuilder_;
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1746,12 +1949,15 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** + * + * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1759,16 +1965,21 @@ public boolean hasEndLocation() {
      * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** + * + * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1791,6 +2002,8 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1799,8 +2012,7 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location end_location = 6;
      */
-    public Builder setEndLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (endLocationBuilder_ == null) {
         endLocation_ = builderForValue.build();
         onChanged();
@@ -1811,6 +2023,8 @@ public Builder setEndLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1823,7 +2037,9 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       if (endLocationBuilder_ == null) {
         if (endLocation_ != null) {
           endLocation_ =
-            com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Location.newBuilder(endLocation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           endLocation_ = value;
         }
@@ -1835,6 +2051,8 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1855,6 +2073,8 @@ public Builder clearEndLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1864,11 +2084,13 @@ public Builder clearEndLocation() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() {
-      
+
       onChanged();
       return getEndLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1881,11 +2103,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
       if (endLocationBuilder_ != null) {
         return endLocationBuilder_.getMessageOrBuilder();
       } else {
-        return endLocation_ == null ?
-            com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_;
+        return endLocation_ == null
+            ? com.google.maps.routing.v2.Location.getDefaultInstance()
+            : endLocation_;
       }
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1895,32 +2120,41 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getEndLocationFieldBuilder() {
       if (endLocationBuilder_ == null) {
-        endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
-                getEndLocation(),
-                getParentForChildren(),
-                isClean());
+        endLocationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
+                getEndLocation(), getParentForChildren(), isClean());
         endLocation_ = null;
       }
       return endLocationBuilder_;
     }
 
     private java.util.List steps_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> stepsBuilder_;
+            com.google.maps.routing.v2.RouteLegStep,
+            com.google.maps.routing.v2.RouteLegStep.Builder,
+            com.google.maps.routing.v2.RouteLegStepOrBuilder>
+        stepsBuilder_;
 
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1936,6 +2170,8 @@ public java.util.List getStepsList() {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1951,6 +2187,8 @@ public int getStepsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1966,6 +2204,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1973,8 +2213,7 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder setSteps(
-        int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1988,6 +2227,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2007,6 +2248,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2028,6 +2271,8 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2035,8 +2280,7 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(
-        int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2050,6 +2294,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2057,8 +2303,7 @@ public Builder addSteps(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(
-        com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
+    public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -2069,6 +2314,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2088,6 +2335,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2099,8 +2348,7 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -2108,6 +2356,8 @@ public Builder addAllSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2126,6 +2376,8 @@ public Builder clearSteps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2144,6 +2396,8 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2151,11 +2405,12 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2163,14 +2418,16 @@ public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);  } else {
+        return steps_.get(index);
+      } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2178,8 +2435,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List 
-         getStepsOrBuilderList() {
+    public java.util.List
+        getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2187,6 +2444,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2195,10 +2454,12 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
     public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
-      return getStepsFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+      return getStepsFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2206,12 +2467,13 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
-        int index) {
-      return getStepsFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index) {
+      return getStepsFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2219,20 +2481,22 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List 
-         getStepsBuilderList() {
+    public java.util.List getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> 
+            com.google.maps.routing.v2.RouteLegStep,
+            com.google.maps.routing.v2.RouteLegStep.Builder,
+            com.google.maps.routing.v2.RouteLegStepOrBuilder>
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder>(
-                steps_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        stepsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegStep,
+                com.google.maps.routing.v2.RouteLegStep.Builder,
+                com.google.maps.routing.v2.RouteLegStepOrBuilder>(
+                steps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         steps_ = null;
       }
       return stepsBuilder_;
@@ -2240,36 +2504,49 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
 
     private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
+            com.google.maps.routing.v2.RouteLegTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
+        travelAdvisoryBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2291,6 +2568,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdviso
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2310,6 +2589,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2321,7 +2602,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2333,6 +2616,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2352,6 +2637,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2360,11 +2647,13 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     public com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2376,11 +2665,14 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2389,21 +2681,24 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteLegTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegTravelAdvisory,
+                com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
+
     @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);
     }
 
@@ -2413,12 +2708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLeg)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLeg)
   private static final com.google.maps.routing.v2.RouteLeg DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLeg();
   }
@@ -2427,27 +2722,27 @@ public static com.google.maps.routing.v2.RouteLeg getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteLeg 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 RouteLeg 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;
@@ -2462,6 +2757,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLeg getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
index 60d07ca7ab3a..c08e71a46f81 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
@@ -1,23 +1,44 @@
+/*
+ * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegOrBuilder extends
+public interface RouteLegOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLeg)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -27,10 +48,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -40,10 +64,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -57,26 +84,34 @@ public interface RouteLegOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -87,26 +122,34 @@ public interface RouteLegOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -117,6 +160,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
+   *
+   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -124,10 +169,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -135,10 +183,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -150,6 +201,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -157,10 +210,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -168,10 +224,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -183,6 +242,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -190,9 +251,10 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List 
-      getStepsList();
+  java.util.List getStepsList();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -202,6 +264,8 @@ public interface RouteLegOrBuilder extends
    */
   com.google.maps.routing.v2.RouteLegStep getSteps(int index);
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -211,6 +275,8 @@ public interface RouteLegOrBuilder extends
    */
   int getStepsCount();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -218,9 +284,11 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List 
+  java.util.List
       getStepsOrBuilderList();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -228,30 +296,37 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
similarity index 73%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
index 84201efc7c81..67b2489432a8 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
  * navigation instruction. Route legs are made up of steps.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
  */
-public final class RouteLegStep extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegStep extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStep)
     RouteLegStepOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegStep.newBuilder() to construct.
   private RouteLegStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RouteLegStep() {
-  }
+
+  private RouteLegStep() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegStep();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
+            com.google.maps.routing.v2.RouteLegStep.class,
+            com.google.maps.routing.v2.RouteLegStep.Builder.class);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 1;
   private int distanceMeters_;
   /**
+   *
+   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -67,6 +88,8 @@ public int getDistanceMeters() { public static final int STATIC_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration staticDuration_; /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -74,6 +97,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -81,6 +105,8 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -88,13 +114,18 @@ public boolean hasStaticDuration() {
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -111,11 +142,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 3;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -123,11 +157,14 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ @java.lang.Override @@ -135,6 +172,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The polyline associated with this step.
    * 
@@ -149,11 +188,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { public static final int START_LOCATION_FIELD_NUMBER = 4; private com.google.maps.routing.v2.Location startLocation_; /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -161,18 +203,25 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } /** + * + * *
    * The start location of this step.
    * 
@@ -187,11 +236,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() public static final int END_LOCATION_FIELD_NUMBER = 5; private com.google.maps.routing.v2.Location endLocation_; /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -199,18 +251,25 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } /** + * + * *
    * The end location of this step.
    * 
@@ -225,11 +284,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { public static final int NAVIGATION_INSTRUCTION_FIELD_NUMBER = 6; private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ @java.lang.Override @@ -237,18 +299,25 @@ public boolean hasNavigationInstruction() { return navigationInstruction_ != null; } /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ @java.lang.Override public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { - return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } /** + * + * *
    * Navigation instructions.
    * 
@@ -256,19 +325,23 @@ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ @java.lang.Override - public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder + getNavigationInstructionOrBuilder() { return getNavigationInstruction(); } public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7; private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -276,19 +349,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -297,11 +377,13 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory()
    * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
+  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
+      getTravelAdvisoryOrBuilder() {
     return getTravelAdvisory();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +395,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -346,32 +427,26 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getPolyline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLocation());
     }
     if (navigationInstruction_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getNavigationInstruction());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNavigationInstruction());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -381,44 +456,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.routing.v2.RouteLegStep)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLegStep other = (com.google.maps.routing.v2.RouteLegStep) obj;
 
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline()
-          .equals(other.getPolyline())) return false;
+      if (!getPolyline().equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation()
-          .equals(other.getStartLocation())) return false;
+      if (!getStartLocation().equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation()
-          .equals(other.getEndLocation())) return false;
+      if (!getEndLocation().equals(other.getEndLocation())) return false;
     }
     if (hasNavigationInstruction() != other.hasNavigationInstruction()) return false;
     if (hasNavigationInstruction()) {
-      if (!getNavigationInstruction()
-          .equals(other.getNavigationInstruction())) return false;
+      if (!getNavigationInstruction().equals(other.getNavigationInstruction())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -462,97 +530,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLegStep parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLegStep parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStep parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
    * navigation instruction. Route legs are made up of steps.
@@ -560,33 +635,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
    */
-  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.routing.v2.RouteLegStep)
       com.google.maps.routing.v2.RouteLegStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
+              com.google.maps.routing.v2.RouteLegStep.class,
+              com.google.maps.routing.v2.RouteLegStep.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStep.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();
@@ -632,9 +706,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
@@ -653,7 +727,8 @@ public com.google.maps.routing.v2.RouteLegStep build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStep buildPartial() {
-      com.google.maps.routing.v2.RouteLegStep result = new com.google.maps.routing.v2.RouteLegStep(this);
+      com.google.maps.routing.v2.RouteLegStep result =
+          new com.google.maps.routing.v2.RouteLegStep(this);
       result.distanceMeters_ = distanceMeters_;
       if (staticDurationBuilder_ == null) {
         result.staticDuration_ = staticDuration_;
@@ -693,38 +768,39 @@ public com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStep)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStep) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -780,59 +856,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getPolylineFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getStartLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getEndLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getNavigationInstructionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getNavigationInstructionFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -843,14 +916,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int distanceMeters_ ;
+    private int distanceMeters_;
     /**
+     *
+     *
      * 
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -858,32 +934,38 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -891,8 +973,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration staticDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + staticDurationBuilder_; /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -900,12 +987,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -913,16 +1003,21 @@ public boolean hasStaticDuration() {
      * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -945,6 +1040,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -953,8 +1050,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 2;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -965,6 +1061,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -977,7 +1075,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -989,6 +1089,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1009,6 +1111,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1018,11 +1122,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1035,11 +1141,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1049,14 +1158,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1064,34 +1176,47 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1112,14 +1237,15 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; */ - public Builder setPolyline( - com.google.maps.routing.v2.Polyline.Builder builderForValue) { + public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) { if (polylineBuilder_ == null) { polyline_ = builderForValue.build(); onChanged(); @@ -1130,6 +1256,8 @@ public Builder setPolyline( return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1140,7 +1268,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { if (polylineBuilder_ == null) { if (polyline_ != null) { polyline_ = - com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Polyline.newBuilder(polyline_) + .mergeFrom(value) + .buildPartial(); } else { polyline_ = value; } @@ -1152,6 +1282,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1170,6 +1302,8 @@ public Builder clearPolyline() { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1177,11 +1311,13 @@ public Builder clearPolyline() { * .google.maps.routing.v2.Polyline polyline = 3; */ public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() { - + onChanged(); return getPolylineFieldBuilder().getBuilder(); } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1192,11 +1328,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { if (polylineBuilder_ != null) { return polylineBuilder_.getMessageOrBuilder(); } else { - return polyline_ == null ? - com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1204,14 +1343,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { * .google.maps.routing.v2.Polyline polyline = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> + com.google.maps.routing.v2.Polyline, + com.google.maps.routing.v2.Polyline.Builder, + com.google.maps.routing.v2.PolylineOrBuilder> getPolylineFieldBuilder() { if (polylineBuilder_ == null) { - polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>( - getPolyline(), - getParentForChildren(), - isClean()); + polylineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Polyline, + com.google.maps.routing.v2.Polyline.Builder, + com.google.maps.routing.v2.PolylineOrBuilder>( + getPolyline(), getParentForChildren(), isClean()); polyline_ = null; } return polylineBuilder_; @@ -1219,34 +1361,47 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { private com.google.maps.routing.v2.Location startLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_; + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> + startLocationBuilder_; /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** + * + * *
      * The start location of this step.
      * 
@@ -1267,14 +1422,15 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; */ - public Builder setStartLocation( - com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { if (startLocationBuilder_ == null) { startLocation_ = builderForValue.build(); onChanged(); @@ -1285,6 +1441,8 @@ public Builder setStartLocation( return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1295,7 +1453,9 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { if (startLocationBuilder_ == null) { if (startLocation_ != null) { startLocation_ = - com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(startLocation_) + .mergeFrom(value) + .buildPartial(); } else { startLocation_ = value; } @@ -1307,6 +1467,8 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1325,6 +1487,8 @@ public Builder clearStartLocation() { return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1332,11 +1496,13 @@ public Builder clearStartLocation() { * .google.maps.routing.v2.Location start_location = 4; */ public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() { - + onChanged(); return getStartLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The start location of this step.
      * 
@@ -1347,11 +1513,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() if (startLocationBuilder_ != null) { return startLocationBuilder_.getMessageOrBuilder(); } else { - return startLocation_ == null ? - com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } } /** + * + * *
      * The start location of this step.
      * 
@@ -1359,14 +1528,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() * .google.maps.routing.v2.Location start_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> getStartLocationFieldBuilder() { if (startLocationBuilder_ == null) { - startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( - getStartLocation(), - getParentForChildren(), - isClean()); + startLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder>( + getStartLocation(), getParentForChildren(), isClean()); startLocation_ = null; } return startLocationBuilder_; @@ -1374,34 +1546,47 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() private com.google.maps.routing.v2.Location endLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_; + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> + endLocationBuilder_; /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** + * + * *
      * The end location of this step.
      * 
@@ -1422,14 +1607,15 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; */ - public Builder setEndLocation( - com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { if (endLocationBuilder_ == null) { endLocation_ = builderForValue.build(); onChanged(); @@ -1440,6 +1626,8 @@ public Builder setEndLocation( return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1450,7 +1638,9 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { if (endLocationBuilder_ == null) { if (endLocation_ != null) { endLocation_ = - com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(endLocation_) + .mergeFrom(value) + .buildPartial(); } else { endLocation_ = value; } @@ -1462,6 +1652,8 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1480,6 +1672,8 @@ public Builder clearEndLocation() { return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1487,11 +1681,13 @@ public Builder clearEndLocation() { * .google.maps.routing.v2.Location end_location = 5; */ public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() { - + onChanged(); return getEndLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The end location of this step.
      * 
@@ -1502,11 +1698,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { if (endLocationBuilder_ != null) { return endLocationBuilder_.getMessageOrBuilder(); } else { - return endLocation_ == null ? - com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } } /** + * + * *
      * The end location of this step.
      * 
@@ -1514,14 +1713,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { * .google.maps.routing.v2.Location end_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> getEndLocationFieldBuilder() { if (endLocationBuilder_ == null) { - endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( - getEndLocation(), - getParentForChildren(), - isClean()); + endLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder>( + getEndLocation(), getParentForChildren(), isClean()); endLocation_ = null; } return endLocationBuilder_; @@ -1529,41 +1731,55 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> navigationInstructionBuilder_; + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder> + navigationInstructionBuilder_; /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ public boolean hasNavigationInstruction() { return navigationInstructionBuilder_ != null || navigationInstruction_ != null; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { if (navigationInstructionBuilder_ == null) { - return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } else { return navigationInstructionBuilder_.getMessage(); } } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { + public Builder setNavigationInstruction( + com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1577,6 +1793,8 @@ public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationIns return this; } /** + * + * *
      * Navigation instructions.
      * 
@@ -1595,17 +1813,22 @@ public Builder setNavigationInstruction( return this; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { + public Builder mergeNavigationInstruction( + com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (navigationInstruction_ != null) { navigationInstruction_ = - com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_) + .mergeFrom(value) + .buildPartial(); } else { navigationInstruction_ = value; } @@ -1617,6 +1840,8 @@ public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationI return this; } /** + * + * *
      * Navigation instructions.
      * 
@@ -1635,33 +1860,42 @@ public Builder clearNavigationInstruction() { return this; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstruction.Builder getNavigationInstructionBuilder() { - + public com.google.maps.routing.v2.NavigationInstruction.Builder + getNavigationInstructionBuilder() { + onChanged(); return getNavigationInstructionFieldBuilder().getBuilder(); } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder + getNavigationInstructionOrBuilder() { if (navigationInstructionBuilder_ != null) { return navigationInstructionBuilder_.getMessageOrBuilder(); } else { - return navigationInstruction_ == null ? - com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } } /** + * + * *
      * Navigation instructions.
      * 
@@ -1669,14 +1903,17 @@ public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationIn * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder> getNavigationInstructionFieldBuilder() { if (navigationInstructionBuilder_ == null) { - navigationInstructionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder>( - getNavigationInstruction(), - getParentForChildren(), - isClean()); + navigationInstructionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder>( + getNavigationInstruction(), getParentForChildren(), isClean()); navigationInstruction_ = null; } return navigationInstructionBuilder_; @@ -1684,36 +1921,49 @@ public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationIn private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteLegStepTravelAdvisory, + com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> + travelAdvisoryBuilder_; /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1735,6 +1985,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAd
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1754,6 +2006,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1761,11 +2015,14 @@ public Builder setTravelAdvisory(
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
+    public Builder mergeTravelAdvisory(
+        com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -1777,6 +2034,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravel
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1796,6 +2055,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1803,12 +2064,15 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder
+        getTravelAdvisoryBuilder() {
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1816,15 +2080,19 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAd
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
+        getTravelAdvisoryOrBuilder() {
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1833,21 +2101,24 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelA
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
+
     @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);
     }
 
@@ -1857,12 +2128,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStep)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStep)
   private static final com.google.maps.routing.v2.RouteLegStep DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStep();
   }
@@ -1871,27 +2142,27 @@ public static com.google.maps.routing.v2.RouteLegStep getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteLegStep 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 RouteLegStep 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;
@@ -1906,6 +2177,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLegStep getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
similarity index 86%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
index 7bee4d9d94d8..fc9f94c0fb44 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
@@ -1,24 +1,45 @@
+/*
+ * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegStepOrBuilder extends
+public interface RouteLegStepOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStep)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -26,10 +47,13 @@ public interface RouteLegStepOrBuilder extends
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -37,10 +61,13 @@ public interface RouteLegStepOrBuilder extends
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -52,24 +79,32 @@ public interface RouteLegStepOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The polyline associated with this step.
    * 
@@ -79,24 +114,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder(); /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** + * + * *
    * The start location of this step.
    * 
@@ -106,24 +149,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder(); /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** + * + * *
    * The end location of this step.
    * 
@@ -133,24 +184,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder(); /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ boolean hasNavigationInstruction(); /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction(); /** + * + * *
    * Navigation instructions.
    * 
@@ -160,26 +219,34 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
similarity index 76%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
index 8a5b1c099dde..2c5c6c86bd17 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction on a leg step.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
  */
-public final class RouteLegStepTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegStepTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStepTravelAdvisory)
     RouteLegStepTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegStepTravelAdvisory.newBuilder() to construct.
   private RouteLegStepTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteLegStepTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegStepTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
   }
 
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 1;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -66,10 +87,13 @@ protected java.lang.Object newInstance(
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -84,11 +108,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -107,6 +133,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -125,6 +153,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,6 +175,7 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,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 {
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
       output.writeMessage(1, speedReadingIntervals_.get(i));
     }
@@ -171,8 +201,9 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, speedReadingIntervals_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -182,15 +213,15 @@ 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.routing.v2.RouteLegStepTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other = (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other =
+        (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
 
-    if (!getSpeedReadingIntervalsList()
-        .equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -212,96 +243,104 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory prototype) {
+
+  public static Builder newBuilder(
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -309,33 +348,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
    */
-  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.routing.v2.RouteLegStepTravelAdvisory)
       com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStepTravelAdvisory.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();
@@ -350,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -371,7 +409,8 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStepTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (speedReadingIntervalsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -390,38 +429,39 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,7 +469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance())
+        return this;
       if (speedReadingIntervalsBuilder_ == null) {
         if (!other.speedReadingIntervals_.isEmpty()) {
           if (speedReadingIntervals_.isEmpty()) {
@@ -448,9 +489,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory o
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -482,25 +524,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            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) {
@@ -510,21 +554,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -536,9 +589,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -546,6 +601,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -557,7 +614,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -567,6 +625,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -578,7 +638,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -588,6 +649,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -599,7 +662,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -616,6 +680,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -627,7 +693,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -641,6 +708,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -652,7 +721,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -668,6 +738,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -679,7 +751,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -696,6 +769,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -707,7 +782,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -721,6 +797,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -732,7 +810,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -746,6 +825,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -757,14 +838,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -772,6 +853,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -783,7 +866,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -796,6 +880,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -807,7 +893,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -820,6 +907,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -831,13 +920,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -849,16 +941,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -870,10 +966,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -881,6 +978,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -892,13 +991,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -910,14 +1013,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -929,18 +1035,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -949,9 +1062,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } + @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); } @@ -961,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegStepTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(); } @@ -975,27 +1088,27 @@ public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegStepTravelAdvisory 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 RouteLegStepTravelAdvisory 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; @@ -1010,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java similarity index 83% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java index 87947a0469af..5c758c9b60d7 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegStepTravelAdvisoryOrBuilder extends +public interface RouteLegStepTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStepTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -21,9 +39,10 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -39,6 +58,8 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -54,6 +75,8 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -67,9 +90,11 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
similarity index 78%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
index 612028d629ba..41a67bddf090 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc. on a route leg.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
  */
-public final class RouteLegTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegTravelAdvisory)
     RouteLegTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegTravelAdvisory.newBuilder() to construct.
   private RouteLegTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteLegTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
+   *
+   *
    * 
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -68,6 +90,8 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -77,6 +101,7 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ @java.lang.Override @@ -84,6 +109,8 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -102,6 +129,8 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 2;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -116,10 +145,13 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -134,11 +166,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -157,6 +191,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,6 +211,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -195,6 +233,7 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +245,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 (tollInfo_ != null) {
       output.writeMessage(1, getTollInfo());
     }
@@ -224,12 +262,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tollInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTollInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTollInfo());
     }
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, speedReadingIntervals_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -239,20 +277,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.routing.v2.RouteLegTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegTravelAdvisory other = (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegTravelAdvisory other =
+        (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
 
     if (hasTollInfo() != other.hasTollInfo()) return false;
     if (hasTollInfo()) {
-      if (!getTollInfo()
-          .equals(other.getTollInfo())) return false;
+      if (!getTollInfo().equals(other.getTollInfo())) return false;
     }
-    if (!getSpeedReadingIntervalsList()
-        .equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -278,96 +315,103 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -375,33 +419,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
    */
-  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.routing.v2.RouteLegTravelAdvisory)
       com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegTravelAdvisory.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();
@@ -422,9 +465,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +486,8 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegTravelAdvisory result = new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -467,38 +511,39 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,7 +551,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance())
+        return this;
       if (other.hasTollInfo()) {
         mergeTollInfo(other.getTollInfo());
       }
@@ -528,9 +574,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -562,32 +609,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTollInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                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) {
@@ -597,12 +645,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
+        tollInfoBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -612,12 +666,15 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** + * + * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -627,16 +684,21 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; + return tollInfo_ == null + ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() + : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -661,6 +723,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -671,8 +735,7 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
-    public Builder setTollInfo(
-        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -683,6 +746,8 @@ public Builder setTollInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -697,7 +762,9 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -709,6 +776,8 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -731,6 +800,8 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -742,11 +813,13 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-      
+
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -761,11 +834,14 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null ?
-            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
+        return tollInfo_ == null
+            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
+            : tollInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -777,32 +853,43 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(),
-                getParentForChildren(),
-                isClean());
+        tollInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.TollInfo,
+                com.google.maps.routing.v2.TollInfo.Builder,
+                com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(), getParentForChildren(), isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -814,9 +901,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -824,6 +913,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -835,7 +926,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -845,6 +937,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -856,7 +950,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -866,6 +961,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -877,7 +974,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -894,6 +992,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -905,7 +1005,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -919,6 +1020,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -930,7 +1033,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -946,6 +1050,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -957,7 +1063,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -974,6 +1081,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -985,7 +1094,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -999,6 +1109,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1010,7 +1122,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1024,6 +1137,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1035,14 +1150,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1050,6 +1165,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1061,7 +1178,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1074,6 +1192,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1085,7 +1205,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1098,6 +1219,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1109,13 +1232,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1127,16 +1253,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1148,10 +1278,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1159,6 +1290,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1170,13 +1303,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1188,14 +1325,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1207,18 +1347,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1227,9 +1374,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } + @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); } @@ -1239,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegTravelAdvisory(); } @@ -1253,27 +1400,27 @@ public static com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegTravelAdvisory 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 RouteLegTravelAdvisory 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; @@ -1288,6 +1435,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java similarity index 87% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java index 9f7adf5452a4..fbe256e0d85f 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegTravelAdvisoryOrBuilder extends +public interface RouteLegTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -17,10 +35,13 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -30,10 +51,13 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -47,6 +71,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -60,9 +86,10 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -78,6 +105,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -93,6 +122,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -106,9 +137,11 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
similarity index 61%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
index c7e266e71be1..80beeaa88bb0 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
@@ -1,60 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A single destination for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ -public final class RouteMatrixDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteMatrixDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixDestination) RouteMatrixDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteMatrixDestination.newBuilder() to construct. private RouteMatrixDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteMatrixDestination() { - } + + private RouteMatrixDestination() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteMatrixDestination(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, + com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -86,6 +115,7 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +127,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -112,8 +141,7 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +151,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.routing.v2.RouteMatrixDestination)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixDestination other = (com.google.maps.routing.v2.RouteMatrixDestination) obj; + com.google.maps.routing.v2.RouteMatrixDestination other = + (com.google.maps.routing.v2.RouteMatrixDestination) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint() - .equals(other.getWaypoint())) return false; + if (!getWaypoint().equals(other.getWaypoint())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,129 +184,135 @@ public int hashCode() { } public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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 single destination for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ - 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.routing.v2.RouteMatrixDestination) com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, + com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixDestination.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(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override @@ -313,7 +347,8 @@ public com.google.maps.routing.v2.RouteMatrixDestination build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination buildPartial() { - com.google.maps.routing.v2.RouteMatrixDestination result = new com.google.maps.routing.v2.RouteMatrixDestination(this); + com.google.maps.routing.v2.RouteMatrixDestination result = + new com.google.maps.routing.v2.RouteMatrixDestination(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -327,38 +362,39 @@ public com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination)other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination) other); } else { super.mergeFrom(other); return this; @@ -366,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.RouteMatrixDestination other) { - if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) + return this; if (other.hasWaypoint()) { mergeWaypoint(other.getWaypoint()); } @@ -396,19 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWaypointFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + 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) { @@ -421,39 +458,58 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + waypointBuilder_; /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -469,14 +525,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWaypoint( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -487,17 +546,23 @@ public Builder setWaypoint( return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) + .mergeFrom(value) + .buildPartial(); } else { waypoint_ = value; } @@ -509,11 +574,15 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -527,55 +596,71 @@ public Builder clearWaypoint() { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), - getParentForChildren(), - isClean()); + waypointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), getParentForChildren(), isClean()); waypoint_ = null; } return waypointBuilder_; } + @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); } @@ -585,12 +670,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixDestination) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixDestination) private static final com.google.maps.routing.v2.RouteMatrixDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixDestination(); } @@ -599,27 +684,27 @@ public static com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixDestination 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 RouteMatrixDestination 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; @@ -634,6 +719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java similarity index 52% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java index 7be9a7b37ed3..7f309d19082c 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java @@ -1,36 +1,63 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixDestinationOrBuilder extends +public interface RouteMatrixDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java index 169ef698c0ec..f1172620cf38 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates route information computed for an origin/destination pair in the
  * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
  */
-public final class RouteMatrixElement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteMatrixElement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixElement)
     RouteMatrixElementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteMatrixElement.newBuilder() to construct.
   private RouteMatrixElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteMatrixElement() {
     condition_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteMatrixElement();
   }
 
   @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RoutesServiceProto
+        .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+    return com.google.maps.routing.v2.RoutesServiceProto
+        .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+            com.google.maps.routing.v2.RouteMatrixElement.class,
+            com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGIN_INDEX_FIELD_NUMBER = 1;
   private int originIndex_;
   /**
+   *
+   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -65,11 +87,14 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ @java.lang.Override @@ -80,11 +105,14 @@ public int getOriginIndex() { public static final int DESTINATION_INDEX_FIELD_NUMBER = 2; private int destinationIndex_; /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -92,11 +120,14 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ @java.lang.Override @@ -107,11 +138,14 @@ public int getDestinationIndex() { public static final int STATUS_FIELD_NUMBER = 3; private com.google.rpc.Status status_; /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ @java.lang.Override @@ -119,11 +153,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return The status. */ @java.lang.Override @@ -131,6 +168,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Error status code for this element.
    * 
@@ -145,38 +184,52 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int CONDITION_FIELD_NUMBER = 9; private int condition_; /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override public int getConditionValue() { + @java.lang.Override + public int getConditionValue() { return condition_; } /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ - @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { + @java.lang.Override + public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = + com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null + ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED + : result; } public static final int DISTANCE_METERS_FIELD_NUMBER = 4; private int distanceMeters_; /** + * + * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ @java.lang.Override @@ -187,6 +240,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -196,6 +251,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -203,6 +259,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -212,6 +270,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ @java.lang.Override @@ -219,6 +278,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -237,12 +298,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -250,19 +314,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -278,12 +349,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7;
   private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
   /**
+   *
+   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -291,19 +365,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -319,6 +400,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
   public static final int FALLBACK_INFO_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -328,6 +411,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -335,6 +419,8 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -344,13 +430,18 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -367,6 +458,7 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -378,8 +470,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.writeInt32(1, originIndex_);
     }
@@ -404,7 +495,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (fallbackInfo_ != null) {
       output.writeMessage(8, getFallbackInfo());
     }
-    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
+    if (condition_
+        != com.google.maps.routing.v2.RouteMatrixElementCondition
+            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(9, condition_);
     }
     getUnknownFields().writeTo(output);
@@ -417,40 +511,34 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, originIndex_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, originIndex_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, destinationIndex_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, destinationIndex_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStatus());
     }
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStaticDuration());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFallbackInfo());
     }
-    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(9, condition_);
+    if (condition_
+        != com.google.maps.routing.v2.RouteMatrixElementCondition
+            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, condition_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -460,50 +548,43 @@ 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.routing.v2.RouteMatrixElement)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteMatrixElement other = (com.google.maps.routing.v2.RouteMatrixElement) obj;
+    com.google.maps.routing.v2.RouteMatrixElement other =
+        (com.google.maps.routing.v2.RouteMatrixElement) obj;
 
     if (hasOriginIndex() != other.hasOriginIndex()) return false;
     if (hasOriginIndex()) {
-      if (getOriginIndex()
-          != other.getOriginIndex()) return false;
+      if (getOriginIndex() != other.getOriginIndex()) return false;
     }
     if (hasDestinationIndex() != other.hasDestinationIndex()) return false;
     if (hasDestinationIndex()) {
-      if (getDestinationIndex()
-          != other.getDestinationIndex()) return false;
+      if (getDestinationIndex() != other.getDestinationIndex()) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (condition_ != other.condition_) return false;
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration()
-          .equals(other.getDuration())) return false;
+      if (!getDuration().equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo()
-          .equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -553,97 +634,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteMatrixElement parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates route information computed for an origin/destination pair in the
    * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -651,33 +739,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
    */
-  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.routing.v2.RouteMatrixElement)
       com.google.maps.routing.v2.RouteMatrixElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+              com.google.maps.routing.v2.RouteMatrixElement.class,
+              com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteMatrixElement.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();
@@ -723,9 +810,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
@@ -744,7 +831,8 @@ public com.google.maps.routing.v2.RouteMatrixElement build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteMatrixElement buildPartial() {
-      com.google.maps.routing.v2.RouteMatrixElement result = new com.google.maps.routing.v2.RouteMatrixElement(this);
+      com.google.maps.routing.v2.RouteMatrixElement result =
+          new com.google.maps.routing.v2.RouteMatrixElement(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -791,38 +879,39 @@ public com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement) {
-        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -884,67 +973,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              originIndex_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              destinationIndex_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 32: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getFallbackInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 72: {
-              condition_ = input.readEnum();
-
-              break;
-            } // case 72
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                originIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                destinationIndex_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 32:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 72:
+              {
+                condition_ = input.readEnum();
+
+                break;
+              } // case 72
+            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) {
@@ -954,15 +1043,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int originIndex_ ;
+    private int originIndex_;
     /**
+     *
+     *
      * 
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -970,11 +1063,14 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ @java.lang.Override @@ -982,11 +1078,14 @@ public int getOriginIndex() { return originIndex_; } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @param value The originIndex to set. * @return This builder for chaining. */ @@ -997,11 +1096,14 @@ public Builder setOriginIndex(int value) { return this; } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return This builder for chaining. */ public Builder clearOriginIndex() { @@ -1011,13 +1113,16 @@ public Builder clearOriginIndex() { return this; } - private int destinationIndex_ ; + private int destinationIndex_; /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -1025,11 +1130,14 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ @java.lang.Override @@ -1037,11 +1145,14 @@ public int getDestinationIndex() { return destinationIndex_; } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @param value The destinationIndex to set. * @return This builder for chaining. */ @@ -1052,11 +1163,14 @@ public Builder setDestinationIndex(int value) { return this; } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return This builder for chaining. */ public Builder clearDestinationIndex() { @@ -1068,24 +1182,31 @@ public Builder clearDestinationIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1096,6 +1217,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Error status code for this element.
      * 
@@ -1116,14 +1239,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -1134,6 +1258,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1143,8 +1269,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -1156,6 +1281,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1174,6 +1301,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1181,11 +1310,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 3; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Error status code for this element.
      * 
@@ -1196,11 +1327,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Error status code for this element.
      * 
@@ -1208,14 +1340,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -1223,51 +1355,67 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private int condition_ = 0; /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override public int getConditionValue() { + @java.lang.Override + public int getConditionValue() { return condition_; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @param value The enum numeric value on the wire for condition to set. * @return This builder for chaining. */ public Builder setConditionValue(int value) { - + condition_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = + com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null + ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @param value The condition to set. * @return This builder for chaining. */ @@ -1275,33 +1423,39 @@ public Builder setCondition(com.google.maps.routing.v2.RouteMatrixElementConditi if (value == null) { throw new NullPointerException(); } - + condition_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return This builder for chaining. */ public Builder clearCondition() { - + condition_ = 0; onChanged(); return this; } - private int distanceMeters_ ; + private int distanceMeters_; /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ @java.lang.Override @@ -1309,30 +1463,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1340,8 +1500,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1351,12 +1516,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1366,6 +1534,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1376,6 +1545,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1400,6 +1571,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1410,8 +1583,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 5;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1422,6 +1594,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1436,7 +1610,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1448,6 +1622,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1470,6 +1646,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1481,11 +1659,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 5;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1500,11 +1680,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1516,14 +1697,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1531,36 +1715,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1582,6 +1779,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1589,8 +1788,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 6;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1799,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1612,7 +1812,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1624,6 +1826,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1643,6 +1847,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1651,11 +1857,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 6;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1667,11 +1875,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1680,14 +1891,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1695,36 +1909,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
+            com.google.maps.routing.v2.RouteTravelAdvisory,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
+        travelAdvisoryBuilder_;
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1746,6 +1973,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1765,6 +1994,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1776,7 +2007,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -1788,6 +2021,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1807,6 +2042,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1815,11 +2052,13 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1831,11 +2070,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1844,14 +2086,17 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteTravelAdvisory,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteTravelAdvisory,
+                com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
@@ -1859,8 +2104,13 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        fallbackInfoBuilder_;
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1870,12 +2120,15 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** + * + * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1885,16 +2138,21 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** + * + * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1919,6 +2177,8 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1941,6 +2201,8 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1955,7 +2217,9 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1967,6 +2231,8 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1989,6 +2255,8 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2000,11 +2268,13 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-      
+
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2019,11 +2289,14 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null ?
-            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
+        return fallbackInfo_ == null
+            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
+            : fallbackInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2035,21 +2308,24 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(),
-                getParentForChildren(),
-                isClean());
+        fallbackInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.FallbackInfo,
+                com.google.maps.routing.v2.FallbackInfo.Builder,
+                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(), getParentForChildren(), isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
+
     @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);
     }
 
@@ -2059,12 +2335,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixElement)
   private static final com.google.maps.routing.v2.RouteMatrixElement DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixElement();
   }
@@ -2073,27 +2349,27 @@ public static com.google.maps.routing.v2.RouteMatrixElement getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteMatrixElement 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 RouteMatrixElement 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;
@@ -2108,6 +2384,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteMatrixElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
similarity index 71%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
index 1b9d70c4950a..462531141ef5 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * The condition of the route being returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.RouteMatrixElementCondition} */ -public enum RouteMatrixElementCondition - implements com.google.protobuf.ProtocolMessageEnum { +public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Only used when the `status` of the element is not OK.
    * 
@@ -21,6 +39,8 @@ public enum RouteMatrixElementCondition */ ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED(0), /** + * + * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -30,6 +50,8 @@ public enum RouteMatrixElementCondition
    */
   ROUTE_EXISTS(1),
   /**
+   *
+   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -42,6 +64,8 @@ public enum RouteMatrixElementCondition
   ;
 
   /**
+   *
+   *
    * 
    * Only used when the `status` of the element is not OK.
    * 
@@ -50,6 +74,8 @@ public enum RouteMatrixElementCondition */ public static final int ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -59,6 +85,8 @@ public enum RouteMatrixElementCondition
    */
   public static final int ROUTE_EXISTS_VALUE = 1;
   /**
+   *
+   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -68,7 +96,6 @@ public enum RouteMatrixElementCondition
    */
   public static final int ROUTE_NOT_FOUND_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,10 +120,14 @@ public static RouteMatrixElementCondition valueOf(int value) {
    */
   public static RouteMatrixElementCondition forNumber(int value) {
     switch (value) {
-      case 0: return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
-      case 1: return ROUTE_EXISTS;
-      case 2: return ROUTE_NOT_FOUND;
-      default: return null;
+      case 0:
+        return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
+      case 1:
+        return ROUTE_EXISTS;
+      case 2:
+        return ROUTE_NOT_FOUND;
+      default:
+        return null;
     }
   }
 
@@ -104,28 +135,28 @@ public static RouteMatrixElementCondition forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      RouteMatrixElementCondition> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteMatrixElementCondition findValueByNumber(int number) {
-            return RouteMatrixElementCondition.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 RouteMatrixElementCondition findValueByNumber(int number) {
+              return RouteMatrixElementCondition.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.routing.v2.RoutesServiceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -134,8 +165,7 @@ public RouteMatrixElementCondition findValueByNumber(int number) {
   public static RouteMatrixElementCondition 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;
@@ -151,4 +181,3 @@ private RouteMatrixElementCondition(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteMatrixElementCondition)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
index 4a7b3218258f..8158e7da0b77 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
@@ -1,69 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteMatrixElementOrBuilder extends
+public interface RouteMatrixElementOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ boolean hasOriginIndex(); /** + * + * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ int getOriginIndex(); /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ boolean hasDestinationIndex(); /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ int getDestinationIndex(); /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Error status code for this element.
    * 
@@ -73,35 +109,46 @@ public interface RouteMatrixElementOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ int getConditionValue(); /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ com.google.maps.routing.v2.RouteMatrixElementCondition getCondition(); /** + * + * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -111,10 +158,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -124,10 +174,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -141,26 +194,34 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -171,26 +232,34 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -201,6 +270,8 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder();
 
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -210,10 +281,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -223,10 +297,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
similarity index 61%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
index 4ed589c31383..f4b5e7947f0f 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
@@ -1,60 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A single origin for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ -public final class RouteMatrixOrigin extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteMatrixOrigin extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixOrigin) RouteMatrixOriginOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteMatrixOrigin.newBuilder() to construct. private RouteMatrixOrigin(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteMatrixOrigin() { - } + + private RouteMatrixOrigin() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteMatrixOrigin(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -88,11 +117,16 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 2; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -100,23 +134,34 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -124,6 +169,7 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +181,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -153,12 +198,10 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRouteModifiers()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +211,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.routing.v2.RouteMatrixOrigin)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixOrigin other = (com.google.maps.routing.v2.RouteMatrixOrigin) obj; + com.google.maps.routing.v2.RouteMatrixOrigin other = + (com.google.maps.routing.v2.RouteMatrixOrigin) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint() - .equals(other.getWaypoint())) return false; + if (!getWaypoint().equals(other.getWaypoint())) return false; } if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers() - .equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixOrigin parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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 single origin for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ - 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.routing.v2.RouteMatrixOrigin) com.google.maps.routing.v2.RouteMatrixOriginOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixOrigin.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(); @@ -352,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override @@ -373,7 +421,8 @@ public com.google.maps.routing.v2.RouteMatrixOrigin build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin buildPartial() { - com.google.maps.routing.v2.RouteMatrixOrigin result = new com.google.maps.routing.v2.RouteMatrixOrigin(this); + com.google.maps.routing.v2.RouteMatrixOrigin result = + new com.google.maps.routing.v2.RouteMatrixOrigin(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -392,38 +441,39 @@ public com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin)other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin) other); } else { super.mergeFrom(other); return this; @@ -464,26 +514,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWaypointFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getRouteModifiersFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -496,39 +545,58 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + waypointBuilder_; /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -544,14 +612,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWaypoint( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -562,17 +633,23 @@ public Builder setWaypoint( return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) + .mergeFrom(value) + .buildPartial(); } else { waypoint_ = value; } @@ -584,11 +661,15 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -602,48 +683,64 @@ public Builder clearWaypoint() { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), - getParentForChildren(), - isClean()); + waypointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), getParentForChildren(), isClean()); waypoint_ = null; } return waypointBuilder_; @@ -651,39 +748,58 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> + routeModifiersBuilder_; /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -699,11 +815,15 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -717,17 +837,23 @@ public Builder setRouteModifiers( return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) + .mergeFrom(value) + .buildPartial(); } else { routeModifiers_ = value; } @@ -739,11 +865,15 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -757,55 +887,71 @@ public Builder clearRouteModifiers() { return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null ? - com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), - getParentForChildren(), - isClean()); + routeModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), getParentForChildren(), isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; } + @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); } @@ -815,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixOrigin) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixOrigin) private static final com.google.maps.routing.v2.RouteMatrixOrigin DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixOrigin(); } @@ -829,27 +975,27 @@ public static com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixOrigin 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 RouteMatrixOrigin 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; @@ -864,6 +1010,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java similarity index 54% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java index 5ed1c2ed8c5d..655dfd269c03 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java @@ -1,63 +1,104 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixOriginOrBuilder extends +public interface RouteMatrixOriginOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixOrigin) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java index 67bbba213a5e..c78ff5bae4d1 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates a set of optional conditions to satisfy when calculating the
  * routes.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
  */
-public final class RouteModifiers extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteModifiers extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteModifiers)
     RouteModifiersOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteModifiers.newBuilder() to construct.
   private RouteModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteModifiers() {
     tollPasses_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteModifiers();
   }
 
   @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.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteModifiersProto
+        .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteModifiersProto
+        .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
+            com.google.maps.routing.v2.RouteModifiers.class,
+            com.google.maps.routing.v2.RouteModifiers.Builder.class);
   }
 
   public static final int AVOID_TOLLS_FIELD_NUMBER = 1;
   private boolean avoidTolls_;
   /**
+   *
+   *
    * 
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ @java.lang.Override @@ -69,6 +91,8 @@ public boolean getAvoidTolls() { public static final int AVOID_HIGHWAYS_FIELD_NUMBER = 2; private boolean avoidHighways_; /** + * + * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -76,6 +100,7 @@ public boolean getAvoidTolls() {
    * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ @java.lang.Override @@ -86,6 +111,8 @@ public boolean getAvoidHighways() { public static final int AVOID_FERRIES_FIELD_NUMBER = 3; private boolean avoidFerries_; /** + * + * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -93,6 +120,7 @@ public boolean getAvoidHighways() {
    * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ @java.lang.Override @@ -103,6 +131,8 @@ public boolean getAvoidFerries() { public static final int AVOID_INDOOR_FIELD_NUMBER = 4; private boolean avoidIndoor_; /** + * + * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -110,6 +140,7 @@ public boolean getAvoidFerries() {
    * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ @java.lang.Override @@ -120,11 +151,14 @@ public boolean getAvoidIndoor() { public static final int VEHICLE_INFO_FIELD_NUMBER = 5; private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ @java.lang.Override @@ -132,18 +166,25 @@ public boolean hasVehicleInfo() { return vehicleInfo_ != null; } /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ @java.lang.Override public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { - return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } /** + * + * *
    * Specifies the vehicle information.
    * 
@@ -158,16 +199,20 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() public static final int TOLL_PASSES_FIELD_NUMBER = 6; private java.util.List tollPasses_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.TollPass> tollPasses_converter_ = + java.lang.Integer, com.google.maps.routing.v2.TollPass> + tollPasses_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.TollPass>() { public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.TollPass result = com.google.maps.routing.v2.TollPass.valueOf(from); + com.google.maps.routing.v2.TollPass result = + com.google.maps.routing.v2.TollPass.valueOf(from); return result == null ? com.google.maps.routing.v2.TollPass.UNRECOGNIZED : result; } }; /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -177,6 +222,7 @@ public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ @java.lang.Override @@ -185,6 +231,8 @@ public java.util.List getTollPassesList() { java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -194,6 +242,7 @@ public java.util.List getTollPassesList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ @java.lang.Override @@ -201,6 +250,8 @@ public int getTollPassesCount() { return tollPasses_.size(); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -210,6 +261,7 @@ public int getTollPassesCount() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -218,6 +270,8 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -227,14 +281,16 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ @java.lang.Override - public java.util.List - getTollPassesValueList() { + public java.util.List getTollPassesValueList() { return tollPasses_; } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -244,6 +300,7 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -251,9 +308,11 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { public int getTollPassesValue(int index) { return tollPasses_.get(index); } + private int tollPassesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +324,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 { getSerializedSize(); if (avoidTolls_ != false) { output.writeBool(1, avoidTolls_); @@ -300,36 +358,31 @@ public int getSerializedSize() { size = 0; if (avoidTolls_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, avoidTolls_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, avoidTolls_); } if (avoidHighways_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, avoidHighways_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, avoidHighways_); } if (avoidFerries_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, avoidFerries_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, avoidFerries_); } if (avoidIndoor_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, avoidIndoor_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, avoidIndoor_); } if (vehicleInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getVehicleInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getVehicleInfo()); } { int dataSize = 0; for (int i = 0; i < tollPasses_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(tollPasses_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(tollPasses_.get(i)); } size += dataSize; - if (!getTollPassesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }tollPassesMemoizedSerializedSize = dataSize; + if (!getTollPassesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + tollPassesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,25 +392,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.routing.v2.RouteModifiers)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteModifiers other = (com.google.maps.routing.v2.RouteModifiers) obj; + com.google.maps.routing.v2.RouteModifiers other = + (com.google.maps.routing.v2.RouteModifiers) obj; - if (getAvoidTolls() - != other.getAvoidTolls()) return false; - if (getAvoidHighways() - != other.getAvoidHighways()) return false; - if (getAvoidFerries() - != other.getAvoidFerries()) return false; - if (getAvoidIndoor() - != other.getAvoidIndoor()) return false; + if (getAvoidTolls() != other.getAvoidTolls()) return false; + if (getAvoidHighways() != other.getAvoidHighways()) return false; + if (getAvoidFerries() != other.getAvoidFerries()) return false; + if (getAvoidIndoor() != other.getAvoidIndoor()) return false; if (hasVehicleInfo() != other.hasVehicleInfo()) return false; if (hasVehicleInfo()) { - if (!getVehicleInfo() - .equals(other.getVehicleInfo())) return false; + if (!getVehicleInfo().equals(other.getVehicleInfo())) return false; } if (!tollPasses_.equals(other.tollPasses_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -372,17 +421,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVOID_TOLLS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidTolls()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidTolls()); hash = (37 * hash) + AVOID_HIGHWAYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidHighways()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidHighways()); hash = (37 * hash) + AVOID_FERRIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidFerries()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidFerries()); hash = (37 * hash) + AVOID_INDOOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidIndoor()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidIndoor()); if (hasVehicleInfo()) { hash = (37 * hash) + VEHICLE_INFO_FIELD_NUMBER; hash = (53 * hash) + getVehicleInfo().hashCode(); @@ -396,97 +441,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteModifiers parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteModifiers parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteModifiers parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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; } /** + * + * *
    * Encapsulates a set of optional conditions to satisfy when calculating the
    * routes.
@@ -494,33 +546,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
    */
-  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.routing.v2.RouteModifiers)
       com.google.maps.routing.v2.RouteModifiersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
+              com.google.maps.routing.v2.RouteModifiers.class,
+              com.google.maps.routing.v2.RouteModifiers.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteModifiers.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();
@@ -544,9 +595,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
@@ -565,7 +616,8 @@ public com.google.maps.routing.v2.RouteModifiers build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteModifiers buildPartial() {
-      com.google.maps.routing.v2.RouteModifiers result = new com.google.maps.routing.v2.RouteModifiers(this);
+      com.google.maps.routing.v2.RouteModifiers result =
+          new com.google.maps.routing.v2.RouteModifiers(this);
       int from_bitField0_ = bitField0_;
       result.avoidTolls_ = avoidTolls_;
       result.avoidHighways_ = avoidHighways_;
@@ -589,38 +641,39 @@ public com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers) {
-        return mergeFrom((com.google.maps.routing.v2.RouteModifiers)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteModifiers) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -680,56 +733,62 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              avoidTolls_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              avoidHighways_ = input.readBool();
-
-              break;
-            } // case 16
-            case 24: {
-              avoidFerries_ = input.readBool();
-
-              break;
-            } // case 24
-            case 32: {
-              avoidIndoor_ = input.readBool();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getVehicleInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 48: {
-              int tmpRaw = input.readEnum();
-              ensureTollPassesIsMutable();
-              tollPasses_.add(tmpRaw);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 8:
+              {
+                avoidTolls_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                avoidHighways_ = input.readBool();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                avoidFerries_ = input.readBool();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                avoidIndoor_ = input.readBool();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getVehicleInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 48:
+              {
                 int tmpRaw = input.readEnum();
                 ensureTollPassesIsMutable();
                 tollPasses_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureTollPassesIsMutable();
+                  tollPasses_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 50
+            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) {
@@ -739,10 +798,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean avoidTolls_ ;
+    private boolean avoidTolls_;
     /**
+     *
+     *
      * 
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -750,6 +812,7 @@ public Builder mergeFrom(
      * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ @java.lang.Override @@ -757,6 +820,8 @@ public boolean getAvoidTolls() { return avoidTolls_; } /** + * + * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -764,16 +829,19 @@ public boolean getAvoidTolls() {
      * 
* * bool avoid_tolls = 1; + * * @param value The avoidTolls to set. * @return This builder for chaining. */ public Builder setAvoidTolls(boolean value) { - + avoidTolls_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -781,17 +849,20 @@ public Builder setAvoidTolls(boolean value) {
      * 
* * bool avoid_tolls = 1; + * * @return This builder for chaining. */ public Builder clearAvoidTolls() { - + avoidTolls_ = false; onChanged(); return this; } - private boolean avoidHighways_ ; + private boolean avoidHighways_; /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -799,6 +870,7 @@ public Builder clearAvoidTolls() {
      * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ @java.lang.Override @@ -806,6 +878,8 @@ public boolean getAvoidHighways() { return avoidHighways_; } /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -813,16 +887,19 @@ public boolean getAvoidHighways() {
      * 
* * bool avoid_highways = 2; + * * @param value The avoidHighways to set. * @return This builder for chaining. */ public Builder setAvoidHighways(boolean value) { - + avoidHighways_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -830,17 +907,20 @@ public Builder setAvoidHighways(boolean value) {
      * 
* * bool avoid_highways = 2; + * * @return This builder for chaining. */ public Builder clearAvoidHighways() { - + avoidHighways_ = false; onChanged(); return this; } - private boolean avoidFerries_ ; + private boolean avoidFerries_; /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -848,6 +928,7 @@ public Builder clearAvoidHighways() {
      * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ @java.lang.Override @@ -855,6 +936,8 @@ public boolean getAvoidFerries() { return avoidFerries_; } /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -862,16 +945,19 @@ public boolean getAvoidFerries() {
      * 
* * bool avoid_ferries = 3; + * * @param value The avoidFerries to set. * @return This builder for chaining. */ public Builder setAvoidFerries(boolean value) { - + avoidFerries_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -879,17 +965,20 @@ public Builder setAvoidFerries(boolean value) {
      * 
* * bool avoid_ferries = 3; + * * @return This builder for chaining. */ public Builder clearAvoidFerries() { - + avoidFerries_ = false; onChanged(); return this; } - private boolean avoidIndoor_ ; + private boolean avoidIndoor_; /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -897,6 +986,7 @@ public Builder clearAvoidFerries() {
      * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ @java.lang.Override @@ -904,6 +994,8 @@ public boolean getAvoidIndoor() { return avoidIndoor_; } /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -911,16 +1003,19 @@ public boolean getAvoidIndoor() {
      * 
* * bool avoid_indoor = 4; + * * @param value The avoidIndoor to set. * @return This builder for chaining. */ public Builder setAvoidIndoor(boolean value) { - + avoidIndoor_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -928,10 +1023,11 @@ public Builder setAvoidIndoor(boolean value) {
      * 
* * bool avoid_indoor = 4; + * * @return This builder for chaining. */ public Builder clearAvoidIndoor() { - + avoidIndoor_ = false; onChanged(); return this; @@ -939,34 +1035,47 @@ public Builder clearAvoidIndoor() { private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> vehicleInfoBuilder_; + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder> + vehicleInfoBuilder_; /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ public boolean hasVehicleInfo() { return vehicleInfoBuilder_ != null || vehicleInfo_ != null; } /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { if (vehicleInfoBuilder_ == null) { - return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } else { return vehicleInfoBuilder_.getMessage(); } } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -987,14 +1096,15 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ - public Builder setVehicleInfo( - com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { + public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { if (vehicleInfoBuilder_ == null) { vehicleInfo_ = builderForValue.build(); onChanged(); @@ -1005,6 +1115,8 @@ public Builder setVehicleInfo( return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1015,7 +1127,9 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { if (vehicleInfoBuilder_ == null) { if (vehicleInfo_ != null) { vehicleInfo_ = - com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_) + .mergeFrom(value) + .buildPartial(); } else { vehicleInfo_ = value; } @@ -1027,6 +1141,8 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1045,6 +1161,8 @@ public Builder clearVehicleInfo() { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1052,11 +1170,13 @@ public Builder clearVehicleInfo() { * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ public com.google.maps.routing.v2.VehicleInfo.Builder getVehicleInfoBuilder() { - + onChanged(); return getVehicleInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1067,11 +1187,14 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() if (vehicleInfoBuilder_ != null) { return vehicleInfoBuilder_.getMessageOrBuilder(); } else { - return vehicleInfo_ == null ? - com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1079,21 +1202,24 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder> getVehicleInfoFieldBuilder() { if (vehicleInfoBuilder_ == null) { - vehicleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder>( - getVehicleInfo(), - getParentForChildren(), - isClean()); + vehicleInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder>( + getVehicleInfo(), getParentForChildren(), isClean()); vehicleInfo_ = null; } return vehicleInfoBuilder_; } - private java.util.List tollPasses_ = - java.util.Collections.emptyList(); + private java.util.List tollPasses_ = java.util.Collections.emptyList(); + private void ensureTollPassesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tollPasses_ = new java.util.ArrayList(tollPasses_); @@ -1101,6 +1227,8 @@ private void ensureTollPassesIsMutable() { } } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1110,13 +1238,17 @@ private void ensureTollPassesIsMutable() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ public java.util.List getTollPassesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); + java.lang.Integer, com.google.maps.routing.v2.TollPass>( + tollPasses_, tollPasses_converter_); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1126,12 +1258,15 @@ public java.util.List getTollPassesList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ public int getTollPassesCount() { return tollPasses_.size(); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1141,6 +1276,7 @@ public int getTollPassesCount() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -1148,6 +1284,8 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1157,12 +1295,12 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index to set the value at. * @param value The tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPasses( - int index, com.google.maps.routing.v2.TollPass value) { + public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass value) { if (value == null) { throw new NullPointerException(); } @@ -1172,6 +1310,8 @@ public Builder setTollPasses( return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1181,6 +1321,7 @@ public Builder setTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param value The tollPasses to add. * @return This builder for chaining. */ @@ -1194,6 +1335,8 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1203,6 +1346,7 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param values The tollPasses to add. * @return This builder for chaining. */ @@ -1216,6 +1360,8 @@ public Builder addAllTollPasses( return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1225,6 +1371,7 @@ public Builder addAllTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return This builder for chaining. */ public Builder clearTollPasses() { @@ -1234,6 +1381,8 @@ public Builder clearTollPasses() { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1243,13 +1392,15 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ - public java.util.List - getTollPassesValueList() { + public java.util.List getTollPassesValueList() { return java.util.Collections.unmodifiableList(tollPasses_); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1259,6 +1410,7 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -1266,6 +1418,8 @@ public int getTollPassesValue(int index) { return tollPasses_.get(index); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1275,18 +1429,20 @@ public int getTollPassesValue(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPassesValue( - int index, int value) { + public Builder setTollPassesValue(int index, int value) { ensureTollPassesIsMutable(); tollPasses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1296,6 +1452,7 @@ public Builder setTollPassesValue(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param value The enum numeric value on the wire for tollPasses to add. * @return This builder for chaining. */ @@ -1306,6 +1463,8 @@ public Builder addTollPassesValue(int value) { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1315,11 +1474,11 @@ public Builder addTollPassesValue(int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param values The enum numeric values on the wire for tollPasses to add. * @return This builder for chaining. */ - public Builder addAllTollPassesValue( - java.lang.Iterable values) { + public Builder addAllTollPassesValue(java.lang.Iterable values) { ensureTollPassesIsMutable(); for (int value : values) { tollPasses_.add(value); @@ -1327,9 +1486,9 @@ public Builder addAllTollPassesValue( 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); } @@ -1339,12 +1498,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteModifiers) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteModifiers) private static final com.google.maps.routing.v2.RouteModifiers DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteModifiers(); } @@ -1353,27 +1512,27 @@ public static com.google.maps.routing.v2.RouteModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteModifiers 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 RouteModifiers 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; @@ -1388,6 +1547,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteModifiers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java similarity index 85% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java index b41f50657f71..6e207822df2d 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; -public interface RouteModifiersOrBuilder extends +public interface RouteModifiersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteModifiers) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -15,11 +33,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ boolean getAvoidTolls(); /** + * + * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -27,11 +48,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ boolean getAvoidHighways(); /** + * + * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -39,11 +63,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ boolean getAvoidFerries(); /** + * + * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -51,29 +78,38 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ boolean getAvoidIndoor(); /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ boolean hasVehicleInfo(); /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ com.google.maps.routing.v2.VehicleInfo getVehicleInfo(); /** + * + * *
    * Specifies the vehicle information.
    * 
@@ -83,6 +119,8 @@ public interface RouteModifiersOrBuilder extends com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -92,10 +130,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ java.util.List getTollPassesList(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -105,10 +146,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ int getTollPassesCount(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -118,11 +162,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ com.google.maps.routing.v2.TollPass getTollPasses(int index); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -132,11 +179,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ - java.util.List - getTollPassesValueList(); + java.util.List getTollPassesValueList(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -146,6 +195,7 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java new file mode 100644 index 000000000000..f01f5afec580 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java @@ -0,0 +1,84 @@ +/* + * 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/routing/v2/route_modifiers.proto + +package com.google.maps.routing.v2; + +public final class RouteModifiersProto { + private RouteModifiersProto() {} + + 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_routing_v2_RouteModifiers_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + + ".proto\022\026google.maps.routing.v2\032(google/m" + + "aps/routing/v2/toll_passes.proto\032)google" + + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + + "outing.v2B\023RouteModifiersProtoP\001Z=google" + + ".golang.org/genproto/googleapis/maps/rou" + + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + + "oogle::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.TollPassesProto.getDescriptor(), + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_RouteModifiers_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteModifiers_descriptor, + new java.lang.String[] { + "AvoidTolls", + "AvoidHighways", + "AvoidFerries", + "AvoidIndoor", + "VehicleInfo", + "TollPasses", + }); + com.google.maps.routing.v2.TollPassesProto.getDescriptor(); + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java similarity index 89% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java index e54ab95d1975..8d44746e443e 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java @@ -1,67 +1,99 @@ +/* + * 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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteOrBuilder extends +public interface RouteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Route) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ java.util.List getRouteLabelsList(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ int getRouteLabelsCount(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ com.google.maps.routing.v2.RouteLabel getRouteLabels(int index); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ - java.util.List - getRouteLabelsValueList(); + java.util.List getRouteLabelsValueList(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ int getRouteLabelsValue(int index); /** + * + * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -74,9 +106,10 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List 
-      getLegsList();
+  java.util.List getLegsList();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -91,6 +124,8 @@ public interface RouteOrBuilder extends
    */
   com.google.maps.routing.v2.RouteLeg getLegs(int index);
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -105,6 +140,8 @@ public interface RouteOrBuilder extends
    */
   int getLegsCount();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -117,9 +154,10 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List 
-      getLegsOrBuilderList();
+  java.util.List getLegsOrBuilderList();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -132,20 +170,24 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -155,10 +197,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -168,10 +213,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -185,26 +233,34 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -215,26 +271,34 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -245,85 +309,108 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
+   *
+   *
    * 
    * A description of the route.
    * 
* * string description = 6; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of the route.
    * 
* * string description = 6; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - java.util.List - getWarningsList(); + java.util.List getWarningsList(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ int getWarningsCount(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - com.google.protobuf.ByteString - getWarningsBytes(int index); + com.google.protobuf.ByteString getWarningsBytes(int index); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ boolean hasViewport(); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ com.google.geo.type.Viewport getViewport(); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
@@ -333,24 +420,32 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder( com.google.geo.type.ViewportOrBuilder getViewportOrBuilder(); /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Additional information about the route.
    * 
@@ -360,6 +455,8 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder( com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder(); /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -373,10 +470,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * string route_token = 12; + * * @return The routeToken. */ java.lang.String getRouteToken(); /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -390,8 +490,8 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ - com.google.protobuf.ByteString - getRouteTokenBytes(); + com.google.protobuf.ByteString getRouteTokenBytes(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java new file mode 100644 index 000000000000..8fb18903f5a6 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java @@ -0,0 +1,219 @@ +/* + * 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/routing/v2/route.proto + +package com.google.maps.routing.v2; + +public final class RouteProto { + private RouteProto() {} + + 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_routing_v2_Route_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Route_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLeg_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + + "ogle.maps.routing.v2\032\036google/geo/type/vi" + + "ewport.proto\032%google/maps/routing/v2/loc" + + "ation.proto\0323google/maps/routing/v2/navi" + + "gation_instruction.proto\032%google/maps/ro" + + "uting/v2/polyline.proto\032(google/maps/rou" + + "ting/v2/route_label.proto\0323google/maps/r" + + "outing/v2/speed_reading_interval.proto\032&" + + "google/maps/routing/v2/toll_info.proto\032\036" + + "google/protobuf/duration.proto\"\316\003\n\005Route" + + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + + "\0132\031.google.protobuf.Duration\0222\n\010polyline" + + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + + "ingInterval\022$\n\034fuel_consumption_microlit" + + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + + "(\0132,.google.maps.routing.v2.SpeedReading" + + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + + ".maps.routing.v2.SpeedReadingInterval\"\250\003" + + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + + "uration\030\002 \001(\0132\031.google.protobuf.Duration" + + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + + "maps.routing.v2.Polyline\0228\n\016start_locati" + + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + + "l_advisory\030\010 \001(\0132..google.maps.routing.v" + + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + + "gle.maps.routing.v2.Location\0226\n\014end_loca" + + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + + "oogle.maps.routing.v2.NavigationInstruct" + + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + + "ps.routing.v2.RouteLegStepTravelAdvisory" + + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + + "otoP\001Z=google.golang.org/genproto/google" + + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.maps.routing.v2.LocationProto.getDescriptor(), + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), + com.google.maps.routing.v2.PolylineProto.getDescriptor(), + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), + com.google.maps.routing.v2.TollInfoProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Route_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Route_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Route_descriptor, + new java.lang.String[] { + "RouteLabels", + "Legs", + "DistanceMeters", + "Duration", + "StaticDuration", + "Polyline", + "Description", + "Warnings", + "Viewport", + "TravelAdvisory", + "RouteToken", + }); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, + new java.lang.String[] { + "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", + }); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, + new java.lang.String[] { + "TollInfo", "SpeedReadingIntervals", + }); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, + new java.lang.String[] { + "SpeedReadingIntervals", + }); + internal_static_google_maps_routing_v2_RouteLeg_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLeg_descriptor, + new java.lang.String[] { + "DistanceMeters", + "Duration", + "StaticDuration", + "Polyline", + "StartLocation", + "EndLocation", + "Steps", + "TravelAdvisory", + }); + internal_static_google_maps_routing_v2_RouteLegStep_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStep_descriptor, + new java.lang.String[] { + "DistanceMeters", + "StaticDuration", + "Polyline", + "StartLocation", + "EndLocation", + "NavigationInstruction", + "TravelAdvisory", + }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); + com.google.maps.routing.v2.PolylineProto.getDescriptor(); + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); + com.google.maps.routing.v2.TollInfoProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java similarity index 78% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java index de25178f40a4..1c2d5e85a3da 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.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/routing/v2/route.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
  */
-public final class RouteTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteTravelAdvisory)
     RouteTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteTravelAdvisory.newBuilder() to construct.
   private RouteTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
+   *
+   *
    * 
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -68,6 +90,8 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -77,6 +101,7 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ @java.lang.Override @@ -84,6 +109,8 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -102,6 +129,8 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 3;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -116,10 +145,13 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -134,11 +166,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -157,6 +191,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,6 +211,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -197,11 +235,14 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   public static final int FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER = 5;
   private long fuelConsumptionMicroliters_;
   /**
+   *
+   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -210,6 +251,7 @@ public long getFuelConsumptionMicroliters() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +263,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 (tollInfo_ != null) { output.writeMessage(2, getTollInfo()); } @@ -242,16 +283,16 @@ public int getSerializedSize() { size = 0; if (tollInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTollInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTollInfo()); } for (int i = 0; i < speedReadingIntervals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, speedReadingIntervals_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, speedReadingIntervals_.get(i)); } if (fuelConsumptionMicroliters_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, fuelConsumptionMicroliters_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(5, fuelConsumptionMicroliters_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,22 +302,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.routing.v2.RouteTravelAdvisory)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteTravelAdvisory other = (com.google.maps.routing.v2.RouteTravelAdvisory) obj; + com.google.maps.routing.v2.RouteTravelAdvisory other = + (com.google.maps.routing.v2.RouteTravelAdvisory) obj; if (hasTollInfo() != other.hasTollInfo()) return false; if (hasTollInfo()) { - if (!getTollInfo() - .equals(other.getTollInfo())) return false; + if (!getTollInfo().equals(other.getTollInfo())) return false; } - if (!getSpeedReadingIntervalsList() - .equals(other.getSpeedReadingIntervalsList())) return false; - if (getFuelConsumptionMicroliters() - != other.getFuelConsumptionMicroliters()) return false; + if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false; + if (getFuelConsumptionMicroliters() != other.getFuelConsumptionMicroliters()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,104 +336,110 @@ public int hashCode() { hash = (53 * hash) + getSpeedReadingIntervalsList().hashCode(); } hash = (37 * hash) + FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFuelConsumptionMicroliters()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFuelConsumptionMicroliters()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteTravelAdvisory parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc.
@@ -402,33 +447,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
    */
-  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.routing.v2.RouteTravelAdvisory)
       com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteTravelAdvisory.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();
@@ -451,9 +495,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -472,7 +516,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteTravelAdvisory result = new com.google.maps.routing.v2.RouteTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -497,38 +542,39 @@ public com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,9 +604,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteTravelAdvisory other) {
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -595,37 +642,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getTollInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 18:
+              {
+                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 40: {
-              fuelConsumptionMicroliters_ = input.readInt64();
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 40:
+              {
+                fuelConsumptionMicroliters_ = input.readInt64();
 
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            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) {
@@ -635,12 +684,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
+        tollInfoBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -650,12 +705,15 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** + * + * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -665,16 +723,21 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; + return tollInfo_ == null + ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() + : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -699,6 +762,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -709,8 +774,7 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
-    public Builder setTollInfo(
-        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -721,6 +785,8 @@ public Builder setTollInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -735,7 +801,9 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -747,6 +815,8 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -769,6 +839,8 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -780,11 +852,13 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-      
+
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -799,11 +873,14 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null ?
-            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
+        return tollInfo_ == null
+            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
+            : tollInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -815,32 +892,43 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(),
-                getParentForChildren(),
-                isClean());
+        tollInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.TollInfo,
+                com.google.maps.routing.v2.TollInfo.Builder,
+                com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(), getParentForChildren(), isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -852,9 +940,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -862,6 +952,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -873,7 +965,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -883,6 +976,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -894,7 +989,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -904,6 +1000,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -915,7 +1013,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -932,6 +1031,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -943,7 +1044,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -957,6 +1059,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -968,7 +1072,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -984,6 +1089,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -995,7 +1102,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1012,6 +1120,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1023,7 +1133,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1037,6 +1148,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1048,7 +1161,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1062,6 +1176,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1073,14 +1189,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1088,6 +1204,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1099,7 +1217,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1112,6 +1231,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1123,7 +1244,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1136,6 +1258,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1147,13 +1271,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1165,16 +1292,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1186,10 +1317,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1197,6 +1329,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1208,13 +1342,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1226,14 +1364,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1245,18 +1386,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1266,13 +1414,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn return speedReadingIntervalsBuilder_; } - private long fuelConsumptionMicroliters_ ; + private long fuelConsumptionMicroliters_; /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -1280,37 +1431,43 @@ public long getFuelConsumptionMicroliters() { return fuelConsumptionMicroliters_; } /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @param value The fuelConsumptionMicroliters to set. * @return This builder for chaining. */ public Builder setFuelConsumptionMicroliters(long value) { - + fuelConsumptionMicroliters_ = value; onChanged(); return this; } /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @return This builder for chaining. */ public Builder clearFuelConsumptionMicroliters() { - + fuelConsumptionMicroliters_ = 0L; 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); } @@ -1320,12 +1477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteTravelAdvisory) private static final com.google.maps.routing.v2.RouteTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteTravelAdvisory(); } @@ -1334,27 +1491,27 @@ public static com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteTravelAdvisory 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 RouteTravelAdvisory 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; @@ -1369,6 +1526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java similarity index 87% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java index 8a40a07e56f8..ccaea0896cfd 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteTravelAdvisoryOrBuilder extends +public interface RouteTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -17,10 +35,13 @@ public interface RouteTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -30,10 +51,13 @@ public interface RouteTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -47,6 +71,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -60,9 +86,10 @@ public interface RouteTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -78,6 +105,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -93,6 +122,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -106,9 +137,11 @@ public interface RouteTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -126,11 +159,14 @@ com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingInterval
       int index);
 
   /**
+   *
+   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ long getFuelConsumptionMicroliters(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java similarity index 71% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java index 9c969d402ba4..eb2f5ca3d254 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.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/routing/v2/route_travel_mode.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values used to specify the mode of travel.
  * NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteTravelMode}
  */
-public enum RouteTravelMode
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -25,6 +43,8 @@ public enum RouteTravelMode */ TRAVEL_MODE_UNSPECIFIED(0), /** + * + * *
    * Travel by passenger car.
    * 
@@ -33,6 +53,8 @@ public enum RouteTravelMode */ DRIVE(1), /** + * + * *
    * Travel by bicycle.
    * 
@@ -41,6 +63,8 @@ public enum RouteTravelMode */ BICYCLE(2), /** + * + * *
    * Travel by walking.
    * 
@@ -49,6 +73,8 @@ public enum RouteTravelMode */ WALK(3), /** + * + * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -61,6 +87,8 @@ public enum RouteTravelMode
   ;
 
   /**
+   *
+   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -69,6 +97,8 @@ public enum RouteTravelMode */ public static final int TRAVEL_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Travel by passenger car.
    * 
@@ -77,6 +107,8 @@ public enum RouteTravelMode */ public static final int DRIVE_VALUE = 1; /** + * + * *
    * Travel by bicycle.
    * 
@@ -85,6 +117,8 @@ public enum RouteTravelMode */ public static final int BICYCLE_VALUE = 2; /** + * + * *
    * Travel by walking.
    * 
@@ -93,6 +127,8 @@ public enum RouteTravelMode */ public static final int WALK_VALUE = 3; /** + * + * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -102,7 +138,6 @@ public enum RouteTravelMode
    */
   public static final int TWO_WHEELER_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,51 +162,53 @@ public static RouteTravelMode valueOf(int value) {
    */
   public static RouteTravelMode forNumber(int value) {
     switch (value) {
-      case 0: return TRAVEL_MODE_UNSPECIFIED;
-      case 1: return DRIVE;
-      case 2: return BICYCLE;
-      case 3: return WALK;
-      case 4: return TWO_WHEELER;
-      default: return null;
+      case 0:
+        return TRAVEL_MODE_UNSPECIFIED;
+      case 1:
+        return DRIVE;
+      case 2:
+        return BICYCLE;
+      case 3:
+        return WALK;
+      case 4:
+        return TWO_WHEELER;
+      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<
-      RouteTravelMode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteTravelMode findValueByNumber(int number) {
-            return RouteTravelMode.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 RouteTravelMode findValueByNumber(int number) {
+          return RouteTravelMode.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.routing.v2.RouteTravelModeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteTravelMode[] VALUES = values();
 
-  public static RouteTravelMode valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteTravelMode 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;
@@ -187,4 +224,3 @@ private RouteTravelMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteTravelMode)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
new file mode 100644
index 000000000000..aef7e626a506
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
@@ -0,0 +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/routing/v2/route_travel_mode.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteTravelModeProto {
+  private RouteTravelModeProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_travel_mo"
+          + "de.proto\022\026google.maps.routing.v2*a\n\017Rout"
+          + "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000"
+          + "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW"
+          + "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing."
+          + "v2B\024RouteTravelModeProtoP\001Z=google.golan"
+          + "g.org/genproto/googleapis/maps/routing/v"
+          + "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi"
+          + "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:"
+          + ":Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
new file mode 100644
index 000000000000..c849957989f0
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
@@ -0,0 +1,263 @@
+/*
+ * 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/routing/v2/routes_service.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutesServiceProto {
+  private RoutesServiceProto() {}
+
+  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_routing_v2_ComputeRoutesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service."
+          + "proto\022\026google.maps.routing.v2\032\034google/ap"
+          + "i/annotations.proto\032\027google/api/client.p"
+          + "roto\032\037google/api/field_behavior.proto\032*g"
+          + "oogle/maps/routing/v2/fallback_info.prot"
+          + "o\032%google/maps/routing/v2/polyline.proto"
+          + "\032\"google/maps/routing/v2/route.proto\032,go"
+          + "ogle/maps/routing/v2/route_modifiers.pro"
+          + "to\032.google/maps/routing/v2/route_travel_"
+          + "mode.proto\032/google/maps/routing/v2/routi"
+          + "ng_preference.proto\032\"google/maps/routing"
+          + "/v2/units.proto\032%google/maps/routing/v2/"
+          + "waypoint.proto\032\036google/protobuf/duration"
+          + ".proto\032\037google/protobuf/timestamp.proto\032"
+          + "\027google/rpc/status.proto\"\214\007\n\024ComputeRout"
+          + "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps."
+          + "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030"
+          + "\002 \001(\0132 .google.maps.routing.v2.WaypointB"
+          + "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map"
+          + "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod"
+          + "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr"
+          + "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001("
+          + "\0162).google.maps.routing.v2.RoutingPrefer"
+          + "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go"
+          + "ogle.maps.routing.v2.PolylineQualityB\003\340A"
+          + "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma"
+          + "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d"
+          + "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti"
+          + "mestampB\003\340A\001\022\'\n\032compute_alternative_rout"
+          + "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&"
+          + ".google.maps.routing.v2.RouteModifiersB\003"
+          + "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units"
+          + "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340"
+          + "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;"
+          + ".google.maps.routing.v2.ComputeRoutesReq"
+          + "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou"
+          + "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F"
+          + "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons"
+          + "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing."
+          + "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google"
+          + ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput"
+          + "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g"
+          + "oogle.maps.routing.v2.RouteMatrixOriginB"
+          + "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps"
+          + ".routing.v2.RouteMatrixDestinationB\003\340A\002\022"
+          + "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi"
+          + "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr"
+          + "eference\030\004 \001(\0162).google.maps.routing.v2."
+          + "RoutingPreferenceB\003\340A\001\0227\n\016departure_time"
+          + "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\""
+          + "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132"
+          + " .google.maps.routing.v2.WaypointB\003\340A\002\022D"
+          + "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro"
+          + "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat"
+          + "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl"
+          + "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout"
+          + "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001"
+          + "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta"
+          + "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi"
+          + "on\030\t \001(\01623.google.maps.routing.v2.RouteM"
+          + "atrixElementCondition\022\027\n\017distance_meters"
+          + "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob"
+          + "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g"
+          + "oogle.protobuf.Duration\022D\n\017travel_adviso"
+          + "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT"
+          + "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g"
+          + "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o"
+          + "rigin_indexB\024\n\022_destination_index*t\n\033Rou"
+          + "teMatrixElementCondition\022.\n*ROUTE_MATRIX"
+          + "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT"
+          + "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout"
+          + "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi"
+          + "ng.v2.ComputeRoutesRequest\032-.google.maps"
+          + ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002"
+          + "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C"
+          + "omputeRouteMatrix\0221.google.maps.routing."
+          + "v2.ComputeRouteMatrixRequest\032*.google.ma"
+          + "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*"
+          + "\"%/distanceMatrix/v2:computeRouteMatrix:"
+          + "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g"
+          + "oogle.maps.routing.v2B\022RoutesServiceProt"
+          + "oP\001Z=google.golang.org/genproto/googleap"
+          + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026"
+          + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou"
+          + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro"
+          + "to3"
+    };
+    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.routing.v2.FallbackInfoProto.getDescriptor(),
+              com.google.maps.routing.v2.PolylineProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(),
+              com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(),
+              com.google.maps.routing.v2.UnitsProto.getDescriptor(),
+              com.google.maps.routing.v2.WaypointProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.rpc.StatusProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor,
+            new java.lang.String[] {
+              "Origin",
+              "Destination",
+              "Intermediates",
+              "TravelMode",
+              "RoutingPreference",
+              "PolylineQuality",
+              "PolylineEncoding",
+              "DepartureTime",
+              "ComputeAlternativeRoutes",
+              "RouteModifiers",
+              "LanguageCode",
+              "Units",
+              "RequestedReferenceRoutes",
+            });
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor,
+            new java.lang.String[] {
+              "Routes", "FallbackInfo",
+            });
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor,
+            new java.lang.String[] {
+              "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor,
+            new java.lang.String[] {
+              "Waypoint", "RouteModifiers",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor,
+            new java.lang.String[] {
+              "Waypoint",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor,
+            new java.lang.String[] {
+              "OriginIndex",
+              "DestinationIndex",
+              "Status",
+              "Condition",
+              "DistanceMeters",
+              "Duration",
+              "StaticDuration",
+              "TravelAdvisory",
+              "FallbackInfo",
+              "OriginIndex",
+              "DestinationIndex",
+            });
+    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.routing.v2.FallbackInfoProto.getDescriptor();
+    com.google.maps.routing.v2.PolylineProto.getDescriptor();
+    com.google.maps.routing.v2.RouteProto.getDescriptor();
+    com.google.maps.routing.v2.RouteModifiersProto.getDescriptor();
+    com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor();
+    com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor();
+    com.google.maps.routing.v2.UnitsProto.getDescriptor();
+    com.google.maps.routing.v2.WaypointProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
index a276207426b7..c571bba8e83e 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.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/routing/v2/routing_preference.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify factors to take into consideration when
  * calculating the route.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RoutingPreference}
  */
-public enum RoutingPreference
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -22,6 +40,8 @@ public enum RoutingPreference */ ROUTING_PREFERENCE_UNSPECIFIED(0), /** + * + * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -38,6 +58,8 @@ public enum RoutingPreference
    */
   TRAFFIC_UNAWARE(1),
   /**
+   *
+   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -48,6 +70,8 @@ public enum RoutingPreference
    */
   TRAFFIC_AWARE(2),
   /**
+   *
+   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -61,6 +85,8 @@ public enum RoutingPreference
   ;
 
   /**
+   *
+   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -69,6 +95,8 @@ public enum RoutingPreference */ public static final int ROUTING_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -85,6 +113,8 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_UNAWARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -95,6 +125,8 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_AWARE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -105,7 +137,6 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_AWARE_OPTIMAL_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -130,40 +161,44 @@ public static RoutingPreference valueOf(int value) {
    */
   public static RoutingPreference forNumber(int value) {
     switch (value) {
-      case 0: return ROUTING_PREFERENCE_UNSPECIFIED;
-      case 1: return TRAFFIC_UNAWARE;
-      case 2: return TRAFFIC_AWARE;
-      case 3: return TRAFFIC_AWARE_OPTIMAL;
-      default: return null;
+      case 0:
+        return ROUTING_PREFERENCE_UNSPECIFIED;
+      case 1:
+        return TRAFFIC_UNAWARE;
+      case 2:
+        return TRAFFIC_AWARE;
+      case 3:
+        return TRAFFIC_AWARE_OPTIMAL;
+      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<
-      RoutingPreference> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RoutingPreference findValueByNumber(int number) {
-            return RoutingPreference.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 RoutingPreference findValueByNumber(int number) {
+              return RoutingPreference.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.routing.v2.RoutingPreferenceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -172,8 +207,7 @@ public RoutingPreference findValueByNumber(int number) {
   public static RoutingPreference 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;
@@ -189,4 +223,3 @@ private RoutingPreference(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RoutingPreference)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
new file mode 100644
index 000000000000..ff6abe39e2ae
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
@@ -0,0 +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/routing/v2/routing_preference.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutingPreferenceProto {
+  private RoutingPreferenceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/routing_prefere"
+          + "nce.proto\022\026google.maps.routing.v2*z\n\021Rou"
+          + "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS"
+          + "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF"
+          + "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001"
+          + "\n\032com.google.maps.routing.v2B\026RoutingPre"
+          + "ferenceProtoP\001Z=google.golang.org/genpro"
+          + "to/googleapis/maps/routing/v2;routing\370\001\001"
+          + "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog"
+          + "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi"
+          + "ng::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
similarity index 72%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
index 63553864849f..b36867eb8892 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.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/routing/v2/speed_reading_interval.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Traffic density indicator on a contiguous segment of a polyline or path.
  * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -13,54 +30,59 @@
  *
  * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
  */
-public final class SpeedReadingInterval extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpeedReadingInterval extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.SpeedReadingInterval)
     SpeedReadingIntervalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpeedReadingInterval.newBuilder() to construct.
   private SpeedReadingInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpeedReadingInterval() {
     speed_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpeedReadingInterval();
   }
 
   @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.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto
+        .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto
+        .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+            com.google.maps.routing.v2.SpeedReadingInterval.class,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The classification of polyline speed based on traffic data.
    * 
* * Protobuf enum {@code google.maps.routing.v2.SpeedReadingInterval.Speed} */ - public enum Speed - implements com.google.protobuf.ProtocolMessageEnum { + public enum Speed implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -69,6 +91,8 @@ public enum Speed */ SPEED_UNSPECIFIED(0), /** + * + * *
      * Normal speed, no slowdown is detected.
      * 
@@ -77,6 +101,8 @@ public enum Speed */ NORMAL(1), /** + * + * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -85,6 +111,8 @@ public enum Speed */ SLOW(2), /** + * + * *
      * Traffic jam detected.
      * 
@@ -96,6 +124,8 @@ public enum Speed ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -104,6 +134,8 @@ public enum Speed */ public static final int SPEED_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Normal speed, no slowdown is detected.
      * 
@@ -112,6 +144,8 @@ public enum Speed */ public static final int NORMAL_VALUE = 1; /** + * + * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -120,6 +154,8 @@ public enum Speed */ public static final int SLOW_VALUE = 2; /** + * + * *
      * Traffic jam detected.
      * 
@@ -128,7 +164,6 @@ public enum Speed */ public static final int TRAFFIC_JAM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,50 +188,51 @@ public static Speed valueOf(int value) { */ public static Speed forNumber(int value) { switch (value) { - case 0: return SPEED_UNSPECIFIED; - case 1: return NORMAL; - case 2: return SLOW; - case 3: return TRAFFIC_JAM; - default: return null; + case 0: + return SPEED_UNSPECIFIED; + case 1: + return NORMAL; + case 2: + return SLOW; + case 3: + return TRAFFIC_JAM; + 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< - Speed> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Speed findValueByNumber(int number) { - return Speed.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 Speed findValueByNumber(int number) { + return Speed.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.routing.v2.SpeedReadingInterval.getDescriptor().getEnumTypes().get(0); } private static final Speed[] VALUES = values(); - public static Speed valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Speed 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; @@ -217,11 +253,14 @@ private Speed(int value) { public static final int START_POLYLINE_POINT_INDEX_FIELD_NUMBER = 1; private int startPolylinePointIndex_; /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -229,11 +268,14 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -244,11 +286,14 @@ public int getStartPolylinePointIndex() { public static final int END_POLYLINE_POINT_INDEX_FIELD_NUMBER = 2; private int endPolylinePointIndex_; /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -256,11 +301,14 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -271,31 +319,43 @@ public int getEndPolylinePointIndex() { public static final int SPEED_FIELD_NUMBER = 3; private int speed_; /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override public int getSpeedValue() { + @java.lang.Override + public int getSpeedValue() { return speed_; } /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ - @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { + @java.lang.Override + public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = + com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null + ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,15 +367,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, endPolylinePointIndex_); } - if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + if (speed_ + != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { output.writeEnum(3, speed_); } getUnknownFields().writeTo(output); @@ -328,16 +388,14 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, startPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, endPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endPolylinePointIndex_); } - if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, speed_); + if (speed_ + != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, speed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,22 +405,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.routing.v2.SpeedReadingInterval)) { return super.equals(obj); } - com.google.maps.routing.v2.SpeedReadingInterval other = (com.google.maps.routing.v2.SpeedReadingInterval) obj; + com.google.maps.routing.v2.SpeedReadingInterval other = + (com.google.maps.routing.v2.SpeedReadingInterval) obj; if (hasStartPolylinePointIndex() != other.hasStartPolylinePointIndex()) return false; if (hasStartPolylinePointIndex()) { - if (getStartPolylinePointIndex() - != other.getStartPolylinePointIndex()) return false; + if (getStartPolylinePointIndex() != other.getStartPolylinePointIndex()) return false; } if (hasEndPolylinePointIndex() != other.hasEndPolylinePointIndex()) return false; if (hasEndPolylinePointIndex()) { - if (getEndPolylinePointIndex() - != other.getEndPolylinePointIndex()) return false; + if (getEndPolylinePointIndex() != other.getEndPolylinePointIndex()) return false; } if (speed_ != other.speed_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -391,97 +448,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.SpeedReadingInterval parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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; } /** + * + * *
    * Traffic density indicator on a contiguous segment of a polyline or path.
    * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -491,33 +555,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
    */
-  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.routing.v2.SpeedReadingInterval)
       com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+              com.google.maps.routing.v2.SpeedReadingInterval.class,
+              com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.SpeedReadingInterval.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();
@@ -531,9 +594,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
@@ -552,7 +615,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.SpeedReadingInterval buildPartial() {
-      com.google.maps.routing.v2.SpeedReadingInterval result = new com.google.maps.routing.v2.SpeedReadingInterval(this);
+      com.google.maps.routing.v2.SpeedReadingInterval result =
+          new com.google.maps.routing.v2.SpeedReadingInterval(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -573,38 +637,39 @@ public com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval) {
-        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval)other);
+        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,7 +677,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.SpeedReadingInterval other) {
-      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance())
+        return this;
       if (other.hasStartPolylinePointIndex()) {
         setStartPolylinePointIndex(other.getStartPolylinePointIndex());
       }
@@ -648,27 +714,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              startPolylinePointIndex_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              endPolylinePointIndex_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              speed_ = input.readEnum();
+            case 8:
+              {
+                startPolylinePointIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                endPolylinePointIndex_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                speed_ = input.readEnum();
 
-              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) {
@@ -678,15 +748,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int startPolylinePointIndex_ ;
+    private int startPolylinePointIndex_;
     /**
+     *
+     *
      * 
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -694,11 +768,14 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -706,11 +783,14 @@ public int getStartPolylinePointIndex() { return startPolylinePointIndex_; } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @param value The startPolylinePointIndex to set. * @return This builder for chaining. */ @@ -721,11 +801,14 @@ public Builder setStartPolylinePointIndex(int value) { return this; } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return This builder for chaining. */ public Builder clearStartPolylinePointIndex() { @@ -735,13 +818,16 @@ public Builder clearStartPolylinePointIndex() { return this; } - private int endPolylinePointIndex_ ; + private int endPolylinePointIndex_; /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -749,11 +835,14 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -761,11 +850,14 @@ public int getEndPolylinePointIndex() { return endPolylinePointIndex_; } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @param value The endPolylinePointIndex to set. * @return This builder for chaining. */ @@ -776,11 +868,14 @@ public Builder setEndPolylinePointIndex(int value) { return this; } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return This builder for chaining. */ public Builder clearEndPolylinePointIndex() { @@ -792,51 +887,67 @@ public Builder clearEndPolylinePointIndex() { private int speed_ = 0; /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override public int getSpeedValue() { + @java.lang.Override + public int getSpeedValue() { return speed_; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @param value The enum numeric value on the wire for speed to set. * @return This builder for chaining. */ public Builder setSpeedValue(int value) { - + speed_ = value; onChanged(); return this; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = + com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null + ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED + : result; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @param value The speed to set. * @return This builder for chaining. */ @@ -844,28 +955,31 @@ public Builder setSpeed(com.google.maps.routing.v2.SpeedReadingInterval.Speed va if (value == null) { throw new NullPointerException(); } - + speed_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return This builder for chaining. */ public Builder clearSpeed() { - + speed_ = 0; 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); } @@ -875,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.SpeedReadingInterval) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.SpeedReadingInterval) private static final com.google.maps.routing.v2.SpeedReadingInterval DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.SpeedReadingInterval(); } @@ -889,27 +1003,27 @@ public static com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeedReadingInterval 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 SpeedReadingInterval 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; @@ -924,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java index b3b1beeebe8e..df4bba08ee49 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java @@ -1,65 +1,99 @@ +/* + * 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/routing/v2/speed_reading_interval.proto package com.google.maps.routing.v2; -public interface SpeedReadingIntervalOrBuilder extends +public interface SpeedReadingIntervalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.SpeedReadingInterval) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ boolean hasStartPolylinePointIndex(); /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ int getStartPolylinePointIndex(); /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ boolean hasEndPolylinePointIndex(); /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ int getEndPolylinePointIndex(); /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ int getSpeedValue(); /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java new file mode 100644 index 000000000000..31094d5dcea0 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java @@ -0,0 +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/routing/v2/speed_reading_interval.proto + +package com.google.maps.routing.v2; + +public final class SpeedReadingIntervalProto { + private SpeedReadingIntervalProto() {} + + 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_routing_v2_SpeedReadingInterval_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/speed_reading_i" + + "nterval.proto\022\026google.maps.routing.v2\"\254\002" + + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + + "google.maps.routing.v2.SpeedReadingInter" + + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + + "polyline_point_indexB\321\001\n\032com.google.maps" + + ".routing.v2B\031SpeedReadingIntervalProtoP\001" + + "Z=google.golang.org/genproto/googleapis/" + + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, + new java.lang.String[] { + "StartPolylinePointIndex", + "EndPolylinePointIndex", + "Speed", + "StartPolylinePointIndex", + "EndPolylinePointIndex", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java index 6d1705f464b4..371aea9216d3 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.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/routing/v2/toll_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates toll information on a `Route` or on a `RouteLeg`.
  * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ -public final class TollInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TollInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.TollInfo) TollInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TollInfo.newBuilder() to construct. private TollInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TollInfo() { estimatedPrice_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TollInfo(); } @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.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, + com.google.maps.routing.v2.TollInfo.Builder.class); } public static final int ESTIMATED_PRICE_FIELD_NUMBER = 1; private java.util.List estimatedPrice_; /** + * + * *
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -67,6 +88,8 @@ public java.util.List getEstimatedPriceList() {
     return estimatedPrice_;
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -79,11 +102,12 @@ public java.util.List getEstimatedPriceList() {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getEstimatedPriceOrBuilderList() {
+  public java.util.List getEstimatedPriceOrBuilderList() {
     return estimatedPrice_;
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -100,6 +124,8 @@ public int getEstimatedPriceCount() {
     return estimatedPrice_.size();
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -116,6 +142,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
     return estimatedPrice_.get(index);
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -128,12 +156,12 @@ public com.google.type.Money getEstimatedPrice(int index) {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-      int index) {
+  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
     return estimatedPrice_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -145,8 +173,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 {
     for (int i = 0; i < estimatedPrice_.size(); i++) {
       output.writeMessage(1, estimatedPrice_.get(i));
     }
@@ -160,8 +187,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < estimatedPrice_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, estimatedPrice_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, estimatedPrice_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,15 +197,14 @@ 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.routing.v2.TollInfo)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.TollInfo other = (com.google.maps.routing.v2.TollInfo) obj;
 
-    if (!getEstimatedPriceList()
-        .equals(other.getEstimatedPriceList())) return false;
+    if (!getEstimatedPriceList().equals(other.getEstimatedPriceList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -200,130 +225,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.TollInfo parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.TollInfo parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates toll information on a `Route` or on a `RouteLeg`.
    * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ - 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.routing.v2.TollInfo) com.google.maps.routing.v2.TollInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, + com.google.maps.routing.v2.TollInfo.Builder.class); } // Construct using com.google.maps.routing.v2.TollInfo.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(); @@ -338,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override @@ -378,38 +408,39 @@ public com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo) { - return mergeFrom((com.google.maps.routing.v2.TollInfo)other); + return mergeFrom((com.google.maps.routing.v2.TollInfo) other); } else { super.mergeFrom(other); return this; @@ -436,9 +467,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.TollInfo other) { estimatedPriceBuilder_ = null; estimatedPrice_ = other.estimatedPrice_; bitField0_ = (bitField0_ & ~0x00000001); - estimatedPriceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEstimatedPriceFieldBuilder() : null; + estimatedPriceBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEstimatedPriceFieldBuilder() + : null; } else { estimatedPriceBuilder_.addAllMessages(other.estimatedPrice_); } @@ -470,25 +502,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.type.Money m = - input.readMessage( - com.google.type.Money.parser(), - extensionRegistry); - if (estimatedPriceBuilder_ == null) { - ensureEstimatedPriceIsMutable(); - estimatedPrice_.add(m); - } else { - estimatedPriceBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.type.Money m = + input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (estimatedPriceBuilder_ == null) { + ensureEstimatedPriceIsMutable(); + estimatedPrice_.add(m); + } else { + estimatedPriceBuilder_.addMessage(m); + } + break; + } // case 10 + 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) { @@ -498,21 +530,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List estimatedPrice_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEstimatedPriceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { estimatedPrice_ = new java.util.ArrayList(estimatedPrice_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> estimatedPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + estimatedPriceBuilder_; /** + * + * *
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -532,6 +569,8 @@ public java.util.List getEstimatedPriceList() {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -551,6 +590,8 @@ public int getEstimatedPriceCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -570,6 +611,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -581,8 +624,7 @@ public com.google.type.Money getEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(
-        int index, com.google.type.Money value) {
+    public Builder setEstimatedPrice(int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -596,6 +638,8 @@ public Builder setEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -607,8 +651,7 @@ public Builder setEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(
-        int index, com.google.type.Money.Builder builderForValue) {
+    public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.set(index, builderForValue.build());
@@ -619,6 +662,8 @@ public Builder setEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -644,6 +689,8 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -655,8 +702,7 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        int index, com.google.type.Money value) {
+    public Builder addEstimatedPrice(int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -670,6 +716,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -681,8 +729,7 @@ public Builder addEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(builderForValue.build());
@@ -693,6 +740,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -704,8 +753,7 @@ public Builder addEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        int index, com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(index, builderForValue.build());
@@ -716,6 +764,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -731,8 +781,7 @@ public Builder addAllEstimatedPrice(
         java.lang.Iterable values) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, estimatedPrice_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, estimatedPrice_);
         onChanged();
       } else {
         estimatedPriceBuilder_.addAllMessages(values);
@@ -740,6 +789,8 @@ public Builder addAllEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -762,6 +813,8 @@ public Builder clearEstimatedPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -784,6 +837,8 @@ public Builder removeEstimatedPrice(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -795,11 +850,12 @@ public Builder removeEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder getEstimatedPriceBuilder(
-        int index) {
+    public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
       return getEstimatedPriceFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -811,14 +867,16 @@ public com.google.type.Money.Builder getEstimatedPriceBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-        int index) {
+    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
       if (estimatedPriceBuilder_ == null) {
-        return estimatedPrice_.get(index);  } else {
+        return estimatedPrice_.get(index);
+      } else {
         return estimatedPriceBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -830,8 +888,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List 
-         getEstimatedPriceOrBuilderList() {
+    public java.util.List
+        getEstimatedPriceOrBuilderList() {
       if (estimatedPriceBuilder_ != null) {
         return estimatedPriceBuilder_.getMessageOrBuilderList();
       } else {
@@ -839,6 +897,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -851,10 +911,11 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
      * repeated .google.type.Money estimated_price = 1;
      */
     public com.google.type.Money.Builder addEstimatedPriceBuilder() {
-      return getEstimatedPriceFieldBuilder().addBuilder(
-          com.google.type.Money.getDefaultInstance());
+      return getEstimatedPriceFieldBuilder().addBuilder(com.google.type.Money.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -866,12 +927,13 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder() {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder addEstimatedPriceBuilder(
-        int index) {
-      return getEstimatedPriceFieldBuilder().addBuilder(
-          index, com.google.type.Money.getDefaultInstance());
+    public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
+      return getEstimatedPriceFieldBuilder()
+          .addBuilder(index, com.google.type.Money.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -883,16 +945,19 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List 
-         getEstimatedPriceBuilderList() {
+    public java.util.List getEstimatedPriceBuilderList() {
       return getEstimatedPriceFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getEstimatedPriceFieldBuilder() {
       if (estimatedPriceBuilder_ == null) {
-        estimatedPriceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+        estimatedPriceBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
                 estimatedPrice_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -901,9 +966,9 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(
       }
       return estimatedPriceBuilder_;
     }
+
     @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);
     }
 
@@ -913,12 +978,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.TollInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.TollInfo)
   private static final com.google.maps.routing.v2.TollInfo DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.TollInfo();
   }
@@ -927,27 +992,27 @@ public static com.google.maps.routing.v2.TollInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TollInfo 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 TollInfo 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;
@@ -962,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.TollInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
index 1bc067afd09f..ba94fc699952 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.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/routing/v2/toll_info.proto
 
 package com.google.maps.routing.v2;
 
-public interface TollInfoOrBuilder extends
+public interface TollInfoOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.TollInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -19,9 +37,10 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List 
-      getEstimatedPriceList();
+  java.util.List getEstimatedPriceList();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -35,6 +54,8 @@ public interface TollInfoOrBuilder extends
    */
   com.google.type.Money getEstimatedPrice(int index);
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -48,6 +69,8 @@ public interface TollInfoOrBuilder extends
    */
   int getEstimatedPriceCount();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -59,9 +82,10 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List 
-      getEstimatedPriceOrBuilderList();
+  java.util.List getEstimatedPriceOrBuilderList();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -73,6 +97,5 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-      int index);
+  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index);
 }
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
new file mode 100644
index 000000000000..2a9ed26f48f0
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.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/routing/v2/toll_info.proto
+
+package com.google.maps.routing.v2;
+
+public final class TollInfoProto {
+  private TollInfoProto() {}
+
+  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_routing_v2_TollInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto"
+          + "\022\026google.maps.routing.v2\032\027google/type/mo"
+          + "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price"
+          + "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl"
+          + "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog"
+          + "le.golang.org/genproto/googleapis/maps/r"
+          + "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma"
+          + "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002"
+          + "\031Google::Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.type.MoneyProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_TollInfo_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_TollInfo_descriptor,
+            new java.lang.String[] {
+              "EstimatedPrice",
+            });
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
similarity index 80%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
index cd7eba1e3532..3bdb1b220654 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/toll_passes.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * List of toll passes around the world that we support.
  * 
* * Protobuf enum {@code google.maps.routing.v2.TollPass} */ -public enum TollPass - implements com.google.protobuf.ProtocolMessageEnum { +public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -21,6 +39,8 @@ public enum TollPass */ TOLL_PASS_UNSPECIFIED(0), /** + * + * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -29,6 +49,8 @@ public enum TollPass */ AU_ETOLL_TAG(82), /** + * + * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -37,6 +59,8 @@ public enum TollPass */ AU_EWAY_TAG(83), /** + * + * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -46,6 +70,8 @@ public enum TollPass
    */
   AU_LINKT(2),
   /**
+   *
+   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -54,6 +80,8 @@ public enum TollPass */ AR_TELEPASE(3), /** + * + * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -62,6 +90,8 @@ public enum TollPass */ BR_AUTO_EXPRESO(81), /** + * + * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -70,6 +100,8 @@ public enum TollPass */ BR_CONECTCAR(7), /** + * + * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -78,6 +110,8 @@ public enum TollPass */ BR_MOVE_MAIS(8), /** + * + * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -86,6 +120,8 @@ public enum TollPass */ BR_PASSA_RAPIDO(88), /** + * + * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -94,6 +130,8 @@ public enum TollPass */ BR_SEM_PARAR(9), /** + * + * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -102,6 +140,8 @@ public enum TollPass */ BR_TAGGY(10), /** + * + * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -111,6 +151,8 @@ public enum TollPass
    */
   BR_VELOE(11),
   /**
+   *
+   *
    * 
    * Canada to United States border crossing.
    * 
@@ -119,6 +161,8 @@ public enum TollPass */ CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD(84), /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -127,6 +171,8 @@ public enum TollPass */ CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD(85), /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -135,6 +181,8 @@ public enum TollPass */ CA_US_BLUE_WATER_EDGE_PASS(18), /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -143,6 +191,8 @@ public enum TollPass */ CA_US_CONNEXION(19), /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -151,6 +201,8 @@ public enum TollPass */ CA_US_NEXUS_CARD(20), /** + * + * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -164,6 +216,8 @@ public enum TollPass
    */
   ID_E_TOLL(16),
   /**
+   *
+   *
    * 
    * India.
    * 
@@ -172,6 +226,8 @@ public enum TollPass */ IN_FASTAG(78), /** + * + * *
    * India, HP state plate exemption.
    * 
@@ -180,6 +236,8 @@ public enum TollPass */ IN_LOCAL_HP_PLATE_EXEMPT(79), /** + * + * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -189,6 +247,8 @@ public enum TollPass
    */
   MX_IAVE(90),
   /**
+   *
+   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -198,6 +258,8 @@ public enum TollPass
    */
   MX_PASE(91),
   /**
+   *
+   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -207,6 +269,8 @@ public enum TollPass
    */
   MX_QUICKPASS(93),
   /**
+   *
+   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -215,6 +279,8 @@ public enum TollPass */ MX_SISTEMA_TELEPEAJE_CHIHUAHUA(89), /** + * + * *
    * Mexico
    * 
@@ -223,6 +289,8 @@ public enum TollPass */ MX_TAG_IAVE(12), /** + * + * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -232,6 +300,8 @@ public enum TollPass
    */
   MX_TAG_TELEVIA(13),
   /**
+   *
+   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -241,6 +311,8 @@ public enum TollPass
    */
   MX_TELEVIA(92),
   /**
+   *
+   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -250,6 +322,8 @@ public enum TollPass
    */
   MX_VIAPASS(14),
   /**
+   *
+   *
    * 
    * AL, USA.
    * 
@@ -258,6 +332,8 @@ public enum TollPass */ US_AL_FREEDOM_PASS(21), /** + * + * *
    * AK, USA.
    * 
@@ -266,6 +342,8 @@ public enum TollPass */ US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS(22), /** + * + * *
    * CA, USA.
    * 
@@ -274,6 +352,8 @@ public enum TollPass */ US_CA_FASTRAK(4), /** + * + * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -284,6 +364,8 @@ public enum TollPass
    */
   US_CA_FASTRAK_CAV_STICKER(86),
   /**
+   *
+   *
    * 
    * CO, USA.
    * 
@@ -292,6 +374,8 @@ public enum TollPass */ US_CO_EXPRESSTOLL(23), /** + * + * *
    * CO, USA.
    * 
@@ -300,6 +384,8 @@ public enum TollPass */ US_CO_GO_PASS(24), /** + * + * *
    * DE, USA.
    * 
@@ -308,6 +394,8 @@ public enum TollPass */ US_DE_EZPASSDE(25), /** + * + * *
    * FL, USA.
    * 
@@ -316,6 +404,8 @@ public enum TollPass */ US_FL_BOB_SIKES_TOLL_BRIDGE_PASS(65), /** + * + * *
    * FL, USA.
    * 
@@ -324,6 +414,8 @@ public enum TollPass */ US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD(66), /** + * + * *
    * FL, USA.
    * 
@@ -332,6 +424,8 @@ public enum TollPass */ US_FL_EPASS(67), /** + * + * *
    * FL, USA.
    * 
@@ -340,6 +434,8 @@ public enum TollPass */ US_FL_GIBA_TOLL_PASS(68), /** + * + * *
    * FL, USA.
    * 
@@ -348,6 +444,8 @@ public enum TollPass */ US_FL_LEEWAY(69), /** + * + * *
    * FL, USA.
    * 
@@ -356,6 +454,8 @@ public enum TollPass */ US_FL_SUNPASS(70), /** + * + * *
    * FL, USA.
    * 
@@ -364,6 +464,8 @@ public enum TollPass */ US_FL_SUNPASS_PRO(71), /** + * + * *
    * IL, USA.
    * 
@@ -372,6 +474,8 @@ public enum TollPass */ US_IL_EZPASSIL(73), /** + * + * *
    * IL, USA.
    * 
@@ -380,6 +484,8 @@ public enum TollPass */ US_IL_IPASS(72), /** + * + * *
    * IN, USA.
    * 
@@ -388,6 +494,8 @@ public enum TollPass */ US_IN_EZPASSIN(26), /** + * + * *
    * KS, USA.
    * 
@@ -396,6 +504,8 @@ public enum TollPass */ US_KS_BESTPASS_HORIZON(27), /** + * + * *
    * KS, USA.
    * 
@@ -404,6 +514,8 @@ public enum TollPass */ US_KS_KTAG(28), /** + * + * *
    * KS, USA.
    * 
@@ -412,6 +524,8 @@ public enum TollPass */ US_KS_NATIONALPASS(29), /** + * + * *
    * KS, USA.
    * 
@@ -420,6 +534,8 @@ public enum TollPass */ US_KS_PREPASS_ELITEPASS(30), /** + * + * *
    * KY, USA.
    * 
@@ -428,6 +544,8 @@ public enum TollPass */ US_KY_RIVERLINK(31), /** + * + * *
    * LA, USA.
    * 
@@ -436,6 +554,8 @@ public enum TollPass */ US_LA_GEAUXPASS(32), /** + * + * *
    * LA, USA.
    * 
@@ -444,6 +564,8 @@ public enum TollPass */ US_LA_TOLL_TAG(33), /** + * + * *
    * MA, USA.
    * 
@@ -452,6 +574,8 @@ public enum TollPass */ US_MA_EZPASSMA(6), /** + * + * *
    * MD, USA.
    * 
@@ -460,6 +584,8 @@ public enum TollPass */ US_MD_EZPASSMD(34), /** + * + * *
    * ME, USA.
    * 
@@ -468,6 +594,8 @@ public enum TollPass */ US_ME_EZPASSME(35), /** + * + * *
    * MI, USA.
    * 
@@ -476,6 +604,8 @@ public enum TollPass */ US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD(36), /** + * + * *
    * MI, USA.
    * 
@@ -484,6 +614,8 @@ public enum TollPass */ US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG(37), /** + * + * *
    * MI, USA.
    * 
@@ -492,6 +624,8 @@ public enum TollPass */ US_MI_IQ_PROX_CARD(38), /** + * + * *
    * MI, USA.
    * 
@@ -500,6 +634,8 @@ public enum TollPass */ US_MI_MACKINAC_BRIDGE_MAC_PASS(39), /** + * + * *
    * MI, USA.
    * 
@@ -508,6 +644,8 @@ public enum TollPass */ US_MI_NEXPRESS_TOLL(40), /** + * + * *
    * MN, USA.
    * 
@@ -516,6 +654,8 @@ public enum TollPass */ US_MN_EZPASSMN(41), /** + * + * *
    * NC, USA.
    * 
@@ -524,6 +664,8 @@ public enum TollPass */ US_NC_EZPASSNC(42), /** + * + * *
    * NC, USA.
    * 
@@ -532,6 +674,8 @@ public enum TollPass */ US_NC_PEACH_PASS(87), /** + * + * *
    * NC, USA.
    * 
@@ -540,6 +684,8 @@ public enum TollPass */ US_NC_QUICK_PASS(43), /** + * + * *
    * NH, USA.
    * 
@@ -548,6 +694,8 @@ public enum TollPass */ US_NH_EZPASSNH(80), /** + * + * *
    * NJ, USA.
    * 
@@ -556,6 +704,8 @@ public enum TollPass */ US_NJ_DOWNBEACH_EXPRESS_PASS(75), /** + * + * *
    * NJ, USA.
    * 
@@ -564,6 +714,8 @@ public enum TollPass */ US_NJ_EZPASSNJ(74), /** + * + * *
    * NY, USA.
    * 
@@ -572,6 +724,8 @@ public enum TollPass */ US_NY_EXPRESSPASS(76), /** + * + * *
    * NY, USA.
    * 
@@ -580,6 +734,8 @@ public enum TollPass */ US_NY_EZPASSNY(77), /** + * + * *
    * OH, USA.
    * 
@@ -588,6 +744,8 @@ public enum TollPass */ US_OH_EZPASSOH(44), /** + * + * *
    * PA, USA.
    * 
@@ -596,6 +754,8 @@ public enum TollPass */ US_PA_EZPASSPA(45), /** + * + * *
    * RI, USA.
    * 
@@ -604,6 +764,8 @@ public enum TollPass */ US_RI_EZPASSRI(46), /** + * + * *
    * SC, USA.
    * 
@@ -612,6 +774,8 @@ public enum TollPass */ US_SC_PALPASS(47), /** + * + * *
    * TX, USA.
    * 
@@ -620,6 +784,8 @@ public enum TollPass */ US_TX_BANCPASS(48), /** + * + * *
    * TX, USA.
    * 
@@ -628,6 +794,8 @@ public enum TollPass */ US_TX_DEL_RIO_PASS(49), /** + * + * *
    * TX, USA.
    * 
@@ -636,6 +804,8 @@ public enum TollPass */ US_TX_EFAST_PASS(50), /** + * + * *
    * TX, USA.
    * 
@@ -644,6 +814,8 @@ public enum TollPass */ US_TX_EAGLE_PASS_EXPRESS_CARD(51), /** + * + * *
    * TX, USA.
    * 
@@ -652,6 +824,8 @@ public enum TollPass */ US_TX_EPTOLL(52), /** + * + * *
    * TX, USA.
    * 
@@ -660,6 +834,8 @@ public enum TollPass */ US_TX_EZ_CROSS(53), /** + * + * *
    * TX, USA.
    * 
@@ -668,6 +844,8 @@ public enum TollPass */ US_TX_EZTAG(54), /** + * + * *
    * TX, USA.
    * 
@@ -676,6 +854,8 @@ public enum TollPass */ US_TX_LAREDO_TRADE_TAG(55), /** + * + * *
    * TX, USA.
    * 
@@ -684,6 +864,8 @@ public enum TollPass */ US_TX_PLUSPASS(56), /** + * + * *
    * TX, USA.
    * 
@@ -692,6 +874,8 @@ public enum TollPass */ US_TX_TOLLTAG(57), /** + * + * *
    * TX, USA.
    * 
@@ -700,6 +884,8 @@ public enum TollPass */ US_TX_TXTAG(58), /** + * + * *
    * TX, USA.
    * 
@@ -708,6 +894,8 @@ public enum TollPass */ US_TX_XPRESS_CARD(59), /** + * + * *
    * UT, USA.
    * 
@@ -716,6 +904,8 @@ public enum TollPass */ US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD(60), /** + * + * *
    * VA, USA.
    * 
@@ -724,6 +914,8 @@ public enum TollPass */ US_VA_EZPASSVA(61), /** + * + * *
    * WA, USA.
    * 
@@ -732,6 +924,8 @@ public enum TollPass */ US_WA_BREEZEBY(17), /** + * + * *
    * WA, USA.
    * 
@@ -740,6 +934,8 @@ public enum TollPass */ US_WA_GOOD_TO_GO(1), /** + * + * *
    * WV, USA.
    * 
@@ -748,6 +944,8 @@ public enum TollPass */ US_WV_EZPASSWV(62), /** + * + * *
    * WV, USA.
    * 
@@ -756,6 +954,8 @@ public enum TollPass */ US_WV_MEMORIAL_BRIDGE_TICKETS(63), /** + * + * *
    * WV, USA.
    * 
@@ -767,6 +967,8 @@ public enum TollPass ; /** + * + * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -775,6 +977,8 @@ public enum TollPass */ public static final int TOLL_PASS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -783,6 +987,8 @@ public enum TollPass */ public static final int AU_ETOLL_TAG_VALUE = 82; /** + * + * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -791,6 +997,8 @@ public enum TollPass */ public static final int AU_EWAY_TAG_VALUE = 83; /** + * + * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -800,6 +1008,8 @@ public enum TollPass
    */
   public static final int AU_LINKT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -808,6 +1018,8 @@ public enum TollPass */ public static final int AR_TELEPASE_VALUE = 3; /** + * + * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -816,6 +1028,8 @@ public enum TollPass */ public static final int BR_AUTO_EXPRESO_VALUE = 81; /** + * + * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -824,6 +1038,8 @@ public enum TollPass */ public static final int BR_CONECTCAR_VALUE = 7; /** + * + * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -832,6 +1048,8 @@ public enum TollPass */ public static final int BR_MOVE_MAIS_VALUE = 8; /** + * + * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -840,6 +1058,8 @@ public enum TollPass */ public static final int BR_PASSA_RAPIDO_VALUE = 88; /** + * + * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -848,6 +1068,8 @@ public enum TollPass */ public static final int BR_SEM_PARAR_VALUE = 9; /** + * + * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -856,6 +1078,8 @@ public enum TollPass */ public static final int BR_TAGGY_VALUE = 10; /** + * + * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -865,6 +1089,8 @@ public enum TollPass
    */
   public static final int BR_VELOE_VALUE = 11;
   /**
+   *
+   *
    * 
    * Canada to United States border crossing.
    * 
@@ -873,6 +1099,8 @@ public enum TollPass */ public static final int CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD_VALUE = 84; /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -881,6 +1109,8 @@ public enum TollPass */ public static final int CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD_VALUE = 85; /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -889,6 +1119,8 @@ public enum TollPass */ public static final int CA_US_BLUE_WATER_EDGE_PASS_VALUE = 18; /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -897,6 +1129,8 @@ public enum TollPass */ public static final int CA_US_CONNEXION_VALUE = 19; /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -905,6 +1139,8 @@ public enum TollPass */ public static final int CA_US_NEXUS_CARD_VALUE = 20; /** + * + * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -918,6 +1154,8 @@ public enum TollPass
    */
   public static final int ID_E_TOLL_VALUE = 16;
   /**
+   *
+   *
    * 
    * India.
    * 
@@ -926,6 +1164,8 @@ public enum TollPass */ public static final int IN_FASTAG_VALUE = 78; /** + * + * *
    * India, HP state plate exemption.
    * 
@@ -934,6 +1174,8 @@ public enum TollPass */ public static final int IN_LOCAL_HP_PLATE_EXEMPT_VALUE = 79; /** + * + * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -943,6 +1185,8 @@ public enum TollPass
    */
   public static final int MX_IAVE_VALUE = 90;
   /**
+   *
+   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -952,6 +1196,8 @@ public enum TollPass
    */
   public static final int MX_PASE_VALUE = 91;
   /**
+   *
+   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -961,6 +1207,8 @@ public enum TollPass
    */
   public static final int MX_QUICKPASS_VALUE = 93;
   /**
+   *
+   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -969,6 +1217,8 @@ public enum TollPass */ public static final int MX_SISTEMA_TELEPEAJE_CHIHUAHUA_VALUE = 89; /** + * + * *
    * Mexico
    * 
@@ -977,6 +1227,8 @@ public enum TollPass */ public static final int MX_TAG_IAVE_VALUE = 12; /** + * + * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -986,6 +1238,8 @@ public enum TollPass
    */
   public static final int MX_TAG_TELEVIA_VALUE = 13;
   /**
+   *
+   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -995,6 +1249,8 @@ public enum TollPass
    */
   public static final int MX_TELEVIA_VALUE = 92;
   /**
+   *
+   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -1004,6 +1260,8 @@ public enum TollPass
    */
   public static final int MX_VIAPASS_VALUE = 14;
   /**
+   *
+   *
    * 
    * AL, USA.
    * 
@@ -1012,6 +1270,8 @@ public enum TollPass */ public static final int US_AL_FREEDOM_PASS_VALUE = 21; /** + * + * *
    * AK, USA.
    * 
@@ -1020,6 +1280,8 @@ public enum TollPass */ public static final int US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS_VALUE = 22; /** + * + * *
    * CA, USA.
    * 
@@ -1028,6 +1290,8 @@ public enum TollPass */ public static final int US_CA_FASTRAK_VALUE = 4; /** + * + * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -1038,6 +1302,8 @@ public enum TollPass
    */
   public static final int US_CA_FASTRAK_CAV_STICKER_VALUE = 86;
   /**
+   *
+   *
    * 
    * CO, USA.
    * 
@@ -1046,6 +1312,8 @@ public enum TollPass */ public static final int US_CO_EXPRESSTOLL_VALUE = 23; /** + * + * *
    * CO, USA.
    * 
@@ -1054,6 +1322,8 @@ public enum TollPass */ public static final int US_CO_GO_PASS_VALUE = 24; /** + * + * *
    * DE, USA.
    * 
@@ -1062,6 +1332,8 @@ public enum TollPass */ public static final int US_DE_EZPASSDE_VALUE = 25; /** + * + * *
    * FL, USA.
    * 
@@ -1070,6 +1342,8 @@ public enum TollPass */ public static final int US_FL_BOB_SIKES_TOLL_BRIDGE_PASS_VALUE = 65; /** + * + * *
    * FL, USA.
    * 
@@ -1078,6 +1352,8 @@ public enum TollPass */ public static final int US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD_VALUE = 66; /** + * + * *
    * FL, USA.
    * 
@@ -1086,6 +1362,8 @@ public enum TollPass */ public static final int US_FL_EPASS_VALUE = 67; /** + * + * *
    * FL, USA.
    * 
@@ -1094,6 +1372,8 @@ public enum TollPass */ public static final int US_FL_GIBA_TOLL_PASS_VALUE = 68; /** + * + * *
    * FL, USA.
    * 
@@ -1102,6 +1382,8 @@ public enum TollPass */ public static final int US_FL_LEEWAY_VALUE = 69; /** + * + * *
    * FL, USA.
    * 
@@ -1110,6 +1392,8 @@ public enum TollPass */ public static final int US_FL_SUNPASS_VALUE = 70; /** + * + * *
    * FL, USA.
    * 
@@ -1118,6 +1402,8 @@ public enum TollPass */ public static final int US_FL_SUNPASS_PRO_VALUE = 71; /** + * + * *
    * IL, USA.
    * 
@@ -1126,6 +1412,8 @@ public enum TollPass */ public static final int US_IL_EZPASSIL_VALUE = 73; /** + * + * *
    * IL, USA.
    * 
@@ -1134,6 +1422,8 @@ public enum TollPass */ public static final int US_IL_IPASS_VALUE = 72; /** + * + * *
    * IN, USA.
    * 
@@ -1142,6 +1432,8 @@ public enum TollPass */ public static final int US_IN_EZPASSIN_VALUE = 26; /** + * + * *
    * KS, USA.
    * 
@@ -1150,6 +1442,8 @@ public enum TollPass */ public static final int US_KS_BESTPASS_HORIZON_VALUE = 27; /** + * + * *
    * KS, USA.
    * 
@@ -1158,6 +1452,8 @@ public enum TollPass */ public static final int US_KS_KTAG_VALUE = 28; /** + * + * *
    * KS, USA.
    * 
@@ -1166,6 +1462,8 @@ public enum TollPass */ public static final int US_KS_NATIONALPASS_VALUE = 29; /** + * + * *
    * KS, USA.
    * 
@@ -1174,6 +1472,8 @@ public enum TollPass */ public static final int US_KS_PREPASS_ELITEPASS_VALUE = 30; /** + * + * *
    * KY, USA.
    * 
@@ -1182,6 +1482,8 @@ public enum TollPass */ public static final int US_KY_RIVERLINK_VALUE = 31; /** + * + * *
    * LA, USA.
    * 
@@ -1190,6 +1492,8 @@ public enum TollPass */ public static final int US_LA_GEAUXPASS_VALUE = 32; /** + * + * *
    * LA, USA.
    * 
@@ -1198,6 +1502,8 @@ public enum TollPass */ public static final int US_LA_TOLL_TAG_VALUE = 33; /** + * + * *
    * MA, USA.
    * 
@@ -1206,6 +1512,8 @@ public enum TollPass */ public static final int US_MA_EZPASSMA_VALUE = 6; /** + * + * *
    * MD, USA.
    * 
@@ -1214,6 +1522,8 @@ public enum TollPass */ public static final int US_MD_EZPASSMD_VALUE = 34; /** + * + * *
    * ME, USA.
    * 
@@ -1222,6 +1532,8 @@ public enum TollPass */ public static final int US_ME_EZPASSME_VALUE = 35; /** + * + * *
    * MI, USA.
    * 
@@ -1230,6 +1542,8 @@ public enum TollPass */ public static final int US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD_VALUE = 36; /** + * + * *
    * MI, USA.
    * 
@@ -1238,6 +1552,8 @@ public enum TollPass */ public static final int US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG_VALUE = 37; /** + * + * *
    * MI, USA.
    * 
@@ -1246,6 +1562,8 @@ public enum TollPass */ public static final int US_MI_IQ_PROX_CARD_VALUE = 38; /** + * + * *
    * MI, USA.
    * 
@@ -1254,6 +1572,8 @@ public enum TollPass */ public static final int US_MI_MACKINAC_BRIDGE_MAC_PASS_VALUE = 39; /** + * + * *
    * MI, USA.
    * 
@@ -1262,6 +1582,8 @@ public enum TollPass */ public static final int US_MI_NEXPRESS_TOLL_VALUE = 40; /** + * + * *
    * MN, USA.
    * 
@@ -1270,6 +1592,8 @@ public enum TollPass */ public static final int US_MN_EZPASSMN_VALUE = 41; /** + * + * *
    * NC, USA.
    * 
@@ -1278,6 +1602,8 @@ public enum TollPass */ public static final int US_NC_EZPASSNC_VALUE = 42; /** + * + * *
    * NC, USA.
    * 
@@ -1286,6 +1612,8 @@ public enum TollPass */ public static final int US_NC_PEACH_PASS_VALUE = 87; /** + * + * *
    * NC, USA.
    * 
@@ -1294,6 +1622,8 @@ public enum TollPass */ public static final int US_NC_QUICK_PASS_VALUE = 43; /** + * + * *
    * NH, USA.
    * 
@@ -1302,6 +1632,8 @@ public enum TollPass */ public static final int US_NH_EZPASSNH_VALUE = 80; /** + * + * *
    * NJ, USA.
    * 
@@ -1310,6 +1642,8 @@ public enum TollPass */ public static final int US_NJ_DOWNBEACH_EXPRESS_PASS_VALUE = 75; /** + * + * *
    * NJ, USA.
    * 
@@ -1318,6 +1652,8 @@ public enum TollPass */ public static final int US_NJ_EZPASSNJ_VALUE = 74; /** + * + * *
    * NY, USA.
    * 
@@ -1326,6 +1662,8 @@ public enum TollPass */ public static final int US_NY_EXPRESSPASS_VALUE = 76; /** + * + * *
    * NY, USA.
    * 
@@ -1334,6 +1672,8 @@ public enum TollPass */ public static final int US_NY_EZPASSNY_VALUE = 77; /** + * + * *
    * OH, USA.
    * 
@@ -1342,6 +1682,8 @@ public enum TollPass */ public static final int US_OH_EZPASSOH_VALUE = 44; /** + * + * *
    * PA, USA.
    * 
@@ -1350,6 +1692,8 @@ public enum TollPass */ public static final int US_PA_EZPASSPA_VALUE = 45; /** + * + * *
    * RI, USA.
    * 
@@ -1358,6 +1702,8 @@ public enum TollPass */ public static final int US_RI_EZPASSRI_VALUE = 46; /** + * + * *
    * SC, USA.
    * 
@@ -1366,6 +1712,8 @@ public enum TollPass */ public static final int US_SC_PALPASS_VALUE = 47; /** + * + * *
    * TX, USA.
    * 
@@ -1374,6 +1722,8 @@ public enum TollPass */ public static final int US_TX_BANCPASS_VALUE = 48; /** + * + * *
    * TX, USA.
    * 
@@ -1382,6 +1732,8 @@ public enum TollPass */ public static final int US_TX_DEL_RIO_PASS_VALUE = 49; /** + * + * *
    * TX, USA.
    * 
@@ -1390,6 +1742,8 @@ public enum TollPass */ public static final int US_TX_EFAST_PASS_VALUE = 50; /** + * + * *
    * TX, USA.
    * 
@@ -1398,6 +1752,8 @@ public enum TollPass */ public static final int US_TX_EAGLE_PASS_EXPRESS_CARD_VALUE = 51; /** + * + * *
    * TX, USA.
    * 
@@ -1406,6 +1762,8 @@ public enum TollPass */ public static final int US_TX_EPTOLL_VALUE = 52; /** + * + * *
    * TX, USA.
    * 
@@ -1414,6 +1772,8 @@ public enum TollPass */ public static final int US_TX_EZ_CROSS_VALUE = 53; /** + * + * *
    * TX, USA.
    * 
@@ -1422,6 +1782,8 @@ public enum TollPass */ public static final int US_TX_EZTAG_VALUE = 54; /** + * + * *
    * TX, USA.
    * 
@@ -1430,6 +1792,8 @@ public enum TollPass */ public static final int US_TX_LAREDO_TRADE_TAG_VALUE = 55; /** + * + * *
    * TX, USA.
    * 
@@ -1438,6 +1802,8 @@ public enum TollPass */ public static final int US_TX_PLUSPASS_VALUE = 56; /** + * + * *
    * TX, USA.
    * 
@@ -1446,6 +1812,8 @@ public enum TollPass */ public static final int US_TX_TOLLTAG_VALUE = 57; /** + * + * *
    * TX, USA.
    * 
@@ -1454,6 +1822,8 @@ public enum TollPass */ public static final int US_TX_TXTAG_VALUE = 58; /** + * + * *
    * TX, USA.
    * 
@@ -1462,6 +1832,8 @@ public enum TollPass */ public static final int US_TX_XPRESS_CARD_VALUE = 59; /** + * + * *
    * UT, USA.
    * 
@@ -1470,6 +1842,8 @@ public enum TollPass */ public static final int US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD_VALUE = 60; /** + * + * *
    * VA, USA.
    * 
@@ -1478,6 +1852,8 @@ public enum TollPass */ public static final int US_VA_EZPASSVA_VALUE = 61; /** + * + * *
    * WA, USA.
    * 
@@ -1486,6 +1862,8 @@ public enum TollPass */ public static final int US_WA_BREEZEBY_VALUE = 17; /** + * + * *
    * WA, USA.
    * 
@@ -1494,6 +1872,8 @@ public enum TollPass */ public static final int US_WA_GOOD_TO_GO_VALUE = 1; /** + * + * *
    * WV, USA.
    * 
@@ -1502,6 +1882,8 @@ public enum TollPass */ public static final int US_WV_EZPASSWV_VALUE = 62; /** + * + * *
    * WV, USA.
    * 
@@ -1510,6 +1892,8 @@ public enum TollPass */ public static final int US_WV_MEMORIAL_BRIDGE_TICKETS_VALUE = 63; /** + * + * *
    * WV, USA.
    * 
@@ -1518,7 +1902,6 @@ public enum TollPass */ public static final int US_WV_NEWELL_TOLL_BRIDGE_TICKET_VALUE = 64; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1543,138 +1926,227 @@ public static TollPass valueOf(int value) { */ public static TollPass forNumber(int value) { switch (value) { - case 0: return TOLL_PASS_UNSPECIFIED; - case 82: return AU_ETOLL_TAG; - case 83: return AU_EWAY_TAG; - case 2: return AU_LINKT; - case 3: return AR_TELEPASE; - case 81: return BR_AUTO_EXPRESO; - case 7: return BR_CONECTCAR; - case 8: return BR_MOVE_MAIS; - case 88: return BR_PASSA_RAPIDO; - case 9: return BR_SEM_PARAR; - case 10: return BR_TAGGY; - case 11: return BR_VELOE; - case 84: return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; - case 85: return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; - case 18: return CA_US_BLUE_WATER_EDGE_PASS; - case 19: return CA_US_CONNEXION; - case 20: return CA_US_NEXUS_CARD; - case 16: return ID_E_TOLL; - case 78: return IN_FASTAG; - case 79: return IN_LOCAL_HP_PLATE_EXEMPT; - case 90: return MX_IAVE; - case 91: return MX_PASE; - case 93: return MX_QUICKPASS; - case 89: return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; - case 12: return MX_TAG_IAVE; - case 13: return MX_TAG_TELEVIA; - case 92: return MX_TELEVIA; - case 14: return MX_VIAPASS; - case 21: return US_AL_FREEDOM_PASS; - case 22: return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; - case 4: return US_CA_FASTRAK; - case 86: return US_CA_FASTRAK_CAV_STICKER; - case 23: return US_CO_EXPRESSTOLL; - case 24: return US_CO_GO_PASS; - case 25: return US_DE_EZPASSDE; - case 65: return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; - case 66: return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; - case 67: return US_FL_EPASS; - case 68: return US_FL_GIBA_TOLL_PASS; - case 69: return US_FL_LEEWAY; - case 70: return US_FL_SUNPASS; - case 71: return US_FL_SUNPASS_PRO; - case 73: return US_IL_EZPASSIL; - case 72: return US_IL_IPASS; - case 26: return US_IN_EZPASSIN; - case 27: return US_KS_BESTPASS_HORIZON; - case 28: return US_KS_KTAG; - case 29: return US_KS_NATIONALPASS; - case 30: return US_KS_PREPASS_ELITEPASS; - case 31: return US_KY_RIVERLINK; - case 32: return US_LA_GEAUXPASS; - case 33: return US_LA_TOLL_TAG; - case 6: return US_MA_EZPASSMA; - case 34: return US_MD_EZPASSMD; - case 35: return US_ME_EZPASSME; - case 36: return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; - case 37: return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; - case 38: return US_MI_IQ_PROX_CARD; - case 39: return US_MI_MACKINAC_BRIDGE_MAC_PASS; - case 40: return US_MI_NEXPRESS_TOLL; - case 41: return US_MN_EZPASSMN; - case 42: return US_NC_EZPASSNC; - case 87: return US_NC_PEACH_PASS; - case 43: return US_NC_QUICK_PASS; - case 80: return US_NH_EZPASSNH; - case 75: return US_NJ_DOWNBEACH_EXPRESS_PASS; - case 74: return US_NJ_EZPASSNJ; - case 76: return US_NY_EXPRESSPASS; - case 77: return US_NY_EZPASSNY; - case 44: return US_OH_EZPASSOH; - case 45: return US_PA_EZPASSPA; - case 46: return US_RI_EZPASSRI; - case 47: return US_SC_PALPASS; - case 48: return US_TX_BANCPASS; - case 49: return US_TX_DEL_RIO_PASS; - case 50: return US_TX_EFAST_PASS; - case 51: return US_TX_EAGLE_PASS_EXPRESS_CARD; - case 52: return US_TX_EPTOLL; - case 53: return US_TX_EZ_CROSS; - case 54: return US_TX_EZTAG; - case 55: return US_TX_LAREDO_TRADE_TAG; - case 56: return US_TX_PLUSPASS; - case 57: return US_TX_TOLLTAG; - case 58: return US_TX_TXTAG; - case 59: return US_TX_XPRESS_CARD; - case 60: return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; - case 61: return US_VA_EZPASSVA; - case 17: return US_WA_BREEZEBY; - case 1: return US_WA_GOOD_TO_GO; - case 62: return US_WV_EZPASSWV; - case 63: return US_WV_MEMORIAL_BRIDGE_TICKETS; - case 64: return US_WV_NEWELL_TOLL_BRIDGE_TICKET; - default: return null; + case 0: + return TOLL_PASS_UNSPECIFIED; + case 82: + return AU_ETOLL_TAG; + case 83: + return AU_EWAY_TAG; + case 2: + return AU_LINKT; + case 3: + return AR_TELEPASE; + case 81: + return BR_AUTO_EXPRESO; + case 7: + return BR_CONECTCAR; + case 8: + return BR_MOVE_MAIS; + case 88: + return BR_PASSA_RAPIDO; + case 9: + return BR_SEM_PARAR; + case 10: + return BR_TAGGY; + case 11: + return BR_VELOE; + case 84: + return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; + case 85: + return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; + case 18: + return CA_US_BLUE_WATER_EDGE_PASS; + case 19: + return CA_US_CONNEXION; + case 20: + return CA_US_NEXUS_CARD; + case 16: + return ID_E_TOLL; + case 78: + return IN_FASTAG; + case 79: + return IN_LOCAL_HP_PLATE_EXEMPT; + case 90: + return MX_IAVE; + case 91: + return MX_PASE; + case 93: + return MX_QUICKPASS; + case 89: + return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; + case 12: + return MX_TAG_IAVE; + case 13: + return MX_TAG_TELEVIA; + case 92: + return MX_TELEVIA; + case 14: + return MX_VIAPASS; + case 21: + return US_AL_FREEDOM_PASS; + case 22: + return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; + case 4: + return US_CA_FASTRAK; + case 86: + return US_CA_FASTRAK_CAV_STICKER; + case 23: + return US_CO_EXPRESSTOLL; + case 24: + return US_CO_GO_PASS; + case 25: + return US_DE_EZPASSDE; + case 65: + return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; + case 66: + return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; + case 67: + return US_FL_EPASS; + case 68: + return US_FL_GIBA_TOLL_PASS; + case 69: + return US_FL_LEEWAY; + case 70: + return US_FL_SUNPASS; + case 71: + return US_FL_SUNPASS_PRO; + case 73: + return US_IL_EZPASSIL; + case 72: + return US_IL_IPASS; + case 26: + return US_IN_EZPASSIN; + case 27: + return US_KS_BESTPASS_HORIZON; + case 28: + return US_KS_KTAG; + case 29: + return US_KS_NATIONALPASS; + case 30: + return US_KS_PREPASS_ELITEPASS; + case 31: + return US_KY_RIVERLINK; + case 32: + return US_LA_GEAUXPASS; + case 33: + return US_LA_TOLL_TAG; + case 6: + return US_MA_EZPASSMA; + case 34: + return US_MD_EZPASSMD; + case 35: + return US_ME_EZPASSME; + case 36: + return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; + case 37: + return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; + case 38: + return US_MI_IQ_PROX_CARD; + case 39: + return US_MI_MACKINAC_BRIDGE_MAC_PASS; + case 40: + return US_MI_NEXPRESS_TOLL; + case 41: + return US_MN_EZPASSMN; + case 42: + return US_NC_EZPASSNC; + case 87: + return US_NC_PEACH_PASS; + case 43: + return US_NC_QUICK_PASS; + case 80: + return US_NH_EZPASSNH; + case 75: + return US_NJ_DOWNBEACH_EXPRESS_PASS; + case 74: + return US_NJ_EZPASSNJ; + case 76: + return US_NY_EXPRESSPASS; + case 77: + return US_NY_EZPASSNY; + case 44: + return US_OH_EZPASSOH; + case 45: + return US_PA_EZPASSPA; + case 46: + return US_RI_EZPASSRI; + case 47: + return US_SC_PALPASS; + case 48: + return US_TX_BANCPASS; + case 49: + return US_TX_DEL_RIO_PASS; + case 50: + return US_TX_EFAST_PASS; + case 51: + return US_TX_EAGLE_PASS_EXPRESS_CARD; + case 52: + return US_TX_EPTOLL; + case 53: + return US_TX_EZ_CROSS; + case 54: + return US_TX_EZTAG; + case 55: + return US_TX_LAREDO_TRADE_TAG; + case 56: + return US_TX_PLUSPASS; + case 57: + return US_TX_TOLLTAG; + case 58: + return US_TX_TXTAG; + case 59: + return US_TX_XPRESS_CARD; + case 60: + return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; + case 61: + return US_VA_EZPASSVA; + case 17: + return US_WA_BREEZEBY; + case 1: + return US_WA_GOOD_TO_GO; + case 62: + return US_WV_EZPASSWV; + case 63: + return US_WV_MEMORIAL_BRIDGE_TICKETS; + case 64: + return US_WV_NEWELL_TOLL_BRIDGE_TICKET; + 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< - TollPass> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TollPass findValueByNumber(int number) { - return TollPass.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 TollPass findValueByNumber(int number) { + return TollPass.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.routing.v2.TollPassesProto.getDescriptor().getEnumTypes().get(0); } private static final TollPass[] VALUES = values(); - public static TollPass valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TollPass 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; @@ -1690,4 +2162,3 @@ private TollPass(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.TollPass) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java new file mode 100644 index 000000000000..c2008ea40f54 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java @@ -0,0 +1,107 @@ +/* + * 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/routing/v2/toll_passes.proto + +package com.google.maps.routing.v2; + +public final class TollPassesProto { + private TollPassesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/toll_passes.pro" + + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + + "ollPassesProtoP\001Z=google.golang.org/genp" + + "roto/googleapis/maps/routing/v2;routing\370" + + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + + "ting::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java similarity index 66% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java index cdb7fcb40100..1b67a78379a8 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java @@ -1,18 +1,36 @@ +/* + * 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/routing/v2/units.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values that specify the unit of measure used in the display.
  * 
* * Protobuf enum {@code google.maps.routing.v2.Units} */ -public enum Units - implements com.google.protobuf.ProtocolMessageEnum { +public enum Units implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -22,6 +40,8 @@ public enum Units
    */
   UNITS_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Metric units of measure.
    * 
@@ -30,6 +50,8 @@ public enum Units */ METRIC(1), /** + * + * *
    * Imperial (English) units of measure.
    * 
@@ -41,6 +63,8 @@ public enum Units ; /** + * + * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -50,6 +74,8 @@ public enum Units
    */
   public static final int UNITS_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Metric units of measure.
    * 
@@ -58,6 +84,8 @@ public enum Units */ public static final int METRIC_VALUE = 1; /** + * + * *
    * Imperial (English) units of measure.
    * 
@@ -66,7 +94,6 @@ public enum Units */ public static final int IMPERIAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -91,49 +118,49 @@ public static Units valueOf(int value) { */ public static Units forNumber(int value) { switch (value) { - case 0: return UNITS_UNSPECIFIED; - case 1: return METRIC; - case 2: return IMPERIAL; - default: return null; + case 0: + return UNITS_UNSPECIFIED; + case 1: + return METRIC; + case 2: + return IMPERIAL; + 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< - Units> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Units findValueByNumber(int number) { - return Units.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 Units findValueByNumber(int number) { + return Units.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.routing.v2.UnitsProto.getDescriptor().getEnumTypes().get(0); } private static final Units[] VALUES = values(); - public static Units valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Units 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; @@ -149,4 +176,3 @@ private Units(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Units) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java new file mode 100644 index 000000000000..cc81ec25ded8 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java @@ -0,0 +1,54 @@ +/* + * 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/routing/v2/units.proto + +package com.google.maps.routing.v2; + +public final class UnitsProto { + private UnitsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/units.proto\022\026go" + + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + + "oP\001Z=google.golang.org/genproto/googleap" + + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java index ecf3a8c3a540..803f9265f976 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.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/routing/v2/vehicle_emission_type.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values describing the vehicle's emission type.
  * Applies only to the DRIVE travel mode.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.VehicleEmissionType}
  */
-public enum VehicleEmissionType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No emission type specified. Default to GASOLINE.
    * 
@@ -22,6 +40,8 @@ public enum VehicleEmissionType */ VEHICLE_EMISSION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -30,6 +50,8 @@ public enum VehicleEmissionType */ GASOLINE(1), /** + * + * *
    * Electricity powered vehicle.
    * 
@@ -38,6 +60,8 @@ public enum VehicleEmissionType */ ELECTRIC(2), /** + * + * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -46,6 +70,8 @@ public enum VehicleEmissionType */ HYBRID(3), /** + * + * *
    * Diesel fueled vehicle.
    * 
@@ -57,6 +83,8 @@ public enum VehicleEmissionType ; /** + * + * *
    * No emission type specified. Default to GASOLINE.
    * 
@@ -65,6 +93,8 @@ public enum VehicleEmissionType */ public static final int VEHICLE_EMISSION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -73,6 +103,8 @@ public enum VehicleEmissionType */ public static final int GASOLINE_VALUE = 1; /** + * + * *
    * Electricity powered vehicle.
    * 
@@ -81,6 +113,8 @@ public enum VehicleEmissionType */ public static final int ELECTRIC_VALUE = 2; /** + * + * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -89,6 +123,8 @@ public enum VehicleEmissionType */ public static final int HYBRID_VALUE = 3; /** + * + * *
    * Diesel fueled vehicle.
    * 
@@ -97,7 +133,6 @@ public enum VehicleEmissionType */ public static final int DIESEL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,12 +157,18 @@ public static VehicleEmissionType valueOf(int value) { */ public static VehicleEmissionType forNumber(int value) { switch (value) { - case 0: return VEHICLE_EMISSION_TYPE_UNSPECIFIED; - case 1: return GASOLINE; - case 2: return ELECTRIC; - case 3: return HYBRID; - case 4: return DIESEL; - default: return null; + case 0: + return VEHICLE_EMISSION_TYPE_UNSPECIFIED; + case 1: + return GASOLINE; + case 2: + return ELECTRIC; + case 3: + return HYBRID; + case 4: + return DIESEL; + default: + return null; } } @@ -135,29 +176,31 @@ public static VehicleEmissionType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - VehicleEmissionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VehicleEmissionType findValueByNumber(int number) { - return VehicleEmissionType.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 VehicleEmissionType findValueByNumber(int number) { + return VehicleEmissionType.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.routing.v2.VehicleEmissionTypeProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VehicleEmissionType[] VALUES = values(); @@ -165,8 +208,7 @@ public VehicleEmissionType findValueByNumber(int number) { public static VehicleEmissionType 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; @@ -182,4 +224,3 @@ private VehicleEmissionType(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.VehicleEmissionType) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java new file mode 100644 index 000000000000..c8d9ac7c9dcc --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java @@ -0,0 +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/routing/v2/vehicle_emission_type.proto + +package com.google.maps.routing.v2; + +public final class VehicleEmissionTypeProto { + private VehicleEmissionTypeProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/maps/routing/v2/vehicle_emissio" + + "n_type.proto\022\026google.maps.routing.v2*p\n\023" + + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + + "oogle.maps.routing.v2B\030VehicleEmissionTy" + + "peProtoP\001Z=google.golang.org/genproto/go" + + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + + "2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java similarity index 65% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java index 647651f4e449..6a11f5ebfb4d 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates the vehicle information, such as the license plate last
  * character.
@@ -11,74 +28,86 @@
  *
  * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
  */
-public final class VehicleInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VehicleInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.VehicleInfo)
     VehicleInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VehicleInfo.newBuilder() to construct.
   private VehicleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VehicleInfo() {
     emissionType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VehicleInfo();
   }
 
   @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.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.VehicleInfoProto
+        .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.VehicleInfoProto
+        .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
+            com.google.maps.routing.v2.VehicleInfo.class,
+            com.google.maps.routing.v2.VehicleInfo.Builder.class);
   }
 
   public static final int EMISSION_TYPE_FIELD_NUMBER = 2;
   private int emissionType_;
   /**
+   *
+   *
    * 
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override public int getEmissionTypeValue() { + @java.lang.Override + public int getEmissionTypeValue() { return emissionType_; } /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ - @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { + @java.lang.Override + public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = + com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -90,9 +119,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (emissionType_ + != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, emissionType_); } getUnknownFields().writeTo(output); @@ -104,9 +134,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, emissionType_); + if (emissionType_ + != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, emissionType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,7 +147,7 @@ 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.routing.v2.VehicleInfo)) { return super.equals(obj); @@ -142,97 +173,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.VehicleInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.VehicleInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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; } /** + * + * *
    * Encapsulates the vehicle information, such as the license plate last
    * character.
@@ -240,33 +278,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
    */
-  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.routing.v2.VehicleInfo)
       com.google.maps.routing.v2.VehicleInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
+              com.google.maps.routing.v2.VehicleInfo.class,
+              com.google.maps.routing.v2.VehicleInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.VehicleInfo.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();
@@ -276,9 +313,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
@@ -297,7 +334,8 @@ public com.google.maps.routing.v2.VehicleInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.VehicleInfo buildPartial() {
-      com.google.maps.routing.v2.VehicleInfo result = new com.google.maps.routing.v2.VehicleInfo(this);
+      com.google.maps.routing.v2.VehicleInfo result =
+          new com.google.maps.routing.v2.VehicleInfo(this);
       result.emissionType_ = emissionType_;
       onBuilt();
       return result;
@@ -307,38 +345,39 @@ public com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo) {
-        return mergeFrom((com.google.maps.routing.v2.VehicleInfo)other);
+        return mergeFrom((com.google.maps.routing.v2.VehicleInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,17 +415,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16: {
-              emissionType_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 16:
+              {
+                emissionType_ = input.readEnum();
+
+                break;
+              } // case 16
+            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) {
@@ -399,55 +440,69 @@ public Builder mergeFrom(
 
     private int emissionType_ = 0;
     /**
+     *
+     *
      * 
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override public int getEmissionTypeValue() { + @java.lang.Override + public int getEmissionTypeValue() { return emissionType_; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @param value The enum numeric value on the wire for emissionType to set. * @return This builder for chaining. */ public Builder setEmissionTypeValue(int value) { - + emissionType_ = value; onChanged(); return this; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = + com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @param value The emissionType to set. * @return This builder for chaining. */ @@ -455,29 +510,32 @@ public Builder setEmissionType(com.google.maps.routing.v2.VehicleEmissionType va if (value == null) { throw new NullPointerException(); } - + emissionType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return This builder for chaining. */ public Builder clearEmissionType() { - + emissionType_ = 0; 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); } @@ -487,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.VehicleInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.VehicleInfo) private static final com.google.maps.routing.v2.VehicleInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.VehicleInfo(); } @@ -501,27 +559,27 @@ public static com.google.maps.routing.v2.VehicleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VehicleInfo 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 VehicleInfo 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; @@ -536,6 +594,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.VehicleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java similarity index 57% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java index ab13420f1dfa..b5cfc41e2b51 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java @@ -1,29 +1,51 @@ +/* + * 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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; -public interface VehicleInfoOrBuilder extends +public interface VehicleInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.VehicleInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ int getEmissionTypeValue(); /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ com.google.maps.routing.v2.VehicleEmissionType getEmissionType(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java new file mode 100644 index 000000000000..9b6b78cf0360 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java @@ -0,0 +1,73 @@ +/* + * 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/routing/v2/vehicle_info.proto + +package com.google.maps.routing.v2; + +public final class VehicleInfoProto { + private VehicleInfoProto() {} + + 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_routing_v2_VehicleInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + + "oto\022\026google.maps.routing.v2\0322google/maps" + + "/routing/v2/vehicle_emission_type.proto\"" + + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + + "google.maps.routing.v2.VehicleEmissionTy" + + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + + "leInfoProtoP\001Z=google.golang.org/genprot" + + "o/googleapis/maps/routing/v2;routing\370\001\001\242" + + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + + "g::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_VehicleInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_VehicleInfo_descriptor, + new java.lang.String[] { + "EmissionType", + }); + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java similarity index 74% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java index 412d2755ce5f..cd404bd844db 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.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/routing/v2/waypoint.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
  * route, and include intermediate stops along the route.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Waypoint}
  */
-public final class Waypoint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Waypoint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Waypoint)
     WaypointOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Waypoint.newBuilder() to construct.
   private Waypoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Waypoint() {
-  }
+
+  private Waypoint() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Waypoint();
   }
 
   @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.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.WaypointProto
+        .internal_static_google_maps_routing_v2_Waypoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+    return com.google.maps.routing.v2.WaypointProto
+        .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
+            com.google.maps.routing.v2.Waypoint.class,
+            com.google.maps.routing.v2.Waypoint.Builder.class);
   }
 
   private int locationTypeCase_ = 0;
   private java.lang.Object locationType_;
+
   public enum LocationTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION(1),
     PLACE_ID(2),
     LOCATIONTYPE_NOT_SET(0);
     private final int value;
+
     private LocationTypeCase(int value) {
       this.value = value;
     }
@@ -72,31 +93,37 @@ public static LocationTypeCase valueOf(int value) {
 
     public static LocationTypeCase forNumber(int value) {
       switch (value) {
-        case 1: return LOCATION;
-        case 2: return PLACE_ID;
-        case 0: return LOCATIONTYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return LOCATION;
+        case 2:
+          return PLACE_ID;
+        case 0:
+          return LOCATIONTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationTypeCase
-  getLocationTypeCase() {
-    return LocationTypeCase.forNumber(
-        locationTypeCase_);
+  public LocationTypeCase getLocationTypeCase() {
+    return LocationTypeCase.forNumber(locationTypeCase_);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -104,22 +131,27 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ @java.lang.Override public com.google.maps.routing.v2.Location getLocation() { if (locationTypeCase_ == 1) { - return (com.google.maps.routing.v2.Location) locationType_; + return (com.google.maps.routing.v2.Location) locationType_; } return com.google.maps.routing.v2.Location.getDefaultInstance(); } /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -130,29 +162,35 @@ public com.google.maps.routing.v2.Location getLocation() {
   @java.lang.Override
   public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
     if (locationTypeCase_ == 1) {
-       return (com.google.maps.routing.v2.Location) locationType_;
+      return (com.google.maps.routing.v2.Location) locationType_;
     }
     return com.google.maps.routing.v2.Location.getDefaultInstance();
   }
 
   public static final int PLACE_ID_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The placeId. */ public java.lang.String getPlaceId() { @@ -163,8 +201,7 @@ 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -173,23 +210,24 @@ public java.lang.String getPlaceId() { } } /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -202,6 +240,8 @@ public java.lang.String getPlaceId() { public static final int VIA_FIELD_NUMBER = 3; private boolean via_; /** + * + * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -217,6 +257,7 @@ public java.lang.String getPlaceId() {
    * 
* * bool via = 3; + * * @return The via. */ @java.lang.Override @@ -227,6 +268,8 @@ public boolean getVia() { public static final int VEHICLE_STOPOVER_FIELD_NUMBER = 4; private boolean vehicleStopover_; /** + * + * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -236,6 +279,7 @@ public boolean getVia() {
    * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ @java.lang.Override @@ -246,6 +290,8 @@ public boolean getVehicleStopover() { public static final int SIDE_OF_ROAD_FIELD_NUMBER = 5; private boolean sideOfRoad_; /** + * + * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -256,6 +302,7 @@ public boolean getVehicleStopover() {
    * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ @java.lang.Override @@ -264,6 +311,7 @@ public boolean getSideOfRoad() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +323,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 (locationTypeCase_ == 1) { output.writeMessage(1, (com.google.maps.routing.v2.Location) locationType_); } @@ -302,23 +349,21 @@ public int getSerializedSize() { size = 0; if (locationTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.maps.routing.v2.Location) locationType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.maps.routing.v2.Location) locationType_); } if (locationTypeCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationType_); } if (via_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, via_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, via_); } if (vehicleStopover_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, vehicleStopover_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, vehicleStopover_); } if (sideOfRoad_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, sideOfRoad_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, sideOfRoad_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -328,28 +373,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.routing.v2.Waypoint)) { return super.equals(obj); } com.google.maps.routing.v2.Waypoint other = (com.google.maps.routing.v2.Waypoint) obj; - if (getVia() - != other.getVia()) return false; - if (getVehicleStopover() - != other.getVehicleStopover()) return false; - if (getSideOfRoad() - != other.getSideOfRoad()) return false; + if (getVia() != other.getVia()) return false; + if (getVehicleStopover() != other.getVehicleStopover()) return false; + if (getSideOfRoad() != other.getSideOfRoad()) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; break; case 2: - if (!getPlaceId() - .equals(other.getPlaceId())) return false; + if (!getPlaceId().equals(other.getPlaceId())) return false; break; case 0: default: @@ -366,14 +406,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVia()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVia()); hash = (37 * hash) + VEHICLE_STOPOVER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVehicleStopover()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVehicleStopover()); hash = (37 * hash) + SIDE_OF_ROAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSideOfRoad()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSideOfRoad()); switch (locationTypeCase_) { case 1: hash = (37 * hash) + LOCATION_FIELD_NUMBER; @@ -391,97 +428,103 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Waypoint parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Waypoint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.maps.routing.v2.Waypoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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; } /** + * + * *
    * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
    * route, and include intermediate stops along the route.
@@ -489,33 +532,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.Waypoint}
    */
-  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.routing.v2.Waypoint)
       com.google.maps.routing.v2.WaypointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
+              com.google.maps.routing.v2.Waypoint.class,
+              com.google.maps.routing.v2.Waypoint.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Waypoint.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();
@@ -534,9 +576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
@@ -578,38 +620,39 @@ public com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint) {
-        return mergeFrom((com.google.maps.routing.v2.Waypoint)other);
+        return mergeFrom((com.google.maps.routing.v2.Waypoint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,19 +671,22 @@ public Builder mergeFrom(com.google.maps.routing.v2.Waypoint other) {
         setSideOfRoad(other.getSideOfRoad());
       }
       switch (other.getLocationTypeCase()) {
-        case LOCATION: {
-          mergeLocation(other.getLocation());
-          break;
-        }
-        case PLACE_ID: {
-          locationTypeCase_ = 2;
-          locationType_ = other.locationType_;
-          onChanged();
-          break;
-        }
-        case LOCATIONTYPE_NOT_SET: {
-          break;
-        }
+        case LOCATION:
+          {
+            mergeLocation(other.getLocation());
+            break;
+          }
+        case PLACE_ID:
+          {
+            locationTypeCase_ = 2;
+            locationType_ = other.locationType_;
+            onChanged();
+            break;
+          }
+        case LOCATIONTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -668,40 +714,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              locationTypeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              locationTypeCase_ = 2;
-              locationType_ = s;
-              break;
-            } // case 18
-            case 24: {
-              via_ = input.readBool();
+            case 10:
+              {
+                input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry);
+                locationTypeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                locationTypeCase_ = 2;
+                locationType_ = s;
+                break;
+              } // case 18
+            case 24:
+              {
+                via_ = input.readBool();
 
-              break;
-            } // case 24
-            case 32: {
-              vehicleStopover_ = input.readBool();
+                break;
+              } // case 24
+            case 32:
+              {
+                vehicleStopover_ = input.readBool();
 
-              break;
-            } // case 32
-            case 40: {
-              sideOfRoad_ = input.readBool();
+                break;
+              } // case 32
+            case 40:
+              {
+                sideOfRoad_ = input.readBool();
 
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            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) {
@@ -711,12 +761,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int locationTypeCase_ = 0;
     private java.lang.Object locationType_;
-    public LocationTypeCase
-        getLocationTypeCase() {
-      return LocationTypeCase.forNumber(
-          locationTypeCase_);
+
+    public LocationTypeCase getLocationTypeCase() {
+      return LocationTypeCase.forNumber(locationTypeCase_);
     }
 
     public Builder clearLocationType() {
@@ -726,16 +776,21 @@ public Builder clearLocationType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> locationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        locationBuilder_;
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -743,12 +798,15 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** + * + * *
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ @java.lang.Override @@ -766,6 +824,8 @@ public com.google.maps.routing.v2.Location getLocation() { } } /** + * + * *
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -787,6 +847,8 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -794,8 +856,7 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location location = 1;
      */
-    public Builder setLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (locationBuilder_ == null) {
         locationType_ = builderForValue.build();
         onChanged();
@@ -806,6 +867,8 @@ public Builder setLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -815,10 +878,13 @@ public Builder setLocation(
      */
     public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       if (locationBuilder_ == null) {
-        if (locationTypeCase_ == 1 &&
-            locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
-          locationType_ = com.google.maps.routing.v2.Location.newBuilder((com.google.maps.routing.v2.Location) locationType_)
-              .mergeFrom(value).buildPartial();
+        if (locationTypeCase_ == 1
+            && locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
+          locationType_ =
+              com.google.maps.routing.v2.Location.newBuilder(
+                      (com.google.maps.routing.v2.Location) locationType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           locationType_ = value;
         }
@@ -834,6 +900,8 @@ public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -858,6 +926,8 @@ public Builder clearLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -869,6 +939,8 @@ public com.google.maps.routing.v2.Location.Builder getLocationBuilder() {
       return getLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -888,6 +960,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -896,30 +970,39 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
      * .google.maps.routing.v2.Location location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
         if (!(locationTypeCase_ == 1)) {
           locationType_ = com.google.maps.routing.v2.Location.getDefaultInstance();
         }
-        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+        locationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
                 (com.google.maps.routing.v2.Location) locationType_,
                 getParentForChildren(),
                 isClean());
         locationType_ = null;
       }
       locationTypeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return locationBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ @java.lang.Override @@ -927,11 +1010,14 @@ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return The placeId. */ @java.lang.Override @@ -941,8 +1027,7 @@ public java.lang.String getPlaceId() { ref = locationType_; } 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -953,24 +1038,25 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -980,30 +1066,35 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @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(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return This builder for chaining. */ public Builder clearPlaceId() { @@ -1015,28 +1106,32 @@ public Builder clearPlaceId() { return this; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @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); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private boolean via_ ; + private boolean via_; /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1052,6 +1147,7 @@ public Builder setPlaceIdBytes(
      * 
* * bool via = 3; + * * @return The via. */ @java.lang.Override @@ -1059,6 +1155,8 @@ public boolean getVia() { return via_; } /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1074,16 +1172,19 @@ public boolean getVia() {
      * 
* * bool via = 3; + * * @param value The via to set. * @return This builder for chaining. */ public Builder setVia(boolean value) { - + via_ = value; onChanged(); return this; } /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1099,17 +1200,20 @@ public Builder setVia(boolean value) {
      * 
* * bool via = 3; + * * @return This builder for chaining. */ public Builder clearVia() { - + via_ = false; onChanged(); return this; } - private boolean vehicleStopover_ ; + private boolean vehicleStopover_; /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1119,6 +1223,7 @@ public Builder clearVia() {
      * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ @java.lang.Override @@ -1126,6 +1231,8 @@ public boolean getVehicleStopover() { return vehicleStopover_; } /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1135,16 +1242,19 @@ public boolean getVehicleStopover() {
      * 
* * bool vehicle_stopover = 4; + * * @param value The vehicleStopover to set. * @return This builder for chaining. */ public Builder setVehicleStopover(boolean value) { - + vehicleStopover_ = value; onChanged(); return this; } /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1154,17 +1264,20 @@ public Builder setVehicleStopover(boolean value) {
      * 
* * bool vehicle_stopover = 4; + * * @return This builder for chaining. */ public Builder clearVehicleStopover() { - + vehicleStopover_ = false; onChanged(); return this; } - private boolean sideOfRoad_ ; + private boolean sideOfRoad_; /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1175,6 +1288,7 @@ public Builder clearVehicleStopover() {
      * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ @java.lang.Override @@ -1182,6 +1296,8 @@ public boolean getSideOfRoad() { return sideOfRoad_; } /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1192,16 +1308,19 @@ public boolean getSideOfRoad() {
      * 
* * bool side_of_road = 5; + * * @param value The sideOfRoad to set. * @return This builder for chaining. */ public Builder setSideOfRoad(boolean value) { - + sideOfRoad_ = value; onChanged(); return this; } /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1212,17 +1331,18 @@ public Builder setSideOfRoad(boolean value) {
      * 
* * bool side_of_road = 5; + * * @return This builder for chaining. */ public Builder clearSideOfRoad() { - + sideOfRoad_ = 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); } @@ -1232,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Waypoint) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Waypoint) private static final com.google.maps.routing.v2.Waypoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Waypoint(); } @@ -1246,27 +1366,27 @@ public static com.google.maps.routing.v2.Waypoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Waypoint 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 Waypoint 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; @@ -1281,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Waypoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java similarity index 81% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java index b5fe89a563b7..01e9e24bfa2b 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/routing/v2/waypoint.proto package com.google.maps.routing.v2; -public interface WaypointOrBuilder extends +public interface WaypointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Waypoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ com.google.maps.routing.v2.Location getLocation(); /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -38,35 +62,45 @@ public interface WaypointOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ boolean hasPlaceId(); /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The placeId. */ java.lang.String getPlaceId(); /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The bytes for placeId. */ - com.google.protobuf.ByteString - getPlaceIdBytes(); + com.google.protobuf.ByteString getPlaceIdBytes(); /** + * + * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -82,11 +116,14 @@ public interface WaypointOrBuilder extends
    * 
* * bool via = 3; + * * @return The via. */ boolean getVia(); /** + * + * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -96,11 +133,14 @@ public interface WaypointOrBuilder extends
    * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ boolean getVehicleStopover(); /** + * + * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -111,6 +151,7 @@ public interface WaypointOrBuilder extends
    * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ boolean getSideOfRoad(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java new file mode 100644 index 000000000000..dfabac701a3f --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java @@ -0,0 +1,74 @@ +/* + * 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/routing/v2/waypoint.proto + +package com.google.maps.routing.v2; + +public final class WaypointProto { + private WaypointProto() {} + + 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_routing_v2_Waypoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + + "\026google.maps.routing.v2\032%google/maps/rou" + + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + + "gle.golang.org/genproto/googleapis/maps/" + + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + + "\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.LocationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Waypoint_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Waypoint_descriptor, + new java.lang.String[] { + "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", + }); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java deleted file mode 100644 index fdcaa7d94177..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/fallback_info.proto - -package com.google.maps.routing.v2; - -public final class FallbackInfoProto { - private FallbackInfoProto() {} - 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_routing_v2_FallbackInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + - "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + - "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + - "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + - "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + - "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + - "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + - "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + - "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + - "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + - "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + - "routing.v2B\021FallbackInfoProtoP\001Z=google." + - "golang.org/genproto/googleapis/maps/rout" + - "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + - "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + - "ogle::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_routing_v2_FallbackInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_FallbackInfo_descriptor, - new java.lang.String[] { "RoutingMode", "Reason", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java deleted file mode 100644 index a4aa1ac4fe64..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/location.proto - -package com.google.maps.routing.v2; - -public final class LocationProto { - private LocationProto() {} - 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_routing_v2_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" + - "\026google.maps.routing.v2\032\036google/protobuf" + - "/wrappers.proto\032\030google/type/latlng.prot" + - "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." + - "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" + - "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" + - "uting.v2B\rLocationProtoP\001Z=google.golang" + - ".org/genproto/googleapis/maps/routing/v2" + - ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" + - "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" + - "Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Location_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Location_descriptor, - new java.lang.String[] { "LatLng", "Heading", }); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java deleted file mode 100644 index 5138be656ed5..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java +++ /dev/null @@ -1,50 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/maneuver.proto - -package com.google.maps.routing.v2; - -public final class ManeuverProto { - private ManeuverProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/maneuver.proto\022" + - "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + - "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + - "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + - "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + - "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + - "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + - "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + - "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + - "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + - "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + - ".v2B\rManeuverProtoP\001Z=google.golang.org/" + - "genproto/googleapis/maps/routing/v2;rout" + - "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + - "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + - ":Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java deleted file mode 100644 index cf16ec2b8d68..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/navigation_instruction.proto - -package com.google.maps.routing.v2; - -public final class NavigationInstructionProto { - private NavigationInstructionProto() {} - 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_routing_v2_NavigationInstruction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/navigation_inst" + - "ruction.proto\022\026google.maps.routing.v2\032%g" + - "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + - "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + - " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + - "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + - "ing.v2B\032NavigationInstructionProtoP\001Z=go" + - "ogle.golang.org/genproto/googleapis/maps" + - "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + - "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + - "\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.ManeuverProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, - new java.lang.String[] { "Maneuver", "Instructions", }); - com.google.maps.routing.v2.ManeuverProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java deleted file mode 100644 index 5c67621744ec..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/polyline.proto - -package com.google.maps.routing.v2; - -public final class PolylineProto { - private PolylineProto() {} - 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_routing_v2_Polyline_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" + - "\026google.maps.routing.v2\032\034google/protobuf" + - "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" + - "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" + - "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" + - "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" + - "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" + - "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" + - "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" + - "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" + - "m.google.maps.routing.v2B\rPolylineProtoP" + - "\001Z=google.golang.org/genproto/googleapis" + - "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" + - "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" + - "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Polyline_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Polyline_descriptor, - new java.lang.String[] { "EncodedPolyline", "GeoJsonLinestring", "PolylineType", }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java deleted file mode 100644 index c32bbe87c122..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java +++ /dev/null @@ -1,44 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_label.proto - -package com.google.maps.routing.v2; - -public final class RouteLabelProto { - private RouteLabelProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_label.pro" + - "to\022\026google.maps.routing.v2*m\n\nRouteLabel" + - "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" + - "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" + - "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" + - "uting.v2B\017RouteLabelProtoP\001Z=google.gola" + - "ng.org/genproto/googleapis/maps/routing/" + - "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" + - "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" + - "::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java deleted file mode 100644 index 1e8f543ab52e..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java +++ /dev/null @@ -1,64 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_modifiers.proto - -package com.google.maps.routing.v2; - -public final class RouteModifiersProto { - private RouteModifiersProto() {} - 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_routing_v2_RouteModifiers_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + - ".proto\022\026google.maps.routing.v2\032(google/m" + - "aps/routing/v2/toll_passes.proto\032)google" + - "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + - "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + - "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + - "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + - "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + - "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + - "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + - "outing.v2B\023RouteModifiersProtoP\001Z=google" + - ".golang.org/genproto/googleapis/maps/rou" + - "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + - ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + - "oogle::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.TollPassesProto.getDescriptor(), - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_RouteModifiers_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteModifiers_descriptor, - new java.lang.String[] { "AvoidTolls", "AvoidHighways", "AvoidFerries", "AvoidIndoor", "VehicleInfo", "TollPasses", }); - com.google.maps.routing.v2.TollPassesProto.getDescriptor(); - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java deleted file mode 100644 index 2eeae4764312..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java +++ /dev/null @@ -1,176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route.proto - -package com.google.maps.routing.v2; - -public final class RouteProto { - private RouteProto() {} - 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_routing_v2_Route_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Route_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLeg_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + - "ogle.maps.routing.v2\032\036google/geo/type/vi" + - "ewport.proto\032%google/maps/routing/v2/loc" + - "ation.proto\0323google/maps/routing/v2/navi" + - "gation_instruction.proto\032%google/maps/ro" + - "uting/v2/polyline.proto\032(google/maps/rou" + - "ting/v2/route_label.proto\0323google/maps/r" + - "outing/v2/speed_reading_interval.proto\032&" + - "google/maps/routing/v2/toll_info.proto\032\036" + - "google/protobuf/duration.proto\"\316\003\n\005Route" + - "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + - "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + - "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + - "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + - "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + - "\0132\031.google.protobuf.Duration\0222\n\010polyline" + - "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + - "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + - "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + - "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + - "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + - "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + - "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + - ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + - "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + - "ingInterval\022$\n\034fuel_consumption_microlit" + - "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + - "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + - ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + - "(\0132,.google.maps.routing.v2.SpeedReading" + - "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + - "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + - ".maps.routing.v2.SpeedReadingInterval\"\250\003" + - "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + - "uration\030\002 \001(\0132\031.google.protobuf.Duration" + - "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + - "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + - "maps.routing.v2.Polyline\0228\n\016start_locati" + - "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + - "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + - "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + - "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + - "l_advisory\030\010 \001(\0132..google.maps.routing.v" + - "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + - "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + - "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + - "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + - "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + - "gle.maps.routing.v2.Location\0226\n\014end_loca" + - "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + - "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + - "oogle.maps.routing.v2.NavigationInstruct" + - "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + - "ps.routing.v2.RouteLegStepTravelAdvisory" + - "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + - "otoP\001Z=google.golang.org/genproto/google" + - "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + - "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + - "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.maps.routing.v2.LocationProto.getDescriptor(), - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), - com.google.maps.routing.v2.TollInfoProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Route_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Route_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Route_descriptor, - new java.lang.String[] { "RouteLabels", "Legs", "DistanceMeters", "Duration", "StaticDuration", "Polyline", "Description", "Warnings", "Viewport", "TravelAdvisory", "RouteToken", }); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, - new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", }); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, - new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", }); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, - new java.lang.String[] { "SpeedReadingIntervals", }); - internal_static_google_maps_routing_v2_RouteLeg_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLeg_descriptor, - new java.lang.String[] { "DistanceMeters", "Duration", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "Steps", "TravelAdvisory", }); - internal_static_google_maps_routing_v2_RouteLegStep_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStep_descriptor, - new java.lang.String[] { "DistanceMeters", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "NavigationInstruction", "TravelAdvisory", }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); - com.google.maps.routing.v2.TollInfoProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java deleted file mode 100644 index beabfecd72c2..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java +++ /dev/null @@ -1,44 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_travel_mode.proto - -package com.google.maps.routing.v2; - -public final class RouteTravelModeProto { - private RouteTravelModeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_travel_mo" + - "de.proto\022\026google.maps.routing.v2*a\n\017Rout" + - "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" + - "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" + - "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." + - "v2B\024RouteTravelModeProtoP\001Z=google.golan" + - "g.org/genproto/googleapis/maps/routing/v" + - "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" + - "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" + - ":Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java deleted file mode 100644 index b209fe6d3b55..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java +++ /dev/null @@ -1,221 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/routes_service.proto - -package com.google.maps.routing.v2; - -public final class RoutesServiceProto { - private RoutesServiceProto() {} - 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_routing_v2_ComputeRoutesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." + - "proto\022\026google.maps.routing.v2\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032*g" + - "oogle/maps/routing/v2/fallback_info.prot" + - "o\032%google/maps/routing/v2/polyline.proto" + - "\032\"google/maps/routing/v2/route.proto\032,go" + - "ogle/maps/routing/v2/route_modifiers.pro" + - "to\032.google/maps/routing/v2/route_travel_" + - "mode.proto\032/google/maps/routing/v2/routi" + - "ng_preference.proto\032\"google/maps/routing" + - "/v2/units.proto\032%google/maps/routing/v2/" + - "waypoint.proto\032\036google/protobuf/duration" + - ".proto\032\037google/protobuf/timestamp.proto\032" + - "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" + - "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." + - "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" + - "\002 \001(\0132 .google.maps.routing.v2.WaypointB" + - "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" + - "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" + - "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" + - "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" + - "\0162).google.maps.routing.v2.RoutingPrefer" + - "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" + - "ogle.maps.routing.v2.PolylineQualityB\003\340A" + - "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" + - "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" + - "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" + - "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" + - ".google.maps.routing.v2.RouteModifiersB\003" + - "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" + - "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" + - "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" + - ".google.maps.routing.v2.ComputeRoutesReq" + - "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" + - "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" + - "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" + - "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." + - "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" + - ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" + - "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" + - "oogle.maps.routing.v2.RouteMatrixOriginB" + - "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" + - ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" + - "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" + - "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" + - "eference\030\004 \001(\0162).google.maps.routing.v2." + - "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" + - "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" + - "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" + - " .google.maps.routing.v2.WaypointB\003\340A\002\022D" + - "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" + - "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" + - "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" + - "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" + - "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" + - "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" + - "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" + - "on\030\t \001(\01623.google.maps.routing.v2.RouteM" + - "atrixElementCondition\022\027\n\017distance_meters" + - "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" + - "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" + - "oogle.protobuf.Duration\022D\n\017travel_adviso" + - "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" + - "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" + - "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" + - "rigin_indexB\024\n\022_destination_index*t\n\033Rou" + - "teMatrixElementCondition\022.\n*ROUTE_MATRIX" + - "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" + - "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" + - "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" + - "ng.v2.ComputeRoutesRequest\032-.google.maps" + - ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" + - "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" + - "omputeRouteMatrix\0221.google.maps.routing." + - "v2.ComputeRouteMatrixRequest\032*.google.ma" + - "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" + - "\"%/distanceMatrix/v2:computeRouteMatrix:" + - "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" + - "oogle.maps.routing.v2B\022RoutesServiceProt" + - "oP\001Z=google.golang.org/genproto/googleap" + - "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + - "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + - "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + - "to3" - }; - 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.routing.v2.FallbackInfoProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteProto.getDescriptor(), - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(), - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(), - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(), - com.google.maps.routing.v2.UnitsProto.getDescriptor(), - com.google.maps.routing.v2.WaypointProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor, - new java.lang.String[] { "Origin", "Destination", "Intermediates", "TravelMode", "RoutingPreference", "PolylineQuality", "PolylineEncoding", "DepartureTime", "ComputeAlternativeRoutes", "RouteModifiers", "LanguageCode", "Units", "RequestedReferenceRoutes", }); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor, - new java.lang.String[] { "Routes", "FallbackInfo", }); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor, - new java.lang.String[] { "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", }); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor, - new java.lang.String[] { "Waypoint", "RouteModifiers", }); - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor, - new java.lang.String[] { "Waypoint", }); - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor, - new java.lang.String[] { "OriginIndex", "DestinationIndex", "Status", "Condition", "DistanceMeters", "Duration", "StaticDuration", "TravelAdvisory", "FallbackInfo", "OriginIndex", "DestinationIndex", }); - 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.routing.v2.FallbackInfoProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteProto.getDescriptor(); - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(); - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(); - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(); - com.google.maps.routing.v2.UnitsProto.getDescriptor(); - com.google.maps.routing.v2.WaypointProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java deleted file mode 100644 index 0976571e0d86..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/routing_preference.proto - -package com.google.maps.routing.v2; - -public final class RoutingPreferenceProto { - private RoutingPreferenceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/routing_prefere" + - "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" + - "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" + - "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" + - "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" + - "\n\032com.google.maps.routing.v2B\026RoutingPre" + - "ferenceProtoP\001Z=google.golang.org/genpro" + - "to/googleapis/maps/routing/v2;routing\370\001\001" + - "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" + - "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" + - "ng::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java deleted file mode 100644 index de71857e5a22..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/speed_reading_interval.proto - -package com.google.maps.routing.v2; - -public final class SpeedReadingIntervalProto { - private SpeedReadingIntervalProto() {} - 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_routing_v2_SpeedReadingInterval_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/speed_reading_i" + - "nterval.proto\022\026google.maps.routing.v2\"\254\002" + - "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + - "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + - "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + - "google.maps.routing.v2.SpeedReadingInter" + - "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + - "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + - "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + - "polyline_point_indexB\321\001\n\032com.google.maps" + - ".routing.v2B\031SpeedReadingIntervalProtoP\001" + - "Z=google.golang.org/genproto/googleapis/" + - "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + - "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + - "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, - new java.lang.String[] { "StartPolylinePointIndex", "EndPolylinePointIndex", "Speed", "StartPolylinePointIndex", "EndPolylinePointIndex", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java deleted file mode 100644 index cce8c52c6003..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/toll_info.proto - -package com.google.maps.routing.v2; - -public final class TollInfoProto { - private TollInfoProto() {} - 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_routing_v2_TollInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" + - "\022\026google.maps.routing.v2\032\027google/type/mo" + - "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" + - "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" + - "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" + - "le.golang.org/genproto/googleapis/maps/r" + - "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" + - "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" + - "\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_TollInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_TollInfo_descriptor, - new java.lang.String[] { "EstimatedPrice", }); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java deleted file mode 100644 index 514ae2547f4f..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java +++ /dev/null @@ -1,96 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/toll_passes.proto - -package com.google.maps.routing.v2; - -public final class TollPassesProto { - private TollPassesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/toll_passes.pro" + - "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + - "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + - "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + - "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + - "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + - "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + - "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + - "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + - "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + - "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + - "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + - "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + - "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + - "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + - "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + - "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + - "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + - "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + - "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + - "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + - "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + - "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + - "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + - "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + - "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + - "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + - "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + - "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + - "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + - "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + - "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + - "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + - "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + - "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + - "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + - "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + - "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + - "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + - "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + - "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + - "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + - "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + - "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + - "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + - "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + - "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + - "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + - "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + - "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + - "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + - "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + - "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + - "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + - "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + - "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + - "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + - "ollPassesProtoP\001Z=google.golang.org/genp" + - "roto/googleapis/maps/routing/v2;routing\370" + - "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + - "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + - "ting::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java deleted file mode 100644 index f37ea450c892..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java +++ /dev/null @@ -1,43 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/units.proto - -package com.google.maps.routing.v2; - -public final class UnitsProto { - private UnitsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/units.proto\022\026go" + - "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + - "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + - "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + - "oP\001Z=google.golang.org/genproto/googleap" + - "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + - "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + - "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java deleted file mode 100644 index 675414ec1b98..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/vehicle_emission_type.proto - -package com.google.maps.routing.v2; - -public final class VehicleEmissionTypeProto { - private VehicleEmissionTypeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/maps/routing/v2/vehicle_emissio" + - "n_type.proto\022\026google.maps.routing.v2*p\n\023" + - "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + - "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + - "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + - "oogle.maps.routing.v2B\030VehicleEmissionTy" + - "peProtoP\001Z=google.golang.org/genproto/go" + - "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + - "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + - "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + - "2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java deleted file mode 100644 index c3eebf302c3e..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/vehicle_info.proto - -package com.google.maps.routing.v2; - -public final class VehicleInfoProto { - private VehicleInfoProto() {} - 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_routing_v2_VehicleInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + - "oto\022\026google.maps.routing.v2\0322google/maps" + - "/routing/v2/vehicle_emission_type.proto\"" + - "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + - "google.maps.routing.v2.VehicleEmissionTy" + - "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + - "leInfoProtoP\001Z=google.golang.org/genprot" + - "o/googleapis/maps/routing/v2;routing\370\001\001\242" + - "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + - "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + - "g::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_VehicleInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_VehicleInfo_descriptor, - new java.lang.String[] { "EmissionType", }); - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java deleted file mode 100644 index 06d30c201f06..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java +++ /dev/null @@ -1,59 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/waypoint.proto - -package com.google.maps.routing.v2; - -public final class WaypointProto { - private WaypointProto() {} - 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_routing_v2_Waypoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + - "\026google.maps.routing.v2\032%google/maps/rou" + - "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + - "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + - "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + - "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + - "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + - "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + - "gle.golang.org/genproto/googleapis/maps/" + - "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + - "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + - "\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.LocationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Waypoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Waypoint_descriptor, - new java.lang.String[] { "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", }); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/versions.txt b/versions.txt index a7c8d4a2bf0f..26acef5dc131 100644 --- a/versions.txt +++ b/versions.txt @@ -599,4 +599,4 @@ google-cloud-monitoring-metricsscope:0.1.0:0.1.0 proto-google-cloud-monitoring-metricsscope-v1:0.1.0:0.1.0 grpc-google-cloud-monitoring-metricsscope-v1:0.1.0:0.1.0 proto-google-cloud-tpu-v2:2.8.0:2.8.0 -grpc-google-cloud-tpu-v2:2.8.0:2.8.0 \ No newline at end of file +grpc-google-cloud-tpu-v2:2.8.0:2.8.0 From e7c8401a5f584e39827026a61e98dd9834242a6a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Dec 2022 00:56:18 +0000 Subject: [PATCH 3/4] docs: updated comment for ComputeRoutesRequest and ComputeRouteMatrixRequest PiperOrigin-RevId: 495124934 Source-Link: https://github.com/googleapis/googleapis/commit/f68e8e84be23e64152c43cb4b31d53f5e8cb64ac Source-Link: https://github.com/googleapis/googleapis-gen/commit/7767906235820c4423e4152840b44901813e3e4d Copy-Tag: eyJwIjoiamF2YS1tYXBzLXJvdXRpbmcvLk93bEJvdC55YW1sIiwiaCI6Ijc3Njc5MDYyMzU4MjBjNDQyM2U0MTUyODQwYjQ0OTAxODEzZTNlNGQifQ== --- .../maps/routing/v2/FallbackInfoProto.java | 74 - .../google/maps/routing/v2/LocationProto.java | 75 - .../google/maps/routing/v2/ManeuverProto.java | 61 - .../v2/NavigationInstructionProto.java | 73 - .../google/maps/routing/v2/PolylineProto.java | 78 - .../maps/routing/v2/RouteLabelProto.java | 55 - .../maps/routing/v2/RouteModifiersProto.java | 84 - .../google/maps/routing/v2/RouteProto.java | 219 -- .../maps/routing/v2/RouteTravelModeProto.java | 55 - .../maps/routing/v2/RoutesServiceProto.java | 263 --- .../routing/v2/RoutingPreferenceProto.java | 56 - .../routing/v2/SpeedReadingIntervalProto.java | 77 - .../google/maps/routing/v2/TollInfoProto.java | 71 - .../maps/routing/v2/TollPassesProto.java | 107 - .../google/maps/routing/v2/UnitsProto.java | 54 - .../routing/v2/VehicleEmissionTypeProto.java | 56 - .../maps/routing/v2/VehicleInfoProto.java | 73 - .../google/maps/routing/v2/WaypointProto.java | 74 - .../google/maps/routing/v2/RoutesClient.java | 0 .../maps/routing/v2/RoutesSettings.java | 1 + .../maps/routing/v2/gapic_metadata.json | 0 .../google/maps/routing/v2/package-info.java | 0 .../v2/stub/GrpcRoutesCallableFactory.java | 0 .../maps/routing/v2/stub/GrpcRoutesStub.java | 0 .../stub/HttpJsonRoutesCallableFactory.java | 0 .../routing/v2/stub/HttpJsonRoutesStub.java | 0 .../maps/routing/v2/stub/RoutesStub.java | 0 .../routing/v2/stub/RoutesStubSettings.java | 0 .../google/maps/routing/v2/MockRoutes.java | 0 .../maps/routing/v2/MockRoutesImpl.java | 0 .../routing/v2/RoutesClientHttpJsonTest.java | 0 .../maps/routing/v2/RoutesClientTest.java | 0 .../google/maps/routing/v2/RoutesGrpc.java | 327 ++- .../routing/v2/ComputeRouteMatrixRequest.java | 1081 +++------- .../ComputeRouteMatrixRequestOrBuilder.java | 151 +- .../maps/routing/v2/ComputeRoutesRequest.java | 1880 ++++++----------- .../v2/ComputeRoutesRequestOrBuilder.java | 266 +-- .../routing/v2/ComputeRoutesResponse.java | 494 ++--- .../v2/ComputeRoutesResponseOrBuilder.java | 45 +- .../google/maps/routing/v2/FallbackInfo.java | 364 ++-- .../routing/v2/FallbackInfoOrBuilder.java | 30 +- .../maps/routing/v2/FallbackInfoProto.java | 61 + .../maps/routing/v2/FallbackReason.java | 82 +- .../maps/routing/v2/FallbackRoutingMode.java | 77 +- .../com/google/maps/routing/v2/Location.java | 387 ++-- .../maps/routing/v2/LocationOrBuilder.java | 34 +- .../google/maps/routing/v2/LocationProto.java | 60 + .../com/google/maps/routing/v2/Maneuver.java | 192 +- .../google/maps/routing/v2/ManeuverProto.java | 50 + .../routing/v2/NavigationInstruction.java | 383 ++-- .../v2/NavigationInstructionOrBuilder.java | 33 +- .../v2/NavigationInstructionProto.java | 58 + .../com/google/maps/routing/v2/Polyline.java | 472 ++--- .../maps/routing/v2/PolylineEncoding.java | 82 +- .../maps/routing/v2/PolylineOrBuilder.java | 38 +- .../google/maps/routing/v2/PolylineProto.java | 63 + .../maps/routing/v2/PolylineQuality.java | 82 +- .../com/google/maps/routing/v2/Route.java | 1232 ++++------- .../google/maps/routing/v2/RouteLabel.java | 89 +- .../maps/routing/v2/RouteLabelProto.java | 44 + .../com/google/maps/routing/v2/RouteLeg.java | 941 +++------ .../maps/routing/v2/RouteLegOrBuilder.java | 87 +- .../google/maps/routing/v2/RouteLegStep.java | 829 +++----- .../routing/v2/RouteLegStepOrBuilder.java | 69 +- .../v2/RouteLegStepTravelAdvisory.java | 457 ++-- .../RouteLegStepTravelAdvisoryOrBuilder.java | 33 +- .../routing/v2/RouteLegTravelAdvisory.java | 537 ++--- .../v2/RouteLegTravelAdvisoryOrBuilder.java | 41 +- .../routing/v2/RouteMatrixDestination.java | 381 ++-- .../v2/RouteMatrixDestinationOrBuilder.java | 35 +- .../maps/routing/v2/RouteMatrixElement.java | 836 +++----- .../v2/RouteMatrixElementCondition.java | 77 +- .../v2/RouteMatrixElementOrBuilder.java | 79 +- .../maps/routing/v2/RouteMatrixOrigin.java | 508 ++--- .../v2/RouteMatrixOriginOrBuilder.java | 55 +- .../maps/routing/v2/RouteModifiers.java | 605 ++---- .../routing/v2/RouteModifiersOrBuilder.java | 56 +- .../maps/routing/v2/RouteModifiersProto.java | 64 + .../maps/routing/v2/RouteOrBuilder.java | 134 +- .../google/maps/routing/v2/RouteProto.java | 176 ++ .../maps/routing/v2/RouteTravelAdvisory.java | 567 ++--- .../v2/RouteTravelAdvisoryOrBuilder.java | 44 +- .../maps/routing/v2/RouteTravelMode.java | 96 +- .../maps/routing/v2/RouteTravelModeProto.java | 44 + .../maps/routing/v2/RoutesServiceProto.java | 221 ++ .../maps/routing/v2/RoutingPreference.java | 87 +- .../routing/v2/RoutingPreferenceProto.java | 45 + .../maps/routing/v2/SpeedReadingInterval.java | 458 ++-- .../v2/SpeedReadingIntervalOrBuilder.java | 36 +- .../routing/v2/SpeedReadingIntervalProto.java | 60 + .../com/google/maps/routing/v2/TollInfo.java | 387 ++-- .../maps/routing/v2/TollInfoOrBuilder.java | 37 +- .../google/maps/routing/v2/TollInfoProto.java | 56 + .../com/google/maps/routing/v2/TollPass.java | 703 +----- .../maps/routing/v2/TollPassesProto.java | 96 + .../com/google/maps/routing/v2/Units.java | 82 +- .../google/maps/routing/v2/UnitsProto.java | 43 + .../maps/routing/v2/VehicleEmissionType.java | 95 +- .../routing/v2/VehicleEmissionTypeProto.java | 45 + .../google/maps/routing/v2/VehicleInfo.java | 298 ++- .../maps/routing/v2/VehicleInfoOrBuilder.java | 24 +- .../maps/routing/v2/VehicleInfoProto.java | 58 + .../com/google/maps/routing/v2/Waypoint.java | 576 ++--- .../maps/routing/v2/WaypointOrBuilder.java | 47 +- .../google/maps/routing/v2/WaypointProto.java | 59 + .../maps/routing/v2/fallback_info.proto | 0 .../google/maps/routing/v2/location.proto | 0 .../google/maps/routing/v2/maneuver.proto | 0 .../routing/v2/navigation_instruction.proto | 0 .../google/maps/routing/v2/polyline.proto | 0 .../proto/google/maps/routing/v2/route.proto | 0 .../google/maps/routing/v2/route_label.proto | 0 .../maps/routing/v2/route_modifiers.proto | 0 .../maps/routing/v2/route_travel_mode.proto | 0 .../maps/routing/v2/routes_service.proto | 12 +- .../maps/routing/v2/routing_preference.proto | 0 .../routing/v2/speed_reading_interval.proto | 0 .../google/maps/routing/v2/toll_info.proto | 0 .../google/maps/routing/v2/toll_passes.proto | 0 .../proto/google/maps/routing/v2/units.proto | 0 .../routing/v2/vehicle_emission_type.proto | 0 .../google/maps/routing/v2/vehicle_info.proto | 0 .../google/maps/routing/v2/waypoint.proto | 0 123 files changed, 6941 insertions(+), 13098 deletions(-) delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java delete mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java (99%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java (68%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java (67%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java (64%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java (67%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java (67%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java (81%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java (72%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java (73%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java (74%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java (63%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java (70%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java (69%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java (74%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java (71%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java (80%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java (71%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java (88%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java (73%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java (86%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java (76%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java (83%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java (78%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java (87%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java (61%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java (52%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java (71%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java (88%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java (61%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java (54%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java (89%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java (78%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java (87%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java (71%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java (77%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java (72%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java (77%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java (75%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java (80%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java (66%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java (70%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java (65%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java (74%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto (96%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto (100%) rename {java-maps-routing => owl-bot-staging/java-maps-routing/v2}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto (100%) diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java deleted file mode 100644 index a7ea937c97bb..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java +++ /dev/null @@ -1,74 +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/routing/v2/fallback_info.proto - -package com.google.maps.routing.v2; - -public final class FallbackInfoProto { - private FallbackInfoProto() {} - - 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_routing_v2_FallbackInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" - + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" - + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" - + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" - + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" - + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" - + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" - + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" - + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" - + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" - + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." - + "routing.v2B\021FallbackInfoProtoP\001Z=google." - + "golang.org/genproto/googleapis/maps/rout" - + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." - + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" - + "ogle::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_routing_v2_FallbackInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_FallbackInfo_descriptor, - new java.lang.String[] { - "RoutingMode", "Reason", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java deleted file mode 100644 index 6c97294ff432..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java +++ /dev/null @@ -1,75 +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/routing/v2/location.proto - -package com.google.maps.routing.v2; - -public final class LocationProto { - private LocationProto() {} - - 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_routing_v2_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" - + "\026google.maps.routing.v2\032\036google/protobuf" - + "/wrappers.proto\032\030google/type/latlng.prot" - + "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." - + "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" - + "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" - + "uting.v2B\rLocationProtoP\001Z=google.golang" - + ".org/genproto/googleapis/maps/routing/v2" - + ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" - + "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" - + "Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Location_descriptor, - new java.lang.String[] { - "LatLng", "Heading", - }); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java deleted file mode 100644 index f6c50fb87124..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java +++ /dev/null @@ -1,61 +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/routing/v2/maneuver.proto - -package com.google.maps.routing.v2; - -public final class ManeuverProto { - private ManeuverProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/maneuver.proto\022" - + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" - + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" - + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" - + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" - + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" - + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" - + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" - + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" - + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" - + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" - + ".v2B\rManeuverProtoP\001Z=google.golang.org/" - + "genproto/googleapis/maps/routing/v2;rout" - + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" - + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" - + ":Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java deleted file mode 100644 index 13190eb8f396..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java +++ /dev/null @@ -1,73 +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/routing/v2/navigation_instruction.proto - -package com.google.maps.routing.v2; - -public final class NavigationInstructionProto { - private NavigationInstructionProto() {} - - 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_routing_v2_NavigationInstruction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/navigation_inst" - + "ruction.proto\022\026google.maps.routing.v2\032%g" - + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" - + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" - + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" - + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" - + "ing.v2B\032NavigationInstructionProtoP\001Z=go" - + "ogle.golang.org/genproto/googleapis/maps" - + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." - + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" - + "\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.ManeuverProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, - new java.lang.String[] { - "Maneuver", "Instructions", - }); - com.google.maps.routing.v2.ManeuverProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java deleted file mode 100644 index a743db5a4a31..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java +++ /dev/null @@ -1,78 +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/routing/v2/polyline.proto - -package com.google.maps.routing.v2; - -public final class PolylineProto { - private PolylineProto() {} - - 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_routing_v2_Polyline_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" - + "\026google.maps.routing.v2\032\034google/protobuf" - + "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" - + "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" - + "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" - + "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" - + "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" - + "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" - + "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" - + "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" - + "m.google.maps.routing.v2B\rPolylineProtoP" - + "\001Z=google.golang.org/genproto/googleapis" - + "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" - + "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" - + "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Polyline_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Polyline_descriptor, - new java.lang.String[] { - "EncodedPolyline", "GeoJsonLinestring", "PolylineType", - }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java deleted file mode 100644 index d2d2b74e93af..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java +++ /dev/null @@ -1,55 +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/routing/v2/route_label.proto - -package com.google.maps.routing.v2; - -public final class RouteLabelProto { - private RouteLabelProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_label.pro" - + "to\022\026google.maps.routing.v2*m\n\nRouteLabel" - + "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" - + "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" - + "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" - + "uting.v2B\017RouteLabelProtoP\001Z=google.gola" - + "ng.org/genproto/googleapis/maps/routing/" - + "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" - + "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" - + "::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java deleted file mode 100644 index f01f5afec580..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java +++ /dev/null @@ -1,84 +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/routing/v2/route_modifiers.proto - -package com.google.maps.routing.v2; - -public final class RouteModifiersProto { - private RouteModifiersProto() {} - - 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_routing_v2_RouteModifiers_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" - + ".proto\022\026google.maps.routing.v2\032(google/m" - + "aps/routing/v2/toll_passes.proto\032)google" - + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" - + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" - + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" - + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" - + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" - + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" - + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" - + "outing.v2B\023RouteModifiersProtoP\001Z=google" - + ".golang.org/genproto/googleapis/maps/rou" - + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" - + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" - + "oogle::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.TollPassesProto.getDescriptor(), - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_RouteModifiers_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteModifiers_descriptor, - new java.lang.String[] { - "AvoidTolls", - "AvoidHighways", - "AvoidFerries", - "AvoidIndoor", - "VehicleInfo", - "TollPasses", - }); - com.google.maps.routing.v2.TollPassesProto.getDescriptor(); - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java deleted file mode 100644 index 8fb18903f5a6..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java +++ /dev/null @@ -1,219 +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/routing/v2/route.proto - -package com.google.maps.routing.v2; - -public final class RouteProto { - private RouteProto() {} - - 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_routing_v2_Route_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Route_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLeg_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStep_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" - + "ogle.maps.routing.v2\032\036google/geo/type/vi" - + "ewport.proto\032%google/maps/routing/v2/loc" - + "ation.proto\0323google/maps/routing/v2/navi" - + "gation_instruction.proto\032%google/maps/ro" - + "uting/v2/polyline.proto\032(google/maps/rou" - + "ting/v2/route_label.proto\0323google/maps/r" - + "outing/v2/speed_reading_interval.proto\032&" - + "google/maps/routing/v2/toll_info.proto\032\036" - + "google/protobuf/duration.proto\"\316\003\n\005Route" - + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" - + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" - + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" - + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" - + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" - + "\0132\031.google.protobuf.Duration\0222\n\010polyline" - + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" - + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" - + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" - + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" - + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" - + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" - + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" - + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" - + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" - + "ingInterval\022$\n\034fuel_consumption_microlit" - + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" - + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" - + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" - + "(\0132,.google.maps.routing.v2.SpeedReading" - + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" - + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" - + ".maps.routing.v2.SpeedReadingInterval\"\250\003" - + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" - + "uration\030\002 \001(\0132\031.google.protobuf.Duration" - + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" - + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." - + "maps.routing.v2.Polyline\0228\n\016start_locati" - + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" - + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" - + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" - + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" - + "l_advisory\030\010 \001(\0132..google.maps.routing.v" - + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" - + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" - + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" - + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" - + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" - + "gle.maps.routing.v2.Location\0226\n\014end_loca" - + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" - + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" - + "oogle.maps.routing.v2.NavigationInstruct" - + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" - + "ps.routing.v2.RouteLegStepTravelAdvisory" - + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" - + "otoP\001Z=google.golang.org/genproto/google" - + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" - + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" - + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.maps.routing.v2.LocationProto.getDescriptor(), - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), - com.google.maps.routing.v2.TollInfoProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Route_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Route_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Route_descriptor, - new java.lang.String[] { - "RouteLabels", - "Legs", - "DistanceMeters", - "Duration", - "StaticDuration", - "Polyline", - "Description", - "Warnings", - "Viewport", - "TravelAdvisory", - "RouteToken", - }); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, - new java.lang.String[] { - "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", - }); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, - new java.lang.String[] { - "TollInfo", "SpeedReadingIntervals", - }); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, - new java.lang.String[] { - "SpeedReadingIntervals", - }); - internal_static_google_maps_routing_v2_RouteLeg_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLeg_descriptor, - new java.lang.String[] { - "DistanceMeters", - "Duration", - "StaticDuration", - "Polyline", - "StartLocation", - "EndLocation", - "Steps", - "TravelAdvisory", - }); - internal_static_google_maps_routing_v2_RouteLegStep_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStep_descriptor, - new java.lang.String[] { - "DistanceMeters", - "StaticDuration", - "Polyline", - "StartLocation", - "EndLocation", - "NavigationInstruction", - "TravelAdvisory", - }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); - com.google.maps.routing.v2.TollInfoProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java deleted file mode 100644 index aef7e626a506..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java +++ /dev/null @@ -1,55 +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/routing/v2/route_travel_mode.proto - -package com.google.maps.routing.v2; - -public final class RouteTravelModeProto { - private RouteTravelModeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_travel_mo" - + "de.proto\022\026google.maps.routing.v2*a\n\017Rout" - + "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" - + "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" - + "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." - + "v2B\024RouteTravelModeProtoP\001Z=google.golan" - + "g.org/genproto/googleapis/maps/routing/v" - + "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" - + "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" - + ":Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java deleted file mode 100644 index c849957989f0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java +++ /dev/null @@ -1,263 +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/routing/v2/routes_service.proto - -package com.google.maps.routing.v2; - -public final class RoutesServiceProto { - private RoutesServiceProto() {} - - 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_routing_v2_ComputeRoutesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." - + "proto\022\026google.maps.routing.v2\032\034google/ap" - + "i/annotations.proto\032\027google/api/client.p" - + "roto\032\037google/api/field_behavior.proto\032*g" - + "oogle/maps/routing/v2/fallback_info.prot" - + "o\032%google/maps/routing/v2/polyline.proto" - + "\032\"google/maps/routing/v2/route.proto\032,go" - + "ogle/maps/routing/v2/route_modifiers.pro" - + "to\032.google/maps/routing/v2/route_travel_" - + "mode.proto\032/google/maps/routing/v2/routi" - + "ng_preference.proto\032\"google/maps/routing" - + "/v2/units.proto\032%google/maps/routing/v2/" - + "waypoint.proto\032\036google/protobuf/duration" - + ".proto\032\037google/protobuf/timestamp.proto\032" - + "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" - + "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." - + "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" - + "\002 \001(\0132 .google.maps.routing.v2.WaypointB" - + "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" - + "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" - + "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" - + "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" - + "\0162).google.maps.routing.v2.RoutingPrefer" - + "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" - + "ogle.maps.routing.v2.PolylineQualityB\003\340A" - + "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" - + "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" - + "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" - + "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" - + ".google.maps.routing.v2.RouteModifiersB\003" - + "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" - + "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" - + "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" - + ".google.maps.routing.v2.ComputeRoutesReq" - + "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" - + "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" - + "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" - + "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." - + "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" - + ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" - + "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" - + "oogle.maps.routing.v2.RouteMatrixOriginB" - + "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" - + ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" - + "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" - + "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" - + "eference\030\004 \001(\0162).google.maps.routing.v2." - + "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" - + "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" - + "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" - + " .google.maps.routing.v2.WaypointB\003\340A\002\022D" - + "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" - + "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" - + "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" - + "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" - + "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" - + "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" - + "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" - + "on\030\t \001(\01623.google.maps.routing.v2.RouteM" - + "atrixElementCondition\022\027\n\017distance_meters" - + "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" - + "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" - + "oogle.protobuf.Duration\022D\n\017travel_adviso" - + "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" - + "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" - + "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" - + "rigin_indexB\024\n\022_destination_index*t\n\033Rou" - + "teMatrixElementCondition\022.\n*ROUTE_MATRIX" - + "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" - + "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" - + "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" - + "ng.v2.ComputeRoutesRequest\032-.google.maps" - + ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" - + "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" - + "omputeRouteMatrix\0221.google.maps.routing." - + "v2.ComputeRouteMatrixRequest\032*.google.ma" - + "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" - + "\"%/distanceMatrix/v2:computeRouteMatrix:" - + "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" - + "oogle.maps.routing.v2B\022RoutesServiceProt" - + "oP\001Z=google.golang.org/genproto/googleap" - + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" - + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" - + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" - + "to3" - }; - 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.routing.v2.FallbackInfoProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteProto.getDescriptor(), - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(), - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(), - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(), - com.google.maps.routing.v2.UnitsProto.getDescriptor(), - com.google.maps.routing.v2.WaypointProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor, - new java.lang.String[] { - "Origin", - "Destination", - "Intermediates", - "TravelMode", - "RoutingPreference", - "PolylineQuality", - "PolylineEncoding", - "DepartureTime", - "ComputeAlternativeRoutes", - "RouteModifiers", - "LanguageCode", - "Units", - "RequestedReferenceRoutes", - }); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor, - new java.lang.String[] { - "Routes", "FallbackInfo", - }); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor, - new java.lang.String[] { - "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", - }); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor, - new java.lang.String[] { - "Waypoint", "RouteModifiers", - }); - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor, - new java.lang.String[] { - "Waypoint", - }); - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor, - new java.lang.String[] { - "OriginIndex", - "DestinationIndex", - "Status", - "Condition", - "DistanceMeters", - "Duration", - "StaticDuration", - "TravelAdvisory", - "FallbackInfo", - "OriginIndex", - "DestinationIndex", - }); - 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.routing.v2.FallbackInfoProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteProto.getDescriptor(); - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(); - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(); - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(); - com.google.maps.routing.v2.UnitsProto.getDescriptor(); - com.google.maps.routing.v2.WaypointProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java deleted file mode 100644 index ff6abe39e2ae..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java +++ /dev/null @@ -1,56 +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/routing/v2/routing_preference.proto - -package com.google.maps.routing.v2; - -public final class RoutingPreferenceProto { - private RoutingPreferenceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/routing_prefere" - + "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" - + "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" - + "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" - + "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" - + "\n\032com.google.maps.routing.v2B\026RoutingPre" - + "ferenceProtoP\001Z=google.golang.org/genpro" - + "to/googleapis/maps/routing/v2;routing\370\001\001" - + "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" - + "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" - + "ng::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java deleted file mode 100644 index 31094d5dcea0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java +++ /dev/null @@ -1,77 +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/routing/v2/speed_reading_interval.proto - -package com.google.maps.routing.v2; - -public final class SpeedReadingIntervalProto { - private SpeedReadingIntervalProto() {} - - 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_routing_v2_SpeedReadingInterval_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/speed_reading_i" - + "nterval.proto\022\026google.maps.routing.v2\"\254\002" - + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" - + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" - + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." - + "google.maps.routing.v2.SpeedReadingInter" - + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" - + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" - + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" - + "polyline_point_indexB\321\001\n\032com.google.maps" - + ".routing.v2B\031SpeedReadingIntervalProtoP\001" - + "Z=google.golang.org/genproto/googleapis/" - + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" - + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" - + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, - new java.lang.String[] { - "StartPolylinePointIndex", - "EndPolylinePointIndex", - "Speed", - "StartPolylinePointIndex", - "EndPolylinePointIndex", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java deleted file mode 100644 index 2a9ed26f48f0..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.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/routing/v2/toll_info.proto - -package com.google.maps.routing.v2; - -public final class TollInfoProto { - private TollInfoProto() {} - - 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_routing_v2_TollInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" - + "\022\026google.maps.routing.v2\032\027google/type/mo" - + "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" - + "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" - + "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" - + "le.golang.org/genproto/googleapis/maps/r" - + "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" - + "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" - + "\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_TollInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_TollInfo_descriptor, - new java.lang.String[] { - "EstimatedPrice", - }); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java deleted file mode 100644 index c2008ea40f54..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java +++ /dev/null @@ -1,107 +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/routing/v2/toll_passes.proto - -package com.google.maps.routing.v2; - -public final class TollPassesProto { - private TollPassesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/toll_passes.pro" - + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" - + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" - + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" - + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" - + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" - + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" - + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" - + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" - + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" - + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" - + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" - + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" - + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" - + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" - + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" - + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" - + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" - + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" - + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" - + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" - + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" - + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" - + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" - + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" - + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" - + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" - + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" - + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" - + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" - + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" - + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" - + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" - + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" - + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" - + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" - + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" - + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" - + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" - + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" - + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" - + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" - + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" - + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" - + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" - + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" - + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" - + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" - + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" - + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" - + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" - + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" - + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" - + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" - + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" - + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" - + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" - + "ollPassesProtoP\001Z=google.golang.org/genp" - + "roto/googleapis/maps/routing/v2;routing\370" - + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" - + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" - + "ting::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java deleted file mode 100644 index cc81ec25ded8..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java +++ /dev/null @@ -1,54 +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/routing/v2/units.proto - -package com.google.maps.routing.v2; - -public final class UnitsProto { - private UnitsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/units.proto\022\026go" - + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" - + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" - + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" - + "oP\001Z=google.golang.org/genproto/googleap" - + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" - + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" - + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java deleted file mode 100644 index c8d9ac7c9dcc..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java +++ /dev/null @@ -1,56 +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/routing/v2/vehicle_emission_type.proto - -package com.google.maps.routing.v2; - -public final class VehicleEmissionTypeProto { - private VehicleEmissionTypeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/maps/routing/v2/vehicle_emissio" - + "n_type.proto\022\026google.maps.routing.v2*p\n\023" - + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" - + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" - + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" - + "oogle.maps.routing.v2B\030VehicleEmissionTy" - + "peProtoP\001Z=google.golang.org/genproto/go" - + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" - + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" - + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" - + "2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java deleted file mode 100644 index 9b6b78cf0360..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java +++ /dev/null @@ -1,73 +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/routing/v2/vehicle_info.proto - -package com.google.maps.routing.v2; - -public final class VehicleInfoProto { - private VehicleInfoProto() {} - - 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_routing_v2_VehicleInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" - + "oto\022\026google.maps.routing.v2\0322google/maps" - + "/routing/v2/vehicle_emission_type.proto\"" - + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." - + "google.maps.routing.v2.VehicleEmissionTy" - + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" - + "leInfoProtoP\001Z=google.golang.org/genprot" - + "o/googleapis/maps/routing/v2;routing\370\001\001\242" - + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" - + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" - + "g::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_VehicleInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_VehicleInfo_descriptor, - new java.lang.String[] { - "EmissionType", - }); - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java deleted file mode 100644 index dfabac701a3f..000000000000 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java +++ /dev/null @@ -1,74 +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/routing/v2/waypoint.proto - -package com.google.maps.routing.v2; - -public final class WaypointProto { - private WaypointProto() {} - - 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_routing_v2_Waypoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" - + "\026google.maps.routing.v2\032%google/maps/rou" - + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" - + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" - + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" - + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" - + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" - + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" - + "gle.golang.org/genproto/googleapis/maps/" - + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" - + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" - + "\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.LocationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Waypoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Waypoint_descriptor, - new java.lang.String[] { - "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", - }); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java similarity index 99% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java index 1e4eae9ddd14..385c731cf93f 100644 --- a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java +++ b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java @@ -26,6 +26,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; +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.routing.v2.stub.RoutesStubSettings; diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java diff --git a/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java b/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java similarity index 100% rename from java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java rename to owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java diff --git a/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java b/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java similarity index 68% rename from java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java rename to owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java index c58e60777cda..15ebf2b95ac9 100644 --- a/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java +++ b/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java @@ -1,25 +1,8 @@ -/* - * 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.routing.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * The Routes API.
  * 
@@ -35,148 +18,120 @@ private RoutesGrpc() {} public static final String SERVICE_NAME = "google.maps.routing.v2.Routes"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod; + private static volatile io.grpc.MethodDescriptor getComputeRoutesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRoutes", requestType = com.google.maps.routing.v2.ComputeRoutesRequest.class, responseType = com.google.maps.routing.v2.ComputeRoutesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod() { - io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse> - getComputeRoutesMethod; + public static io.grpc.MethodDescriptor getComputeRoutesMethod() { + io.grpc.MethodDescriptor getComputeRoutesMethod; if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { - RoutesGrpc.getComputeRoutesMethod = - getComputeRoutesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) - .build(); + RoutesGrpc.getComputeRoutesMethod = getComputeRoutesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) + .build(); } } } return getComputeRoutesMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod; + private static volatile io.grpc.MethodDescriptor getComputeRouteMatrixMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRouteMatrix", requestType = com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, responseType = com.google.maps.routing.v2.RouteMatrixElement.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod() { - io.grpc.MethodDescriptor< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement> - getComputeRouteMatrixMethod; + public static io.grpc.MethodDescriptor getComputeRouteMatrixMethod() { + io.grpc.MethodDescriptor getComputeRouteMatrixMethod; if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { - RoutesGrpc.getComputeRouteMatrixMethod = - getComputeRouteMatrixMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRouteMatrixRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) - .build(); + RoutesGrpc.getComputeRouteMatrixMethod = getComputeRouteMatrixMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) + .build(); } } } return getComputeRouteMatrixMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static RoutesStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesStub(channel, callOptions); + } + }; return RoutesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static RoutesBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static RoutesBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesBlockingStub(channel, callOptions); + } + }; return RoutesBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static RoutesFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static RoutesFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesFutureStub(channel, callOptions); + } + }; return RoutesFutureStub.newStub(factory, channel); } /** - * - * *
    * The Routes API.
    * 
*/ - public abstract static class RoutesImplBase implements io.grpc.BindableService { + public static abstract class RoutesImplBase implements io.grpc.BindableService { /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -210,17 +165,12 @@ public abstract static class RoutesImplBase implements io.grpc.BindableService {
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getComputeRoutesMethod(), responseObserver); + public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRoutesMethod(), responseObserver); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -254,55 +204,49 @@ public void computeRoutes(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix( - com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getComputeRouteMatrixMethod(), responseObserver); + public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRouteMatrixMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getComputeRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse>( - this, METHODID_COMPUTE_ROUTES))) + getComputeRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse>( + this, METHODID_COMPUTE_ROUTES))) .addMethod( - getComputeRouteMatrixMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement>( - this, METHODID_COMPUTE_ROUTE_MATRIX))) + getComputeRouteMatrixMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement>( + this, METHODID_COMPUTE_ROUTE_MATRIX))) .build(); } } /** - * - * *
    * The Routes API.
    * 
*/ public static final class RoutesStub extends io.grpc.stub.AbstractAsyncStub { - private RoutesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private RoutesStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -336,19 +280,13 @@ protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOpti
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -382,38 +320,31 @@ public void computeRoutes(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix( - com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * The Routes API.
    * 
*/ - public static final class RoutesBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RoutesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private RoutesBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesBlockingStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -447,15 +378,12 @@ protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * size, and thus higher network throughput.
      * 
*/ - public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getComputeRoutesMethod(), getCallOptions(), request); } /** - * - * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -497,26 +425,23 @@ public java.util.Iterator compute
   }
 
   /**
-   *
-   *
    * 
    * The Routes API.
    * 
*/ - public static final class RoutesFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RoutesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesFutureStub extends io.grpc.stub.AbstractFutureStub { + private RoutesFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesFutureStub(channel, callOptions); } /** - * - * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -550,9 +475,8 @@ protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * size, and thus higher network throughput.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.maps.routing.v2.ComputeRoutesResponse> - computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.common.util.concurrent.ListenableFuture computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request); } @@ -561,11 +485,11 @@ protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca private static final int METHODID_COMPUTE_ROUTES = 0; private static final int METHODID_COMPUTE_ROUTE_MATRIX = 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 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 RoutesImplBase serviceImpl; private final int methodId; @@ -579,16 +503,12 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPUTE_ROUTES: - serviceImpl.computeRoutes( - (com.google.maps.routing.v2.ComputeRoutesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.computeRoutes((com.google.maps.routing.v2.ComputeRoutesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COMPUTE_ROUTE_MATRIX: - serviceImpl.computeRouteMatrix( - (com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.computeRouteMatrix((com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -606,9 +526,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class RoutesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class RoutesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { RoutesBaseDescriptorSupplier() {} @java.lang.Override @@ -622,11 +541,13 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class RoutesFileDescriptorSupplier extends RoutesBaseDescriptorSupplier { + private static final class RoutesFileDescriptorSupplier + extends RoutesBaseDescriptorSupplier { RoutesFileDescriptorSupplier() {} } - private static final class RoutesMethodDescriptorSupplier extends RoutesBaseDescriptorSupplier + private static final class RoutesMethodDescriptorSupplier + extends RoutesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -648,13 +569,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (RoutesGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) - .addMethod(getComputeRoutesMethod()) - .addMethod(getComputeRouteMatrixMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) + .addMethod(getComputeRoutesMethod()) + .addMethod(getComputeRouteMatrixMethod()) + .build(); } } } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java similarity index 67% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java index dca76525db57..88a8453e8a0f 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRouteMatrix request message
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ -public final class ComputeRouteMatrixRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRouteMatrixRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRouteMatrixRequest) ComputeRouteMatrixRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRouteMatrixRequest.newBuilder() to construct. private ComputeRouteMatrixRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRouteMatrixRequest() { origins_ = java.util.Collections.emptyList(); destinations_ = java.util.Collections.emptyList(); @@ -46,35 +28,32 @@ private ComputeRouteMatrixRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRouteMatrixRequest(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, - com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } public static final int ORIGINS_FIELD_NUMBER = 1; private java.util.List origins_; /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -87,17 +66,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getOriginsList() { return origins_; } /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -110,18 +85,14 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getOriginsOrBuilderList() { return origins_; } /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -134,17 +105,13 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getOriginsCount() { return origins_.size(); } /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -157,17 +124,13 @@ public int getOriginsCount() {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { return origins_.get(index); } /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -180,93 +143,72 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index) { return origins_.get(index); } public static final int DESTINATIONS_FIELD_NUMBER = 2; private java.util.List destinations_; /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getDestinationsList() { return destinations_; } /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getDestinationsOrBuilderList() { return destinations_; } /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getDestinationsCount() { return destinations_.size(); } /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { return destinations_.get(index); } /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( @@ -277,109 +219,75 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination public static final int TRAVEL_MODE_FIELD_NUMBER = 3; private int travelMode_; /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 4; private int routingPreference_; /** - * - * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
    * preference results in an error or an extra long latency, an error is
-   * returned. In the future, we might implement a fallback mechanism to use a
-   * different option when the preferred option does not give a valid result.
-   * You can specify this option only when the `travel_mode` is `DRIVE` or
-   * `TWO_WHEELER`, otherwise the request fails.
+   * returned. You can specify this option only when the `travel_mode` is
+   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
    * preference results in an error or an extra long latency, an error is
-   * returned. In the future, we might implement a fallback mechanism to use a
-   * different option when the preferred option does not give a valid result.
-   * You can specify this option only when the `travel_mode` is `DRIVE` or
-   * `TWO_WHEELER`, otherwise the request fails.
+   * returned. You can specify this option only when the `travel_mode` is
+   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ - @java.lang.Override - public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp departureTime_; /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ @java.lang.Override @@ -387,36 +295,27 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -424,7 +323,6 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,20 +334,18 @@ 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 { for (int i = 0; i < origins_.size(); i++) { output.writeMessage(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { output.writeMessage(2, destinations_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(4, routingPreference_); } if (departureTime_ != null) { @@ -465,22 +361,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < origins_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, origins_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, destinations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, destinations_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, travelMode_); + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, routingPreference_); + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, routingPreference_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDepartureTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -490,21 +388,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.routing.v2.ComputeRouteMatrixRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRouteMatrixRequest other = - (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; + com.google.maps.routing.v2.ComputeRouteMatrixRequest other = (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; - if (!getOriginsList().equals(other.getOriginsList())) return false; - if (!getDestinationsList().equals(other.getDestinationsList())) return false; + if (!getOriginsList() + .equals(other.getOriginsList())) return false; + if (!getDestinationsList() + .equals(other.getDestinationsList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime().equals(other.getDepartureTime())) return false; + if (!getDepartureTime() + .equals(other.getDepartureTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -539,135 +439,129 @@ public int hashCode() { } public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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; } /** - * - * *
    * ComputeRouteMatrix request message
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ - 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.routing.v2.ComputeRouteMatrixRequest) com.google.maps.routing.v2.ComputeRouteMatrixRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, - com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRouteMatrixRequest.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(); @@ -699,9 +593,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override @@ -720,8 +614,7 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRouteMatrixRequest buildPartial() { - com.google.maps.routing.v2.ComputeRouteMatrixRequest result = - new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); + com.google.maps.routing.v2.ComputeRouteMatrixRequest result = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); int from_bitField0_ = bitField0_; if (originsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -756,39 +649,38 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest)other); } else { super.mergeFrom(other); return this; @@ -796,8 +688,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest other) { - if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) return this; if (originsBuilder_ == null) { if (!other.origins_.isEmpty()) { if (origins_.isEmpty()) { @@ -816,10 +707,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot originsBuilder_ = null; origins_ = other.origins_; bitField0_ = (bitField0_ & ~0x00000001); - originsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOriginsFieldBuilder() - : null; + originsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOriginsFieldBuilder() : null; } else { originsBuilder_.addAllMessages(other.origins_); } @@ -843,10 +733,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot destinationsBuilder_ = null; destinations_ = other.destinations_; bitField0_ = (bitField0_ & ~0x00000002); - destinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDestinationsFieldBuilder() - : null; + destinationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDestinationsFieldBuilder() : null; } else { destinationsBuilder_.addAllMessages(other.destinations_); } @@ -887,58 +776,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.maps.routing.v2.RouteMatrixOrigin m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixOrigin.parser(), extensionRegistry); - if (originsBuilder_ == null) { - ensureOriginsIsMutable(); - origins_.add(m); - } else { - originsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.maps.routing.v2.RouteMatrixDestination m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixDestination.parser(), - extensionRegistry); - if (destinationsBuilder_ == null) { - ensureDestinationsIsMutable(); - destinations_.add(m); - } else { - destinationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: - { - travelMode_ = input.readEnum(); + case 10: { + com.google.maps.routing.v2.RouteMatrixOrigin m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixOrigin.parser(), + extensionRegistry); + if (originsBuilder_ == null) { + ensureOriginsIsMutable(); + origins_.add(m); + } else { + originsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.maps.routing.v2.RouteMatrixDestination m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixDestination.parser(), + extensionRegistry); + if (destinationsBuilder_ == null) { + ensureDestinationsIsMutable(); + destinations_.add(m); + } else { + destinationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: { + travelMode_ = input.readEnum(); - break; - } // case 24 - case 32: - { - routingPreference_ = input.readEnum(); + break; + } // case 24 + case 32: { + routingPreference_ = input.readEnum(); - break; - } // case 32 - case 42: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 32 + case 42: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -948,28 +834,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List origins_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOriginsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { origins_ = new java.util.ArrayList(origins_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> - originsBuilder_; + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> originsBuilder_; /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -982,9 +861,7 @@ private void ensureOriginsIsMutable() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getOriginsList() { if (originsBuilder_ == null) { @@ -994,8 +871,6 @@ public java.util.List getOriginsLi } } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1008,9 +883,7 @@ public java.util.List getOriginsLi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getOriginsCount() { if (originsBuilder_ == null) { @@ -1020,8 +893,6 @@ public int getOriginsCount() { } } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1034,9 +905,7 @@ public int getOriginsCount() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { if (originsBuilder_ == null) { @@ -1046,8 +915,6 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { } } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1060,11 +927,10 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder setOrigins( + int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1078,8 +944,6 @@ public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1092,9 +956,7 @@ public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1108,8 +970,6 @@ public Builder setOrigins( return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1122,9 +982,7 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { @@ -1140,8 +998,6 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1154,11 +1010,10 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder addOrigins( + int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1172,8 +1027,6 @@ public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1186,9 +1039,7 @@ public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigi
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins( com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1202,8 +1053,6 @@ public Builder addOrigins( return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1216,9 +1065,7 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1232,8 +1079,6 @@ public Builder addOrigins( return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1246,15 +1091,14 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllOrigins( java.lang.Iterable values) { if (originsBuilder_ == null) { ensureOriginsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, origins_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, origins_); onChanged(); } else { originsBuilder_.addAllMessages(values); @@ -1262,8 +1106,6 @@ public Builder addAllOrigins( return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1276,9 +1118,7 @@ public Builder addAllOrigins(
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOrigins() { if (originsBuilder_ == null) { @@ -1291,8 +1131,6 @@ public Builder clearOrigins() { return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1305,9 +1143,7 @@ public Builder clearOrigins() {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeOrigins(int index) { if (originsBuilder_ == null) { @@ -1320,8 +1156,6 @@ public Builder removeOrigins(int index) { return this; } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1334,16 +1168,13 @@ public Builder removeOrigins(int index) {
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder( + int index) { return getOriginsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1356,20 +1187,16 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(in
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index) { if (originsBuilder_ == null) { - return origins_.get(index); - } else { + return origins_.get(index); } else { return originsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1382,12 +1209,10 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOriginsOrBuilderList() { + public java.util.List + getOriginsOrBuilderList() { if (originsBuilder_ != null) { return originsBuilder_.getMessageOrBuilderList(); } else { @@ -1395,8 +1220,6 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder } } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1409,17 +1232,13 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder() { - return getOriginsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + return getOriginsFieldBuilder().addBuilder( + com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1432,17 +1251,14 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder()
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(int index) { - return getOriginsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder( + int index) { + return getOriginsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** - * - * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1455,61 +1271,46 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(in
      * must be no greater than 50.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getOriginsBuilderList() { + public java.util.List + getOriginsBuilderList() { return getOriginsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> getOriginsFieldBuilder() { if (originsBuilder_ == null) { - originsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder, - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( - origins_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + originsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( + origins_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); origins_ = null; } return originsBuilder_; } private java.util.List destinations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDestinationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - destinations_ = - new java.util.ArrayList( - destinations_); + destinations_ = new java.util.ArrayList(destinations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> - destinationsBuilder_; + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> destinationsBuilder_; /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getDestinationsList() { if (destinationsBuilder_ == null) { @@ -1519,16 +1320,12 @@ public java.util.List getDest } } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getDestinationsCount() { if (destinationsBuilder_ == null) { @@ -1538,16 +1335,12 @@ public int getDestinationsCount() { } } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1557,16 +1350,12 @@ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int ind } } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1583,16 +1372,12 @@ public Builder setDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1606,16 +1391,12 @@ public Builder setDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination value) { if (destinationsBuilder_ == null) { @@ -1631,16 +1412,12 @@ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1657,16 +1434,12 @@ public Builder addDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1680,16 +1453,12 @@ public Builder addDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1703,22 +1472,19 @@ public Builder addDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllDestinations( java.lang.Iterable values) { if (destinationsBuilder_ == null) { ensureDestinationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, destinations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, destinations_); onChanged(); } else { destinationsBuilder_.addAllMessages(values); @@ -1726,16 +1492,12 @@ public Builder addAllDestinations( return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestinations() { if (destinationsBuilder_ == null) { @@ -1748,16 +1510,12 @@ public Builder clearDestinations() { return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1770,55 +1528,42 @@ public Builder removeDestinations(int index) { return this; } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder getDestinationsBuilder( int index) { return getDestinationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( int index) { if (destinationsBuilder_ == null) { - return destinations_.get(index); - } else { + return destinations_.get(index); } else { return destinationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getDestinationsOrBuilderList() { + public java.util.List + getDestinationsOrBuilderList() { if (destinationsBuilder_ != null) { return destinationsBuilder_.getMessageOrBuilderList(); } else { @@ -1826,68 +1571,52 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination } } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder() { - return getDestinationsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder().addBuilder( + com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder( int index) { - return getDestinationsFieldBuilder() - .addBuilder( - index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** - * - * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getDestinationsBuilderList() { + public java.util.List + getDestinationsBuilderList() { return getDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> getDestinationsFieldBuilder() { if (destinationsBuilder_ == null) { - destinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, - com.google.maps.routing.v2.RouteMatrixDestination.Builder, - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( - destinations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + destinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( + destinations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); destinations_ = null; } return destinationsBuilder_; @@ -1895,73 +1624,51 @@ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinations private int travelMode_ = 0; /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The travelMode to set. * @return This builder for chaining. */ @@ -1969,26 +1676,21 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -1996,97 +1698,67 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** - * - * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
      * preference results in an error or an extra long latency, an error is
-     * returned. In the future, we might implement a fallback mechanism to use a
-     * different option when the preferred option does not give a valid result.
-     * You can specify this option only when the `travel_mode` is `DRIVE` or
-     * `TWO_WHEELER`, otherwise the request fails.
+     * returned. You can specify this option only when the `travel_mode` is
+     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
      * preference results in an error or an extra long latency, an error is
-     * returned. In the future, we might implement a fallback mechanism to use a
-     * different option when the preferred option does not give a valid result.
-     * You can specify this option only when the `travel_mode` is `DRIVE` or
-     * `TWO_WHEELER`, otherwise the request fails.
+     * returned. You can specify this option only when the `travel_mode` is
+     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
      * preference results in an error or an extra long latency, an error is
-     * returned. In the future, we might implement a fallback mechanism to use a
-     * different option when the preferred option does not give a valid result.
-     * You can specify this option only when the `travel_mode` is `DRIVE` or
-     * `TWO_WHEELER`, otherwise the request fails.
+     * returned. You can specify this option only when the `travel_mode` is
+     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
      * preference results in an error or an extra long latency, an error is
-     * returned. In the future, we might implement a fallback mechanism to use a
-     * different option when the preferred option does not give a valid result.
-     * You can specify this option only when the `travel_mode` is `DRIVE` or
-     * `TWO_WHEELER`, otherwise the request fails.
+     * returned. You can specify this option only when the `travel_mode` is
+     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2094,32 +1766,25 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
      * preference results in an error or an extra long latency, an error is
-     * returned. In the future, we might implement a fallback mechanism to use a
-     * different option when the preferred option does not give a valid result.
-     * You can specify this option only when the `travel_mode` is `DRIVE` or
-     * `TWO_WHEELER`, otherwise the request fails.
+     * returned. You can specify this option only when the `travel_mode` is
+     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2127,64 +1792,45 @@ public Builder clearRoutingPreference() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - departureTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -2200,19 +1846,16 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -2223,25 +1866,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); } else { departureTime_ = value; } @@ -2253,17 +1890,13 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -2277,77 +1910,61 @@ public Builder clearDepartureTime() { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } } /** - * - * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), getParentForChildren(), isClean()); + departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), + getParentForChildren(), + isClean()); departureTime_ = null; } return departureTimeBuilder_; } - @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); } @@ -2357,12 +1974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) private static final com.google.maps.routing.v2.ComputeRouteMatrixRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(); } @@ -2371,27 +1988,27 @@ public static com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRouteMatrixRequest 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 ComputeRouteMatrixRequest 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; @@ -2406,4 +2023,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java similarity index 64% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java index 5f58695ae18a..595165584948 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRouteMatrixRequestOrBuilder - extends +public interface ComputeRouteMatrixRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRouteMatrixRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -38,14 +20,11 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getOriginsList(); + java.util.List + getOriginsList(); /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -58,14 +37,10 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index); /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -78,14 +53,10 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getOriginsCount(); /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -98,15 +69,11 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getOriginsOrBuilderList(); /** - * - * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -119,190 +86,136 @@ public interface ComputeRouteMatrixRequestOrBuilder
    * must be no greater than 50.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index); + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( + int index); /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getDestinationsList(); + java.util.List + getDestinationsList(); /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index); /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getDestinationsCount(); /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getDestinationsOrBuilderList(); /** - * - * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder(int index); + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( + int index); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** - * - * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
    * preference results in an error or an extra long latency, an error is
-   * returned. In the future, we might implement a fallback mechanism to use a
-   * different option when the preferred option does not give a valid result.
-   * You can specify this option only when the `travel_mode` is `DRIVE` or
-   * `TWO_WHEELER`, otherwise the request fails.
+   * returned. You can specify this option only when the `travel_mode` is
+   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** - * - * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
    * preference results in an error or an extra long latency, an error is
-   * returned. In the future, we might implement a fallback mechanism to use a
-   * different option when the preferred option does not give a valid result.
-   * You can specify this option only when the `travel_mode` is `DRIVE` or
-   * `TWO_WHEELER`, otherwise the request fails.
+   * returned. You can specify this option only when the `travel_mode` is
+   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java similarity index 67% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java index d8186feee889..ec842b0e3a96 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRoutes request message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ -public final class ComputeRoutesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRoutesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesRequest) ComputeRoutesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRoutesRequest.newBuilder() to construct. private ComputeRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRoutesRequest() { intermediates_ = java.util.Collections.emptyList(); travelMode_ = 0; @@ -50,43 +32,39 @@ private ComputeRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRoutesRequest(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, - com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } /** - * - * *
    * A supported reference route on the ComputeRoutesRequest.
    * 
* * Protobuf enum {@code google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute} */ - public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { + public enum ReferenceRoute + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used. Requests containing this value fail.
      * 
@@ -95,8 +73,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { */ REFERENCE_ROUTE_UNSPECIFIED(0), /** - * - * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -109,8 +85,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not used. Requests containing this value fail.
      * 
@@ -119,8 +93,6 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REFERENCE_ROUTE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -130,6 +102,7 @@ public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FUEL_EFFICIENT_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,47 +127,48 @@ public static ReferenceRoute valueOf(int value) {
      */
     public static ReferenceRoute forNumber(int value) {
       switch (value) {
-        case 0:
-          return REFERENCE_ROUTE_UNSPECIFIED;
-        case 1:
-          return FUEL_EFFICIENT;
-        default:
-          return null;
+        case 0: return REFERENCE_ROUTE_UNSPECIFIED;
+        case 1: return FUEL_EFFICIENT;
+        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<
+        ReferenceRoute> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ReferenceRoute findValueByNumber(int number) {
+              return ReferenceRoute.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ReferenceRoute findValueByNumber(int number) {
-            return ReferenceRoute.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.routing.v2.ComputeRoutesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReferenceRoute[] VALUES = values();
 
-    public static ReferenceRoute valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReferenceRoute 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;
@@ -214,15 +188,11 @@ private ReferenceRoute(int value) {
   public static final int ORIGIN_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.Waypoint origin_;
   /**
-   *
-   *
    * 
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ @java.lang.Override @@ -230,15 +200,11 @@ public boolean hasOrigin() { return origin_ != null; } /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ @java.lang.Override @@ -246,14 +212,11 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { @@ -263,16 +226,11 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { public static final int DESTINATION_FIELD_NUMBER = 2; private com.google.maps.routing.v2.Waypoint destination_; /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ @java.lang.Override @@ -280,34 +238,23 @@ public boolean hasDestination() { return destination_ != null; } /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getDestination() { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { @@ -317,278 +264,199 @@ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { public static final int INTERMEDIATES_FIELD_NUMBER = 3; private java.util.List intermediates_; /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getIntermediatesList() { return intermediates_; } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getIntermediatesOrBuilderList() { return intermediates_; } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getIntermediatesCount() { return intermediates_.size(); } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { return intermediates_.get(index); } /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index) { return intermediates_.get(index); } public static final int TRAVEL_MODE_FIELD_NUMBER = 4; private int travelMode_; /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 5; private int routingPreference_; /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
    *  the routing preference results in an error or an extra long latency, then
-   * an error is returned. In the future, we might implement a fallback
-   * mechanism to use a different option when the preferred option does not give
-   * a valid result. You can specify this option only when the `travel_mode` is
-   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+   * an error is returned. You can specify this option only when the
+   * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
    *  the routing preference results in an error or an extra long latency, then
-   * an error is returned. In the future, we might implement a fallback
-   * mechanism to use a different option when the preferred option does not give
-   * a valid result. You can specify this option only when the `travel_mode` is
-   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+   * an error is returned. You can specify this option only when the
+   * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ - @java.lang.Override - public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int POLYLINE_QUALITY_FIELD_NUMBER = 6; private int polylineQuality_; /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override - public int getPolylineQualityValue() { + @java.lang.Override public int getPolylineQualityValue() { return polylineQuality_; } /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ - @java.lang.Override - public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { + @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = - com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } public static final int POLYLINE_ENCODING_FIELD_NUMBER = 12; private int polylineEncoding_; /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override - public int getPolylineEncodingValue() { + @java.lang.Override public int getPolylineEncodingValue() { return polylineEncoding_; } /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ - @java.lang.Override - public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { + @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = - com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp departureTime_; /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ @java.lang.Override @@ -596,36 +464,27 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -635,15 +494,12 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { public static final int COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER = 8; private boolean computeAlternativeRoutes_; /** - * - * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -654,17 +510,12 @@ public boolean getComputeAlternativeRoutes() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -672,36 +523,25 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -711,8 +551,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -723,7 +561,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ @java.lang.Override @@ -732,15 +569,14 @@ 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; } } /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -751,15 +587,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -770,8 +607,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int UNITS_FIELD_NUMBER = 11; private int units_; /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -780,18 +615,13 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ - @java.lang.Override - public int getUnitsValue() { + @java.lang.Override public int getUnitsValue() { return units_; } /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -800,13 +630,10 @@ public int getUnitsValue() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ - @java.lang.Override - public com.google.maps.routing.v2.Units getUnits() { + @java.lang.Override public com.google.maps.routing.v2.Units getUnits() { @SuppressWarnings("deprecation") com.google.maps.routing.v2.Units result = com.google.maps.routing.v2.Units.valueOf(units_); return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; @@ -815,23 +642,16 @@ public com.google.maps.routing.v2.Units getUnits() { public static final int REQUESTED_REFERENCE_ROUTES_FIELD_NUMBER = 14; private java.util.List requestedReferenceRoutes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> - requestedReferenceRoutes_converter_ = + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> requestedReferenceRoutes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>() { - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert( - java.lang.Integer from) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); - return result == null - ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED - : result; + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); + return result == null ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED : result; } }; /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -840,22 +660,15 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ @java.lang.Override - public java.util.List - getRequestedReferenceRoutesList() { + public java.util.List getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( - requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -864,10 +677,7 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ @java.lang.Override @@ -875,8 +685,6 @@ public int getRequestedReferenceRoutesCount() { return requestedReferenceRoutes_.size(); } /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -885,21 +693,15 @@ public int getRequestedReferenceRoutesCount() {
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ @java.lang.Override - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( - int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -908,19 +710,15 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ @java.lang.Override - public java.util.List getRequestedReferenceRoutesValueList() { + public java.util.List + getRequestedReferenceRoutesValueList() { return requestedReferenceRoutes_; } /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -929,10 +727,7 @@ public java.util.List getRequestedReferenceRoutesValueList()
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -940,11 +735,9 @@ public java.util.List getRequestedReferenceRoutesValueList() public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } - private int requestedReferenceRoutesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -956,7 +749,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 { getSerializedSize(); if (origin_ != null) { output.writeMessage(1, getOrigin()); @@ -967,17 +761,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < intermediates_.size(); i++) { output.writeMessage(3, intermediates_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, routingPreference_); } - if (polylineQuality_ - != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, polylineQuality_); } if (departureTime_ != null) { @@ -995,8 +785,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { output.writeEnum(11, units_); } - if (polylineEncoding_ - != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(12, polylineEncoding_); } if (getRequestedReferenceRoutesList().size() > 0) { @@ -1016,59 +805,63 @@ public int getSerializedSize() { size = 0; if (origin_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOrigin()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOrigin()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDestination()); } for (int i = 0; i < intermediates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, intermediates_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, intermediates_.get(i)); } - if (travelMode_ - != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, travelMode_); + if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, travelMode_); } - if (routingPreference_ - != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, routingPreference_); + if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, routingPreference_); } - if (polylineQuality_ - != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, polylineQuality_); + if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, polylineQuality_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getDepartureTime()); } if (computeAlternativeRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, computeAlternativeRoutes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, computeAlternativeRoutes_); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getRouteModifiers()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, units_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, units_); } - if (polylineEncoding_ - != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, polylineEncoding_); + if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, polylineEncoding_); } { int dataSize = 0; for (int i = 0; i < requestedReferenceRoutes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( - requestedReferenceRoutes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(requestedReferenceRoutes_.get(i)); } size += dataSize; - if (!getRequestedReferenceRoutesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - requestedReferenceRoutesMemoizedSerializedSize = dataSize; + if (!getRequestedReferenceRoutesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }requestedReferenceRoutesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1078,37 +871,43 @@ 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.routing.v2.ComputeRoutesRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRoutesRequest other = - (com.google.maps.routing.v2.ComputeRoutesRequest) obj; + com.google.maps.routing.v2.ComputeRoutesRequest other = (com.google.maps.routing.v2.ComputeRoutesRequest) obj; if (hasOrigin() != other.hasOrigin()) return false; if (hasOrigin()) { - if (!getOrigin().equals(other.getOrigin())) return false; + if (!getOrigin() + .equals(other.getOrigin())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination().equals(other.getDestination())) return false; + if (!getDestination() + .equals(other.getDestination())) return false; } - if (!getIntermediatesList().equals(other.getIntermediatesList())) return false; + if (!getIntermediatesList() + .equals(other.getIntermediatesList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (polylineQuality_ != other.polylineQuality_) return false; if (polylineEncoding_ != other.polylineEncoding_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime().equals(other.getDepartureTime())) return false; + if (!getDepartureTime() + .equals(other.getDepartureTime())) return false; } - if (getComputeAlternativeRoutes() != other.getComputeAlternativeRoutes()) return false; + if (getComputeAlternativeRoutes() + != other.getComputeAlternativeRoutes()) return false; if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers() + .equals(other.getRouteModifiers())) return false; } - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (units_ != other.units_) return false; if (!requestedReferenceRoutes_.equals(other.requestedReferenceRoutes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1147,7 +946,8 @@ public int hashCode() { hash = (53 * hash) + getDepartureTime().hashCode(); } hash = (37 * hash) + COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getComputeAlternativeRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getComputeAlternativeRoutes()); if (hasRouteModifiers()) { hash = (37 * hash) + ROUTE_MODIFIERS_FIELD_NUMBER; hash = (53 * hash) + getRouteModifiers().hashCode(); @@ -1165,136 +965,130 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.ComputeRoutesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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; } /** - * - * *
    * ComputeRoutes request message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ - 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.routing.v2.ComputeRoutesRequest) com.google.maps.routing.v2.ComputeRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, - com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesRequest.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(); @@ -1349,9 +1143,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override @@ -1370,8 +1164,7 @@ public com.google.maps.routing.v2.ComputeRoutesRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { - com.google.maps.routing.v2.ComputeRoutesRequest result = - new com.google.maps.routing.v2.ComputeRoutesRequest(this); + com.google.maps.routing.v2.ComputeRoutesRequest result = new com.google.maps.routing.v2.ComputeRoutesRequest(this); int from_bitField0_ = bitField0_; if (originBuilder_ == null) { result.origin_ = origin_; @@ -1410,8 +1203,7 @@ public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { result.languageCode_ = languageCode_; result.units_ = units_; if (((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = - java.util.Collections.unmodifiableList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = java.util.Collections.unmodifiableList(requestedReferenceRoutes_); bitField0_ = (bitField0_ & ~0x00000002); } result.requestedReferenceRoutes_ = requestedReferenceRoutes_; @@ -1423,39 +1215,38 @@ public com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest)other); } else { super.mergeFrom(other); return this; @@ -1463,8 +1254,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) { - if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) return this; if (other.hasOrigin()) { mergeOrigin(other.getOrigin()); } @@ -1489,10 +1279,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) intermediatesBuilder_ = null; intermediates_ = other.intermediates_; bitField0_ = (bitField0_ & ~0x00000001); - intermediatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIntermediatesFieldBuilder() - : null; + intermediatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIntermediatesFieldBuilder() : null; } else { intermediatesBuilder_.addAllMessages(other.intermediates_); } @@ -1562,111 +1351,105 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - com.google.maps.routing.v2.Waypoint m = - input.readMessage( - com.google.maps.routing.v2.Waypoint.parser(), extensionRegistry); - if (intermediatesBuilder_ == null) { - ensureIntermediatesIsMutable(); - intermediates_.add(m); - } else { - intermediatesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - travelMode_ = input.readEnum(); - - break; - } // case 32 - case 40: - { - routingPreference_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - polylineQuality_ = input.readEnum(); - - break; - } // case 48 - case 58: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 64: - { - computeAlternativeRoutes_ = input.readBool(); - - break; - } // case 64 - case 74: - { - input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 82: - { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: - { - units_ = input.readEnum(); - - break; - } // case 88 - case 96: - { - polylineEncoding_ = input.readEnum(); - - break; - } // case 96 - case 112: - { + case 10: { + input.readMessage( + getOriginFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getDestinationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + com.google.maps.routing.v2.Waypoint m = + input.readMessage( + com.google.maps.routing.v2.Waypoint.parser(), + extensionRegistry); + if (intermediatesBuilder_ == null) { + ensureIntermediatesIsMutable(); + intermediates_.add(m); + } else { + intermediatesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + travelMode_ = input.readEnum(); + + break; + } // case 32 + case 40: { + routingPreference_ = input.readEnum(); + + break; + } // case 40 + case 48: { + polylineQuality_ = input.readEnum(); + + break; + } // case 48 + case 58: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 64: { + computeAlternativeRoutes_ = input.readBool(); + + break; + } // case 64 + case 74: { + input.readMessage( + getRouteModifiersFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + case 82: { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: { + units_ = input.readEnum(); + + break; + } // case 88 + case 96: { + polylineEncoding_ = input.readEnum(); + + break; + } // case 96 + case 112: { + int tmpRaw = input.readEnum(); + ensureRequestedReferenceRoutesIsMutable(); + requestedReferenceRoutes_.add(tmpRaw); + break; + } // case 112 + case 114: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.add(tmpRaw); - break; - } // case 112 - case 114: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureRequestedReferenceRoutesIsMutable(); - requestedReferenceRoutes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 114 + 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) { @@ -1676,40 +1459,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.maps.routing.v2.Waypoint origin_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - originBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> originBuilder_; /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ public boolean hasOrigin() { return originBuilder_ != null || origin_ != null; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ public com.google.maps.routing.v2.Waypoint getOrigin() { @@ -1720,14 +1491,11 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { } } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { @@ -1743,16 +1511,14 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setOrigin( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (originBuilder_ == null) { origin_ = builderForValue.build(); onChanged(); @@ -1763,22 +1529,17 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForV return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { if (origin_ != null) { origin_ = - com.google.maps.routing.v2.Waypoint.newBuilder(origin_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(origin_).mergeFrom(value).buildPartial(); } else { origin_ = value; } @@ -1790,14 +1551,11 @@ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOrigin() { if (originBuilder_ == null) { @@ -1811,59 +1569,48 @@ public Builder clearOrigin() { return this; } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getOriginBuilder() { - + onChanged(); return getOriginFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { if (originBuilder_ != null) { return originBuilder_.getMessageOrBuilder(); } else { - return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; + return origin_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } } /** - * - * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { - originBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getOrigin(), getParentForChildren(), isClean()); + originBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getOrigin(), + getParentForChildren(), + isClean()); origin_ = null; } return originBuilder_; @@ -1871,58 +1618,39 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { private com.google.maps.routing.v2.Waypoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - destinationBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> destinationBuilder_; /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ public boolean hasDestination() { return destinationBuilder_ != null || destination_ != null; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ public com.google.maps.routing.v2.Waypoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } else { return destinationBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { @@ -1938,17 +1666,14 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setDestination( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (destinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1959,23 +1684,17 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builde return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { if (destination_ != null) { destination_ = - com.google.maps.routing.v2.Waypoint.newBuilder(destination_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(destination_).mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -1987,15 +1706,11 @@ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDestination() { if (destinationBuilder_ == null) { @@ -2009,98 +1724,73 @@ public Builder clearDestination() { return this; } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getDestinationBuilder() { - + onChanged(); return getDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : destination_; + return destination_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; } } /** - * - * *
      * Required. Destination waypoint.
      * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getDestination(), getParentForChildren(), isClean()); + destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getDestination(), + getParentForChildren(), + isClean()); destination_ = null; } return destinationBuilder_; } private java.util.List intermediates_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIntermediatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - intermediates_ = - new java.util.ArrayList(intermediates_); + intermediates_ = new java.util.ArrayList(intermediates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - intermediatesBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> intermediatesBuilder_; /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getIntermediatesList() { if (intermediatesBuilder_ == null) { @@ -2110,17 +1800,13 @@ public java.util.List getIntermediatesList( } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getIntermediatesCount() { if (intermediatesBuilder_ == null) { @@ -2130,17 +1816,13 @@ public int getIntermediatesCount() { } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2150,19 +1832,16 @@ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { + public Builder setIntermediates( + int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2176,17 +1855,13 @@ public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint v return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -2200,17 +1875,13 @@ public Builder setIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { @@ -2226,19 +1897,16 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { + public Builder addIntermediates( + int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2252,19 +1920,16 @@ public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint v return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder addIntermediates( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); intermediates_.add(builderForValue.build()); @@ -2275,17 +1940,13 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder buil return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -2299,23 +1960,20 @@ public Builder addIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllIntermediates( java.lang.Iterable values) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, intermediates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, intermediates_); onChanged(); } else { intermediatesBuilder_.addAllMessages(values); @@ -2323,17 +1981,13 @@ public Builder addAllIntermediates( return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIntermediates() { if (intermediatesBuilder_ == null) { @@ -2346,17 +2000,13 @@ public Builder clearIntermediates() { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2369,56 +2019,45 @@ public Builder removeIntermediates(int index) { return this; } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder(int index) { + public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder( + int index) { return getIntermediatesFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index) { if (intermediatesBuilder_ == null) { - return intermediates_.get(index); - } else { + return intermediates_.get(index); } else { return intermediatesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getIntermediatesOrBuilderList() { + public java.util.List + getIntermediatesOrBuilderList() { if (intermediatesBuilder_ != null) { return intermediatesBuilder_.getMessageOrBuilderList(); } else { @@ -2426,68 +2065,51 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(in } } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder() { - return getIntermediatesFieldBuilder() - .addBuilder(com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + return getIntermediatesFieldBuilder().addBuilder( + com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int index) { - return getIntermediatesFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( + int index) { + return getIntermediatesFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** - * - * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getIntermediatesBuilderList() { + public java.util.List + getIntermediatesBuilderList() { return getIntermediatesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getIntermediatesFieldBuilder() { if (intermediatesBuilder_ == null) { - intermediatesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( + intermediatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( intermediates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2499,73 +2121,51 @@ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int i private int travelMode_ = 0; /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override - public int getTravelModeValue() { + @java.lang.Override public int getTravelModeValue() { return travelMode_; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = - com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The travelMode to set. * @return This builder for chaining. */ @@ -2573,26 +2173,21 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the mode of transportation.
      * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -2600,97 +2195,67 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
      *  the routing preference results in an error or an extra long latency, then
-     * an error is returned. In the future, we might implement a fallback
-     * mechanism to use a different option when the preferred option does not give
-     * a valid result. You can specify this option only when the `travel_mode` is
-     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+     * an error is returned. You can specify this option only when the
+     * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override - public int getRoutingPreferenceValue() { + @java.lang.Override public int getRoutingPreferenceValue() { return routingPreference_; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
      *  the routing preference results in an error or an extra long latency, then
-     * an error is returned. In the future, we might implement a fallback
-     * mechanism to use a different option when the preferred option does not give
-     * a valid result. You can specify this option only when the `travel_mode` is
-     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+     * an error is returned. You can specify this option only when the
+     * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
      *  the routing preference results in an error or an extra long latency, then
-     * an error is returned. In the future, we might implement a fallback
-     * mechanism to use a different option when the preferred option does not give
-     * a valid result. You can specify this option only when the `travel_mode` is
-     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+     * an error is returned. You can specify this option only when the
+     * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = - com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
      *  the routing preference results in an error or an extra long latency, then
-     * an error is returned. In the future, we might implement a fallback
-     * mechanism to use a different option when the preferred option does not give
-     * a valid result. You can specify this option only when the `travel_mode` is
-     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+     * an error is returned. You can specify this option only when the
+     * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2698,32 +2263,25 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
      *  the routing preference results in an error or an extra long latency, then
-     * an error is returned. In the future, we might implement a fallback
-     * mechanism to use a different option when the preferred option does not give
-     * a valid result. You can specify this option only when the `travel_mode` is
-     * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+     * an error is returned. You can specify this option only when the
+     * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2731,73 +2289,51 @@ public Builder clearRoutingPreference() { private int polylineQuality_ = 0; /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override - public int getPolylineQualityValue() { + @java.lang.Override public int getPolylineQualityValue() { return polylineQuality_; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for polylineQuality to set. * @return This builder for chaining. */ public Builder setPolylineQualityValue(int value) { - + polylineQuality_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = - com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The polylineQuality to set. * @return This builder for chaining. */ @@ -2805,26 +2341,21 @@ public Builder setPolylineQuality(com.google.maps.routing.v2.PolylineQuality val if (value == null) { throw new NullPointerException(); } - + polylineQuality_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPolylineQuality() { - + polylineQuality_ = 0; onChanged(); return this; @@ -2832,73 +2363,51 @@ public Builder clearPolylineQuality() { private int polylineEncoding_ = 0; /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override - public int getPolylineEncodingValue() { + @java.lang.Override public int getPolylineEncodingValue() { return polylineEncoding_; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for polylineEncoding to set. * @return This builder for chaining. */ public Builder setPolylineEncodingValue(int value) { - + polylineEncoding_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = - com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @param value The polylineEncoding to set. * @return This builder for chaining. */ @@ -2906,26 +2415,21 @@ public Builder setPolylineEncoding(com.google.maps.routing.v2.PolylineEncoding v if (value == null) { throw new NullPointerException(); } - + polylineEncoding_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearPolylineEncoding() { - + polylineEncoding_ = 0; onChanged(); return this; @@ -2933,64 +2437,45 @@ public Builder clearPolylineEncoding() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - departureTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -3006,19 +2491,16 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -3029,25 +2511,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); } else { departureTime_ = value; } @@ -3059,17 +2535,13 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -3083,86 +2555,67 @@ public Builder clearDepartureTime() { return this; } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : departureTime_; + return departureTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; } } /** - * - * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), getParentForChildren(), isClean()); + departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), + getParentForChildren(), + isClean()); departureTime_ = null; } return departureTimeBuilder_; } - private boolean computeAlternativeRoutes_; + private boolean computeAlternativeRoutes_ ; /** - * - * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -3170,38 +2623,32 @@ public boolean getComputeAlternativeRoutes() { return computeAlternativeRoutes_; } /** - * - * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The computeAlternativeRoutes to set. * @return This builder for chaining. */ public Builder setComputeAlternativeRoutes(boolean value) { - + computeAlternativeRoutes_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearComputeAlternativeRoutes() { - + computeAlternativeRoutes_ = false; onChanged(); return this; @@ -3209,61 +2656,42 @@ public Builder clearComputeAlternativeRoutes() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> - routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -3279,16 +2707,12 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -3302,24 +2726,18 @@ public Builder setRouteModifiers( return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); } else { routeModifiers_ = value; } @@ -3331,16 +2749,12 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -3354,67 +2768,51 @@ public Builder clearRouteModifiers() { return this; } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? + com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } } /** - * - * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), getParentForChildren(), isClean()); + routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), + getParentForChildren(), + isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; @@ -3422,8 +2820,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui private java.lang.Object languageCode_ = ""; /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3434,13 +2830,13 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3449,8 +2845,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3461,14 +2855,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -3476,8 +2871,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3488,22 +2881,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3514,18 +2905,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -3536,16 +2924,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -3553,8 +2941,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int units_ = 0; /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3563,18 +2949,13 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ - @java.lang.Override - public int getUnitsValue() { + @java.lang.Override public int getUnitsValue() { return units_; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3583,21 +2964,17 @@ public int getUnitsValue() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ public Builder setUnitsValue(int value) { - + units_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3606,9 +2983,7 @@ public Builder setUnitsValue(int value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ @java.lang.Override @@ -3618,8 +2993,6 @@ public com.google.maps.routing.v2.Units getUnits() { return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3628,9 +3001,7 @@ public com.google.maps.routing.v2.Units getUnits() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @param value The units to set. * @return This builder for chaining. */ @@ -3638,14 +3009,12 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) { if (value == null) { throw new NullPointerException(); } - + units_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3654,31 +3023,25 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUnits() { - + units_ = 0; onChanged(); return this; } private java.util.List requestedReferenceRoutes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRequestedReferenceRoutesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = - new java.util.ArrayList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = new java.util.ArrayList(requestedReferenceRoutes_); bitField0_ |= 0x00000002; } } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3687,21 +3050,14 @@ private void ensureRequestedReferenceRoutesIsMutable() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ - public java.util.List - getRequestedReferenceRoutesList() { + public java.util.List getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( - requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3710,18 +3066,13 @@ private void ensureRequestedReferenceRoutesIsMutable() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ public int getRequestedReferenceRoutesCount() { return requestedReferenceRoutes_.size(); } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3730,20 +3081,14 @@ public int getRequestedReferenceRoutesCount() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute - getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3752,10 +3097,7 @@ public int getRequestedReferenceRoutesCount() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The requestedReferenceRoutes to set. * @return This builder for chaining. @@ -3771,8 +3113,6 @@ public Builder setRequestedReferenceRoutes( return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3781,15 +3121,11 @@ public Builder setRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param value The requestedReferenceRoutes to add. * @return This builder for chaining. */ - public Builder addRequestedReferenceRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { + public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { if (value == null) { throw new NullPointerException(); } @@ -3799,8 +3135,6 @@ public Builder addRequestedReferenceRoutes( return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3809,16 +3143,12 @@ public Builder addRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param values The requestedReferenceRoutes to add. * @return This builder for chaining. */ public Builder addAllRequestedReferenceRoutes( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureRequestedReferenceRoutesIsMutable(); for (com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value : values) { requestedReferenceRoutes_.add(value.getNumber()); @@ -3827,8 +3157,6 @@ public Builder addAllRequestedReferenceRoutes( return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3837,10 +3165,7 @@ public Builder addAllRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRequestedReferenceRoutes() { @@ -3850,8 +3175,6 @@ public Builder clearRequestedReferenceRoutes() { return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3860,18 +3183,14 @@ public Builder clearRequestedReferenceRoutes() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - public java.util.List getRequestedReferenceRoutesValueList() { + public java.util.List + getRequestedReferenceRoutesValueList() { return java.util.Collections.unmodifiableList(requestedReferenceRoutes_); } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3880,10 +3199,7 @@ public java.util.List getRequestedReferenceRoutesValueList()
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -3891,8 +3207,6 @@ public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3901,23 +3215,19 @@ public int getRequestedReferenceRoutesValue(int index) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for requestedReferenceRoutes to set. * @return This builder for chaining. */ - public Builder setRequestedReferenceRoutesValue(int index, int value) { + public Builder setRequestedReferenceRoutesValue( + int index, int value) { ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3926,10 +3236,7 @@ public Builder setRequestedReferenceRoutesValue(int index, int value) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3940,8 +3247,6 @@ public Builder addRequestedReferenceRoutesValue(int value) { return this; } /** - * - * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3950,10 +3255,7 @@ public Builder addRequestedReferenceRoutesValue(int value) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param values The enum numeric values on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3966,9 +3268,9 @@ public Builder addAllRequestedReferenceRoutesValue( 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); } @@ -3978,12 +3280,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesRequest) private static final com.google.maps.routing.v2.ComputeRoutesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesRequest(); } @@ -3992,27 +3294,27 @@ public static com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRoutesRequest 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 ComputeRoutesRequest 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; @@ -4027,4 +3329,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java similarity index 67% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java index 086ee907bd9f..2128020ce5da 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java @@ -1,412 +1,279 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRoutesRequestOrBuilder - extends +public interface ComputeRoutesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the origin field is set. */ boolean hasOrigin(); /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The origin. */ com.google.maps.routing.v2.Waypoint getOrigin(); /** - * - * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the destination field is set. */ boolean hasDestination(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The destination. */ com.google.maps.routing.v2.Waypoint getDestination(); /** - * - * *
    * Required. Destination waypoint.
    * 
* - * - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getIntermediatesList(); + java.util.List + getIntermediatesList(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.Waypoint getIntermediates(int index); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getIntermediatesCount(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getIntermediatesOrBuilderList(); /** - * - * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index); + com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( + int index); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** - * - * *
    * Optional. Specifies the mode of transportation.
    * 
* - * - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
    *  the routing preference results in an error or an extra long latency, then
-   * an error is returned. In the future, we might implement a fallback
-   * mechanism to use a different option when the preferred option does not give
-   * a valid result. You can specify this option only when the `travel_mode` is
-   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+   * an error is returned. You can specify this option only when the
+   * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** - * - * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
    *  the routing preference results in an error or an extra long latency, then
-   * an error is returned. In the future, we might implement a fallback
-   * mechanism to use a different option when the preferred option does not give
-   * a valid result. You can specify this option only when the `travel_mode` is
-   * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
+   * an error is returned. You can specify this option only when the
+   * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineQuality. */ int getPolylineQualityValue(); /** - * - * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineQuality. */ com.google.maps.routing.v2.PolylineQuality getPolylineQuality(); /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for polylineEncoding. */ int getPolylineEncodingValue(); /** - * - * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The polylineEncoding. */ com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** - * - * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); /** - * - * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The computeAlternativeRoutes. */ boolean getComputeAlternativeRoutes(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** - * - * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -417,13 +284,10 @@ public interface ComputeRoutesRequestOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -434,14 +298,12 @@ public interface ComputeRoutesRequestOrBuilder
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -450,15 +312,11 @@ public interface ComputeRoutesRequestOrBuilder
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for units. */ int getUnitsValue(); /** - * - * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -467,16 +325,12 @@ public interface ComputeRoutesRequestOrBuilder
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The units. */ com.google.maps.routing.v2.Units getUnits(); /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -485,17 +339,11 @@ public interface ComputeRoutesRequestOrBuilder
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requestedReferenceRoutes. */ - java.util.List - getRequestedReferenceRoutesList(); + java.util.List getRequestedReferenceRoutesList(); /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -504,16 +352,11 @@ public interface ComputeRoutesRequestOrBuilder
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requestedReferenceRoutes. */ int getRequestedReferenceRoutesCount(); /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -522,18 +365,12 @@ public interface ComputeRoutesRequestOrBuilder
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( - int index); + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index); /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -542,16 +379,12 @@ com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedRefer
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - java.util.List getRequestedReferenceRoutesValueList(); + java.util.List + getRequestedReferenceRoutesValueList(); /** - * - * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -560,10 +393,7 @@ com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedRefer
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java index 79b113ddb84e..32283f083a49 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * ComputeRoutes the response message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ -public final class ComputeRoutesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComputeRoutesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesResponse) ComputeRoutesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComputeRoutesResponse.newBuilder() to construct. private ComputeRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComputeRoutesResponse() { routes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComputeRoutesResponse(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, - com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** - * - * *
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -87,8 +66,6 @@ public java.util.List getRoutesList() {
     return routes_;
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -100,13 +77,11 @@ public java.util.List getRoutesList() {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRoutesOrBuilderList() {
     return routes_;
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -122,8 +97,6 @@ public int getRoutesCount() {
     return routes_.size();
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -139,8 +112,6 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
     return routes_.get(index);
   }
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -152,15 +123,14 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+      int index) {
     return routes_.get(index);
   }
 
   public static final int FALLBACK_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -169,7 +139,6 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -177,8 +146,6 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -187,18 +154,13 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -214,7 +176,6 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -226,7 +187,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 {
     for (int i = 0; i < routes_.size(); i++) {
       output.writeMessage(1, routes_.get(i));
     }
@@ -243,10 +205,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < routes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, routes_.get(i));
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getFallbackInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -256,18 +220,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.routing.v2.ComputeRoutesResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.ComputeRoutesResponse other =
-        (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
+    com.google.maps.routing.v2.ComputeRoutesResponse other = (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
 
-    if (!getRoutesList().equals(other.getRoutesList())) return false;
+    if (!getRoutesList()
+        .equals(other.getRoutesList())) return false;
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo()
+          .equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -293,136 +258,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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;
   }
   /**
-   *
-   *
    * 
    * ComputeRoutes the response message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ - 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.routing.v2.ComputeRoutesResponse) com.google.maps.routing.v2.ComputeRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, - com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesResponse.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(); @@ -443,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override @@ -464,8 +423,7 @@ public com.google.maps.routing.v2.ComputeRoutesResponse build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesResponse buildPartial() { - com.google.maps.routing.v2.ComputeRoutesResponse result = - new com.google.maps.routing.v2.ComputeRoutesResponse(this); + com.google.maps.routing.v2.ComputeRoutesResponse result = new com.google.maps.routing.v2.ComputeRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -489,39 +447,38 @@ public com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse) other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse)other); } else { super.mergeFrom(other); return this; @@ -529,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) { - if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -549,10 +505,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRoutesFieldBuilder() - : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRoutesFieldBuilder() : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -587,31 +542,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.maps.routing.v2.Route m = - input.readMessage(com.google.maps.routing.v2.Route.parser(), extensionRegistry); - if (routesBuilder_ == null) { - ensureRoutesIsMutable(); - routes_.add(m); - } else { - routesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.maps.routing.v2.Route m = + input.readMessage( + com.google.maps.routing.v2.Route.parser(), + extensionRegistry); + if (routesBuilder_ == null) { + ensureRoutesIsMutable(); + routes_.add(m); + } else { + routesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getFallbackInfoFieldBuilder().getBuilder(), + extensionRegistry); - 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) { @@ -621,28 +577,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Route, - com.google.maps.routing.v2.Route.Builder, - com.google.maps.routing.v2.RouteOrBuilder> - routesBuilder_; + com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> routesBuilder_; /** - * - * *
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -661,8 +610,6 @@ public java.util.List getRoutesList() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -681,8 +628,6 @@ public int getRoutesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -701,8 +646,6 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -713,7 +656,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
+    public Builder setRoutes(
+        int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -727,8 +671,6 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -739,7 +681,8 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder setRoutes(
+        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.set(index, builderForValue.build());
@@ -750,8 +693,6 @@ public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -776,8 +717,6 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -788,7 +727,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
+    public Builder addRoutes(
+        int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -802,8 +742,6 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -814,7 +752,8 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(
+        com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(builderForValue.build());
@@ -825,8 +764,6 @@ public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -837,7 +774,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValu
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(
+        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(index, builderForValue.build());
@@ -848,8 +786,6 @@ public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -864,7 +800,8 @@ public Builder addAllRoutes(
         java.lang.Iterable values) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, routes_);
         onChanged();
       } else {
         routesBuilder_.addAllMessages(values);
@@ -872,8 +809,6 @@ public Builder addAllRoutes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -895,8 +830,6 @@ public Builder clearRoutes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -918,8 +851,6 @@ public Builder removeRoutes(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -930,12 +861,11 @@ public Builder removeRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
+    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
+        int index) {
       return getRoutesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -946,16 +876,14 @@ public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+        int index) {
       if (routesBuilder_ == null) {
-        return routes_.get(index);
-      } else {
+        return routes_.get(index);  } else {
         return routesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -966,8 +894,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List
-        getRoutesOrBuilderList() {
+    public java.util.List 
+         getRoutesOrBuilderList() {
       if (routesBuilder_ != null) {
         return routesBuilder_.getMessageOrBuilderList();
       } else {
@@ -975,8 +903,6 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -988,12 +914,10 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
     public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
-      return getRoutesFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.Route.getDefaultInstance());
+      return getRoutesFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -1004,13 +928,12 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
-      return getRoutesFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.Route.getDefaultInstance());
+    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
+        int index) {
+      return getRoutesFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -1021,22 +944,20 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List getRoutesBuilderList() {
+    public java.util.List 
+         getRoutesBuilderList() {
       return getRoutesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.Route,
-            com.google.maps.routing.v2.Route.Builder,
-            com.google.maps.routing.v2.RouteOrBuilder>
+        com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> 
         getRoutesFieldBuilder() {
       if (routesBuilder_ == null) {
-        routesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.Route,
-                com.google.maps.routing.v2.Route.Builder,
-                com.google.maps.routing.v2.RouteOrBuilder>(
-                routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder>(
+                routes_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         routes_ = null;
       }
       return routesBuilder_;
@@ -1044,13 +965,8 @@ public java.util.List getRoutesBuilder
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
-        fallbackInfoBuilder_;
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1059,15 +975,12 @@ public java.util.List getRoutesBuilder
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** - * - * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1076,21 +989,16 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** - * - * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1114,8 +1022,6 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1137,8 +1043,6 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1152,9 +1056,7 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1166,8 +1068,6 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1189,8 +1089,6 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1201,13 +1099,11 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-
+      
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1221,14 +1117,11 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null
-            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
-            : fallbackInfo_;
+        return fallbackInfo_ == null ?
+            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1239,24 +1132,21 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.FallbackInfo,
-                com.google.maps.routing.v2.FallbackInfo.Builder,
-                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(), getParentForChildren(), isClean());
+        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(),
+                getParentForChildren(),
+                isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
-
     @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);
     }
 
@@ -1266,12 +1156,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesResponse)
   private static final com.google.maps.routing.v2.ComputeRoutesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesResponse();
   }
@@ -1280,27 +1170,27 @@ public static com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ComputeRoutesResponse 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 ComputeRoutesResponse 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;
@@ -1315,4 +1205,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
similarity index 81%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
index aacbe14e3748..49e6d8b70374 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface ComputeRoutesResponseOrBuilder
-    extends
+public interface ComputeRoutesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -36,10 +18,9 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List getRoutesList();
+  java.util.List 
+      getRoutesList();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -52,8 +33,6 @@ public interface ComputeRoutesResponseOrBuilder
    */
   com.google.maps.routing.v2.Route getRoutes(int index);
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -66,8 +45,6 @@ public interface ComputeRoutesResponseOrBuilder
    */
   int getRoutesCount();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -78,10 +55,9 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List getRoutesOrBuilderList();
+  java.util.List 
+      getRoutesOrBuilderList();
   /**
-   *
-   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -92,11 +68,10 @@ public interface ComputeRoutesResponseOrBuilder
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index);
+  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -105,13 +80,10 @@ public interface ComputeRoutesResponseOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -120,13 +92,10 @@ public interface ComputeRoutesResponseOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; - * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
similarity index 69%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
index 81f93112455e..3b5f07f7ec1d 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Information related to how and why a fallback result was used. If this field
  * is set, then it means the server used a different routing mode from your
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
  */
-public final class FallbackInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FallbackInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.FallbackInfo)
     FallbackInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FallbackInfo.newBuilder() to construct.
   private FallbackInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FallbackInfo() {
     routingMode_ = 0;
     reason_ = 0;
@@ -46,35 +28,32 @@ private FallbackInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FallbackInfo();
   }
 
   @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.routing.v2.FallbackInfoProto
-        .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.FallbackInfoProto
-        .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.FallbackInfo.class,
-            com.google.maps.routing.v2.FallbackInfo.Builder.class);
+            com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
   }
 
   public static final int ROUTING_MODE_FIELD_NUMBER = 1;
   private int routingMode_;
   /**
-   *
-   *
    * 
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -82,16 +61,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override - public int getRoutingModeValue() { + @java.lang.Override public int getRoutingModeValue() { return routingMode_; } /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -99,22 +74,17 @@ public int getRoutingModeValue() {
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ - @java.lang.Override - public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { + @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = - com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } public static final int REASON_FIELD_NUMBER = 2; private int reason_; /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -122,16 +92,12 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -139,19 +105,15 @@ public int getReasonValue() {
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ - @java.lang.Override - public com.google.maps.routing.v2.FallbackReason getReason() { + @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = - com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,14 +125,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (routingMode_ - != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, routingMode_); } - if (reason_ - != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { output.writeEnum(2, reason_); } getUnknownFields().writeTo(output); @@ -182,14 +142,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routingMode_ - != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routingMode_); + if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, routingMode_); } - if (reason_ - != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reason_); + if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, reason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,7 +158,7 @@ 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.routing.v2.FallbackInfo)) { return super.equals(obj); @@ -228,104 +187,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.FallbackInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.FallbackInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.FallbackInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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; } /** - * - * *
    * Information related to how and why a fallback result was used. If this field
    * is set, then it means the server used a different routing mode from your
@@ -334,32 +286,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
    */
-  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.routing.v2.FallbackInfo)
       com.google.maps.routing.v2.FallbackInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.FallbackInfo.class,
-              com.google.maps.routing.v2.FallbackInfo.Builder.class);
+              com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.FallbackInfo.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();
@@ -371,9 +324,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.FallbackInfoProto
-          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +345,7 @@ public com.google.maps.routing.v2.FallbackInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.FallbackInfo buildPartial() {
-      com.google.maps.routing.v2.FallbackInfo result =
-          new com.google.maps.routing.v2.FallbackInfo(this);
+      com.google.maps.routing.v2.FallbackInfo result = new com.google.maps.routing.v2.FallbackInfo(this);
       result.routingMode_ = routingMode_;
       result.reason_ = reason_;
       onBuilt();
@@ -404,39 +356,38 @@ public com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo) {
-        return mergeFrom((com.google.maps.routing.v2.FallbackInfo) other);
+        return mergeFrom((com.google.maps.routing.v2.FallbackInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,25 +428,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                routingMode_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                reason_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              routingMode_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 16: {
+              reason_ = input.readEnum();
+
+              break;
+            } // case 16
+            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) {
@@ -508,8 +456,6 @@ public Builder mergeFrom(
 
     private int routingMode_ = 0;
     /**
-     *
-     *
      * 
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -517,16 +463,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override - public int getRoutingModeValue() { + @java.lang.Override public int getRoutingModeValue() { return routingMode_; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -534,19 +476,16 @@ public int getRoutingModeValue() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @param value The enum numeric value on the wire for routingMode to set. * @return This builder for chaining. */ public Builder setRoutingModeValue(int value) { - + routingMode_ = value; onChanged(); return this; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -554,19 +493,15 @@ public Builder setRoutingModeValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = - com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -574,7 +509,6 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @param value The routingMode to set. * @return This builder for chaining. */ @@ -582,14 +516,12 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val if (value == null) { throw new NullPointerException(); } - + routingMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -597,11 +529,10 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return This builder for chaining. */ public Builder clearRoutingMode() { - + routingMode_ = 0; onChanged(); return this; @@ -609,8 +540,6 @@ public Builder clearRoutingMode() { private int reason_ = 0; /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -618,16 +547,12 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -635,19 +560,16 @@ public int getReasonValue() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { - + reason_ = value; onChanged(); return this; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -655,19 +577,15 @@ public Builder setReasonValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = - com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -675,7 +593,6 @@ public com.google.maps.routing.v2.FallbackReason getReason() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @param value The reason to set. * @return This builder for chaining. */ @@ -683,14 +600,12 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) { if (value == null) { throw new NullPointerException(); } - + reason_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -698,18 +613,17 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; 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); } @@ -719,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.FallbackInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.FallbackInfo) private static final com.google.maps.routing.v2.FallbackInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.FallbackInfo(); } @@ -733,27 +647,27 @@ public static com.google.maps.routing.v2.FallbackInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FallbackInfo 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 FallbackInfo 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; @@ -768,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.FallbackInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java similarity index 72% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java index 109280a99d17..eab36a068616 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; -public interface FallbackInfoOrBuilder - extends +public interface FallbackInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.FallbackInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -33,13 +15,10 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The enum numeric value on the wire for routingMode. */ int getRoutingModeValue(); /** - * - * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -47,14 +26,11 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; - * * @return The routingMode. */ com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode(); /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -62,13 +38,10 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** - * - * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -76,7 +49,6 @@ public interface FallbackInfoOrBuilder
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; - * * @return The reason. */ com.google.maps.routing.v2.FallbackReason getReason(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java new file mode 100644 index 000000000000..fdcaa7d94177 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java @@ -0,0 +1,61 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/fallback_info.proto + +package com.google.maps.routing.v2; + +public final class FallbackInfoProto { + private FallbackInfoProto() {} + 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_routing_v2_FallbackInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + + "routing.v2B\021FallbackInfoProtoP\001Z=google." + + "golang.org/genproto/googleapis/maps/rout" + + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + + "ogle::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_routing_v2_FallbackInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_FallbackInfo_descriptor, + new java.lang.String[] { "RoutingMode", "Reason", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java index 4c4557ffaed8..c9b91da581c9 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java @@ -1,36 +1,18 @@ -/* - * 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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Reasons for using fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackReason} */ -public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No fallback reason specified.
    * 
@@ -39,8 +21,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { */ FALLBACK_REASON_UNSPECIFIED(0), /** - * - * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -51,8 +31,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   SERVER_ERROR(1),
   /**
-   *
-   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -66,8 +44,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No fallback reason specified.
    * 
@@ -76,8 +52,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FALLBACK_REASON_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -88,8 +62,6 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SERVER_ERROR_VALUE = 1;
   /**
-   *
-   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -100,6 +72,7 @@ public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LATENCY_EXCEEDED_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -124,49 +97,49 @@ public static FallbackReason valueOf(int value) {
    */
   public static FallbackReason forNumber(int value) {
     switch (value) {
-      case 0:
-        return FALLBACK_REASON_UNSPECIFIED;
-      case 1:
-        return SERVER_ERROR;
-      case 2:
-        return LATENCY_EXCEEDED;
-      default:
-        return null;
+      case 0: return FALLBACK_REASON_UNSPECIFIED;
+      case 1: return SERVER_ERROR;
+      case 2: return LATENCY_EXCEEDED;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public FallbackReason findValueByNumber(int number) {
-          return FallbackReason.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      FallbackReason> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FallbackReason findValueByNumber(int number) {
+            return FallbackReason.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final FallbackReason[] VALUES = values();
 
-  public static FallbackReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FallbackReason 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;
@@ -182,3 +155,4 @@ private FallbackReason(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackReason)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
similarity index 70%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
index caa8b5d34cf9..da291a274980 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Actual routing mode used for returned fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackRoutingMode} */ -public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackRoutingMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used.
    * 
@@ -39,8 +21,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn */ FALLBACK_ROUTING_MODE_UNSPECIFIED(0), /** - * - * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -50,8 +30,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   FALLBACK_TRAFFIC_UNAWARE(1),
   /**
-   *
-   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -64,8 +42,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
   ;
 
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -74,8 +50,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn */ public static final int FALLBACK_ROUTING_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -85,8 +59,6 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int FALLBACK_TRAFFIC_UNAWARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -96,6 +68,7 @@ public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEn
    */
   public static final int FALLBACK_TRAFFIC_AWARE_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,14 +93,10 @@ public static FallbackRoutingMode valueOf(int value) {
    */
   public static FallbackRoutingMode forNumber(int value) {
     switch (value) {
-      case 0:
-        return FALLBACK_ROUTING_MODE_UNSPECIFIED;
-      case 1:
-        return FALLBACK_TRAFFIC_UNAWARE;
-      case 2:
-        return FALLBACK_TRAFFIC_AWARE;
-      default:
-        return null;
+      case 0: return FALLBACK_ROUTING_MODE_UNSPECIFIED;
+      case 1: return FALLBACK_TRAFFIC_UNAWARE;
+      case 2: return FALLBACK_TRAFFIC_AWARE;
+      default: return null;
     }
   }
 
@@ -135,28 +104,28 @@ public static FallbackRoutingMode forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FallbackRoutingMode findValueByNumber(int number) {
-              return FallbackRoutingMode.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      FallbackRoutingMode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FallbackRoutingMode findValueByNumber(int number) {
+            return FallbackRoutingMode.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -165,7 +134,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static FallbackRoutingMode 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;
@@ -181,3 +151,4 @@ private FallbackRoutingMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackRoutingMode)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
similarity index 73%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
index dfde9cbbf63c..a5edc9ef18bc 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a location (a geographic point, and an optional heading).
  * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Location() {} + private Location() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @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.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, - com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); } public static final int LAT_LNG_FIELD_NUMBER = 1; private com.google.type.LatLng latLng_; /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The waypoint's geographic coordinates.
    * 
@@ -114,8 +88,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int HEADING_FIELD_NUMBER = 2; private com.google.protobuf.Int32Value heading_; /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -125,7 +97,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ @java.lang.Override @@ -133,8 +104,6 @@ public boolean hasHeading() { return heading_ != null; } /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -144,7 +113,6 @@ public boolean hasHeading() {
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ @java.lang.Override @@ -152,8 +120,6 @@ public com.google.protobuf.Int32Value getHeading() { return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_; } /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -170,7 +136,6 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,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 (latLng_ != null) {
       output.writeMessage(1, getLatLng());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (latLng_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLatLng());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getLatLng());
     }
     if (heading_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHeading());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getHeading());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +180,7 @@ 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.routing.v2.Location)) {
       return super.equals(obj);
@@ -221,11 +189,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasLatLng() != other.hasLatLng()) return false;
     if (hasLatLng()) {
-      if (!getLatLng().equals(other.getLatLng())) return false;
+      if (!getLatLng()
+          .equals(other.getLatLng())) return false;
     }
     if (hasHeading() != other.hasHeading()) return false;
     if (hasHeading()) {
-      if (!getHeading().equals(other.getHeading())) return false;
+      if (!getHeading()
+          .equals(other.getHeading())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -251,135 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Location parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Location parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.Location parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a location (a geographic point, and an optional heading).
    * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ - 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.routing.v2.Location) com.google.maps.routing.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, - com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); } // Construct using com.google.maps.routing.v2.Location.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(); @@ -399,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.LocationProto - .internal_static_google_maps_routing_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override @@ -439,39 +404,38 @@ public com.google.maps.routing.v2.Location 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.routing.v2.Location) { - return mergeFrom((com.google.maps.routing.v2.Location) other); + return mergeFrom((com.google.maps.routing.v2.Location)other); } else { super.mergeFrom(other); return this; @@ -512,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getHeadingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getHeadingFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -543,31 +508,24 @@ public Builder mergeFrom( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -578,8 +536,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -600,15 +556,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -619,8 +574,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -630,7 +583,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -642,8 +596,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -662,8 +614,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -671,13 +621,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 1; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -688,12 +636,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * The waypoint's geographic coordinates.
      * 
@@ -701,14 +648,14 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 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> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; @@ -716,13 +663,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { private com.google.protobuf.Int32Value heading_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, - com.google.protobuf.Int32Value.Builder, - com.google.protobuf.Int32ValueOrBuilder> - headingBuilder_; + com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> headingBuilder_; /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -732,15 +674,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ public boolean hasHeading() { return headingBuilder_ != null || heading_ != null; } /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -750,7 +689,6 @@ public boolean hasHeading() {
      * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ public com.google.protobuf.Int32Value getHeading() { @@ -761,8 +699,6 @@ public com.google.protobuf.Int32Value getHeading() { } } /** - * - * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -787,8 +723,6 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -799,7 +733,8 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value heading = 2;
      */
-    public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setHeading(
+        com.google.protobuf.Int32Value.Builder builderForValue) {
       if (headingBuilder_ == null) {
         heading_ = builderForValue.build();
         onChanged();
@@ -810,8 +745,6 @@ public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -826,7 +759,7 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       if (headingBuilder_ == null) {
         if (heading_ != null) {
           heading_ =
-              com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
         } else {
           heading_ = value;
         }
@@ -838,8 +771,6 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -862,8 +793,6 @@ public Builder clearHeading() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -875,13 +804,11 @@ public Builder clearHeading() {
      * .google.protobuf.Int32Value heading = 2;
      */
     public com.google.protobuf.Int32Value.Builder getHeadingBuilder() {
-
+      
       onChanged();
       return getHeadingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -896,12 +823,11 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
       if (headingBuilder_ != null) {
         return headingBuilder_.getMessageOrBuilder();
       } else {
-        return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
+        return heading_ == null ?
+            com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
       }
     }
     /**
-     *
-     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -913,24 +839,21 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
      * .google.protobuf.Int32Value heading = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value,
-            com.google.protobuf.Int32Value.Builder,
-            com.google.protobuf.Int32ValueOrBuilder>
+        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
         getHeadingFieldBuilder() {
       if (headingBuilder_ == null) {
-        headingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int32Value,
-                com.google.protobuf.Int32Value.Builder,
-                com.google.protobuf.Int32ValueOrBuilder>(
-                getHeading(), getParentForChildren(), isClean());
+        headingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
+                getHeading(),
+                getParentForChildren(),
+                isClean());
         heading_ = null;
       }
       return headingBuilder_;
     }
-
     @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);
     }
 
@@ -940,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Location)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Location)
   private static final com.google.maps.routing.v2.Location DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Location();
   }
@@ -954,27 +877,27 @@ public static com.google.maps.routing.v2.Location getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Location 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 Location 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;
@@ -989,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Location getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
index 58e544a661c5..6e984768bab2 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
-public interface LocationOrBuilder
-    extends
+public interface LocationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Location)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The waypoint's geographic coordinates.
    * 
@@ -59,8 +35,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -70,13 +44,10 @@ public interface LocationOrBuilder
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return Whether the heading field is set. */ boolean hasHeading(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -86,13 +57,10 @@ public interface LocationOrBuilder
    * 
* * .google.protobuf.Int32Value heading = 2; - * * @return The heading. */ com.google.protobuf.Int32Value getHeading(); /** - * - * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
new file mode 100644
index 000000000000..a4aa1ac4fe64
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
@@ -0,0 +1,60 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/location.proto
+
+package com.google.maps.routing.v2;
+
+public final class LocationProto {
+  private LocationProto() {}
+  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_routing_v2_Location_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" +
+      "\026google.maps.routing.v2\032\036google/protobuf" +
+      "/wrappers.proto\032\030google/type/latlng.prot" +
+      "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." +
+      "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" +
+      "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" +
+      "uting.v2B\rLocationProtoP\001Z=google.golang" +
+      ".org/genproto/googleapis/maps/routing/v2" +
+      ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" +
+      "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" +
+      "Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.WrappersProto.getDescriptor(),
+          com.google.type.LatLngProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_Location_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Location_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_Location_descriptor,
+        new java.lang.String[] { "LatLng", "Heading", });
+    com.google.protobuf.WrappersProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
similarity index 74%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
index 912c04595aa0..e4e986514923 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.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/routing/v2/maneuver.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify the navigation action to take for the current
  * step (e.g., turn left, merge, straight, etc.).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.Maneuver}
  */
-public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum {
+public enum Maneuver
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Not used.
    * 
@@ -40,8 +22,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ MANEUVER_UNSPECIFIED(0), /** - * - * *
    * Turn slightly to the left.
    * 
@@ -50,8 +30,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SLIGHT_LEFT(1), /** - * - * *
    * Turn sharply to the left.
    * 
@@ -60,8 +38,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SHARP_LEFT(2), /** - * - * *
    * Make a left u-turn.
    * 
@@ -70,8 +46,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ UTURN_LEFT(3), /** - * - * *
    * Turn left.
    * 
@@ -80,8 +54,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_LEFT(4), /** - * - * *
    * Turn slightly to the right.
    * 
@@ -90,8 +62,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SLIGHT_RIGHT(5), /** - * - * *
    * Turn sharply to the right.
    * 
@@ -100,8 +70,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_SHARP_RIGHT(6), /** - * - * *
    * Make a right u-turn.
    * 
@@ -110,8 +78,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ UTURN_RIGHT(7), /** - * - * *
    * Turn right.
    * 
@@ -120,8 +86,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ TURN_RIGHT(8), /** - * - * *
    * Go straight.
    * 
@@ -130,8 +94,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ STRAIGHT(9), /** - * - * *
    * Take the left ramp.
    * 
@@ -140,8 +102,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ RAMP_LEFT(10), /** - * - * *
    * Take the right ramp.
    * 
@@ -150,8 +110,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ RAMP_RIGHT(11), /** - * - * *
    * Merge into traffic.
    * 
@@ -160,8 +118,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ MERGE(12), /** - * - * *
    * Take the left fork.
    * 
@@ -170,8 +126,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FORK_LEFT(13), /** - * - * *
    * Take the right fork.
    * 
@@ -180,8 +134,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FORK_RIGHT(14), /** - * - * *
    * Take the ferry.
    * 
@@ -190,8 +142,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FERRY(15), /** - * - * *
    * Take the train leading onto the ferry.
    * 
@@ -200,8 +150,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ FERRY_TRAIN(16), /** - * - * *
    * Turn left at the roundabout.
    * 
@@ -210,8 +158,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ ROUNDABOUT_LEFT(17), /** - * - * *
    * Turn right at the roundabout.
    * 
@@ -223,8 +169,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used.
    * 
@@ -233,8 +177,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANEUVER_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Turn slightly to the left.
    * 
@@ -243,8 +185,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SLIGHT_LEFT_VALUE = 1; /** - * - * *
    * Turn sharply to the left.
    * 
@@ -253,8 +193,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SHARP_LEFT_VALUE = 2; /** - * - * *
    * Make a left u-turn.
    * 
@@ -263,8 +201,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTURN_LEFT_VALUE = 3; /** - * - * *
    * Turn left.
    * 
@@ -273,8 +209,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_LEFT_VALUE = 4; /** - * - * *
    * Turn slightly to the right.
    * 
@@ -283,8 +217,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SLIGHT_RIGHT_VALUE = 5; /** - * - * *
    * Turn sharply to the right.
    * 
@@ -293,8 +225,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_SHARP_RIGHT_VALUE = 6; /** - * - * *
    * Make a right u-turn.
    * 
@@ -303,8 +233,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UTURN_RIGHT_VALUE = 7; /** - * - * *
    * Turn right.
    * 
@@ -313,8 +241,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TURN_RIGHT_VALUE = 8; /** - * - * *
    * Go straight.
    * 
@@ -323,8 +249,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRAIGHT_VALUE = 9; /** - * - * *
    * Take the left ramp.
    * 
@@ -333,8 +257,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RAMP_LEFT_VALUE = 10; /** - * - * *
    * Take the right ramp.
    * 
@@ -343,8 +265,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RAMP_RIGHT_VALUE = 11; /** - * - * *
    * Merge into traffic.
    * 
@@ -353,8 +273,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MERGE_VALUE = 12; /** - * - * *
    * Take the left fork.
    * 
@@ -363,8 +281,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORK_LEFT_VALUE = 13; /** - * - * *
    * Take the right fork.
    * 
@@ -373,8 +289,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORK_RIGHT_VALUE = 14; /** - * - * *
    * Take the ferry.
    * 
@@ -383,8 +297,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FERRY_VALUE = 15; /** - * - * *
    * Take the train leading onto the ferry.
    * 
@@ -393,8 +305,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FERRY_TRAIN_VALUE = 16; /** - * - * *
    * Turn left at the roundabout.
    * 
@@ -403,8 +313,6 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUNDABOUT_LEFT_VALUE = 17; /** - * - * *
    * Turn right at the roundabout.
    * 
@@ -413,6 +321,7 @@ public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUNDABOUT_RIGHT_VALUE = 18; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,81 +346,65 @@ public static Maneuver valueOf(int value) { */ public static Maneuver forNumber(int value) { switch (value) { - case 0: - return MANEUVER_UNSPECIFIED; - case 1: - return TURN_SLIGHT_LEFT; - case 2: - return TURN_SHARP_LEFT; - case 3: - return UTURN_LEFT; - case 4: - return TURN_LEFT; - case 5: - return TURN_SLIGHT_RIGHT; - case 6: - return TURN_SHARP_RIGHT; - case 7: - return UTURN_RIGHT; - case 8: - return TURN_RIGHT; - case 9: - return STRAIGHT; - case 10: - return RAMP_LEFT; - case 11: - return RAMP_RIGHT; - case 12: - return MERGE; - case 13: - return FORK_LEFT; - case 14: - return FORK_RIGHT; - case 15: - return FERRY; - case 16: - return FERRY_TRAIN; - case 17: - return ROUNDABOUT_LEFT; - case 18: - return ROUNDABOUT_RIGHT; - default: - return null; + case 0: return MANEUVER_UNSPECIFIED; + case 1: return TURN_SLIGHT_LEFT; + case 2: return TURN_SHARP_LEFT; + case 3: return UTURN_LEFT; + case 4: return TURN_LEFT; + case 5: return TURN_SLIGHT_RIGHT; + case 6: return TURN_SHARP_RIGHT; + case 7: return UTURN_RIGHT; + case 8: return TURN_RIGHT; + case 9: return STRAIGHT; + case 10: return RAMP_LEFT; + case 11: return RAMP_RIGHT; + case 12: return MERGE; + case 13: return FORK_LEFT; + case 14: return FORK_RIGHT; + case 15: return FERRY; + case 16: return FERRY_TRAIN; + case 17: return ROUNDABOUT_LEFT; + case 18: return ROUNDABOUT_RIGHT; + 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< + Maneuver> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Maneuver findValueByNumber(int number) { + return Maneuver.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Maneuver findValueByNumber(int number) { - return Maneuver.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.routing.v2.ManeuverProto.getDescriptor().getEnumTypes().get(0); } private static final Maneuver[] VALUES = values(); - public static Maneuver valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Maneuver 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; @@ -527,3 +420,4 @@ private Maneuver(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Maneuver) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java new file mode 100644 index 000000000000..5138be656ed5 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/maneuver.proto + +package com.google.maps.routing.v2; + +public final class ManeuverProto { + private ManeuverProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/maneuver.proto\022" + + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + + ".v2B\rManeuverProtoP\001Z=google.golang.org/" + + "genproto/googleapis/maps/routing/v2;rout" + + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + + ":Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java similarity index 69% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java index fd64ff5e1778..a819b44fb188 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates navigation instructions for a
  * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
  */
-public final class NavigationInstruction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NavigationInstruction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.NavigationInstruction)
     NavigationInstructionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NavigationInstruction.newBuilder() to construct.
   private NavigationInstruction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NavigationInstruction() {
     maneuver_ = 0;
     instructions_ = "";
@@ -45,79 +27,66 @@ private NavigationInstruction() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NavigationInstruction();
   }
 
   @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.routing.v2.NavigationInstructionProto
-        .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.NavigationInstructionProto
-        .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.NavigationInstruction.class,
-            com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+            com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
   }
 
   public static final int MANEUVER_FIELD_NUMBER = 1;
   private int maneuver_;
   /**
-   *
-   *
    * 
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override - public int getManeuverValue() { + @java.lang.Override public int getManeuverValue() { return maneuver_; } /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ - @java.lang.Override - public com.google.maps.routing.v2.Maneuver getManeuver() { + @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = - com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } public static final int INSTRUCTIONS_FIELD_NUMBER = 2; private volatile java.lang.Object instructions_; /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The instructions. */ @java.lang.Override @@ -126,29 +95,29 @@ public java.lang.String getInstructions() { 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(); instructions_ = s; return s; } } /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The bytes for instructions. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionsBytes() { + public com.google.protobuf.ByteString + getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -157,7 +126,6 @@ public com.google.protobuf.ByteString getInstructionsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,7 +137,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 (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { output.writeEnum(1, maneuver_); } @@ -186,7 +155,8 @@ public int getSerializedSize() { size = 0; if (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, maneuver_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, maneuver_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instructions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instructions_); @@ -199,16 +169,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.routing.v2.NavigationInstruction)) { return super.equals(obj); } - com.google.maps.routing.v2.NavigationInstruction other = - (com.google.maps.routing.v2.NavigationInstruction) obj; + com.google.maps.routing.v2.NavigationInstruction other = (com.google.maps.routing.v2.NavigationInstruction) obj; if (maneuver_ != other.maneuver_) return false; - if (!getInstructions().equals(other.getInstructions())) return false; + if (!getInstructions() + .equals(other.getInstructions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,104 +199,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.NavigationInstruction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.NavigationInstruction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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; } /** - * - * *
    * Encapsulates navigation instructions for a
    * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -334,32 +297,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
    */
-  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.routing.v2.NavigationInstruction)
       com.google.maps.routing.v2.NavigationInstructionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.NavigationInstruction.class,
-              com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+              com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.NavigationInstruction.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();
@@ -371,9 +335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.NavigationInstructionProto
-          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
@@ -392,8 +356,7 @@ public com.google.maps.routing.v2.NavigationInstruction build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.NavigationInstruction buildPartial() {
-      com.google.maps.routing.v2.NavigationInstruction result =
-          new com.google.maps.routing.v2.NavigationInstruction(this);
+      com.google.maps.routing.v2.NavigationInstruction result = new com.google.maps.routing.v2.NavigationInstruction(this);
       result.maneuver_ = maneuver_;
       result.instructions_ = instructions_;
       onBuilt();
@@ -404,39 +367,38 @@ public com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction) {
-        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction) other);
+        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -444,8 +406,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.NavigationInstruction other) {
-      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance()) return this;
       if (other.maneuver_ != 0) {
         setManeuverValue(other.getManeuverValue());
       }
@@ -479,25 +440,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                maneuver_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                instructions_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              maneuver_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              instructions_ = 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) {
@@ -510,69 +468,55 @@ public Builder mergeFrom(
 
     private int maneuver_ = 0;
     /**
-     *
-     *
      * 
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override - public int getManeuverValue() { + @java.lang.Override public int getManeuverValue() { return maneuver_; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @param value The enum numeric value on the wire for maneuver to set. * @return This builder for chaining. */ public Builder setManeuverValue(int value) { - + maneuver_ = value; onChanged(); return this; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = - com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @param value The maneuver to set. * @return This builder for chaining. */ @@ -580,25 +524,22 @@ public Builder setManeuver(com.google.maps.routing.v2.Maneuver value) { if (value == null) { throw new NullPointerException(); } - + maneuver_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return This builder for chaining. */ public Builder clearManeuver() { - + maneuver_ = 0; onChanged(); return this; @@ -606,20 +547,18 @@ public Builder clearManeuver() { private java.lang.Object instructions_ = ""; /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return The instructions. */ public java.lang.String getInstructions() { java.lang.Object ref = instructions_; 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(); instructions_ = s; return s; @@ -628,21 +567,20 @@ public java.lang.String getInstructions() { } } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return The bytes for instructions. */ - public com.google.protobuf.ByteString getInstructionsBytes() { + public com.google.protobuf.ByteString + getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -650,68 +588,61 @@ public com.google.protobuf.ByteString getInstructionsBytes() { } } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @param value The instructions to set. * @return This builder for chaining. */ - public Builder setInstructions(java.lang.String value) { + public Builder setInstructions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instructions_ = value; onChanged(); return this; } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @return This builder for chaining. */ public Builder clearInstructions() { - + instructions_ = getDefaultInstance().getInstructions(); onChanged(); return this; } /** - * - * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; - * * @param value The bytes for instructions to set. * @return This builder for chaining. */ - public Builder setInstructionsBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instructions_ = 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); } @@ -721,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.NavigationInstruction) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.NavigationInstruction) private static final com.google.maps.routing.v2.NavigationInstruction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.NavigationInstruction(); } @@ -735,27 +666,27 @@ public static com.google.maps.routing.v2.NavigationInstruction getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NavigationInstruction 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 NavigationInstruction 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; @@ -770,4 +701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.NavigationInstruction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java similarity index 63% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java index cd4f6086f6cb..5cf285ee2a4a 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java @@ -1,77 +1,50 @@ -/* - * 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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; -public interface NavigationInstructionOrBuilder - extends +public interface NavigationInstructionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.NavigationInstruction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The enum numeric value on the wire for maneuver. */ int getManeuverValue(); /** - * - * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; - * * @return The maneuver. */ com.google.maps.routing.v2.Maneuver getManeuver(); /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The instructions. */ java.lang.String getInstructions(); /** - * - * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; - * * @return The bytes for instructions. */ - com.google.protobuf.ByteString getInstructionsBytes(); + com.google.protobuf.ByteString + getInstructionsBytes(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java new file mode 100644 index 000000000000..cf16ec2b8d68 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/navigation_instruction.proto + +package com.google.maps.routing.v2; + +public final class NavigationInstructionProto { + private NavigationInstructionProto() {} + 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_routing_v2_NavigationInstruction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/navigation_inst" + + "ruction.proto\022\026google.maps.routing.v2\032%g" + + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + + "ing.v2B\032NavigationInstructionProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/maps" + + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + + "\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.ManeuverProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, + new java.lang.String[] { "Maneuver", "Instructions", }); + com.google.maps.routing.v2.ManeuverProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java index 1a249fa90660..87e94edaaedf 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java @@ -1,82 +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/routing/v2/polyline.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates an encoded polyline.
  * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ -public final class Polyline extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Polyline extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Polyline) PolylineOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Polyline.newBuilder() to construct. private Polyline(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Polyline() {} + private Polyline() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Polyline(); } @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.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, - com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); } private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - public enum PolylineTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENCODED_POLYLINE(1), GEO_JSON_LINESTRING(2), POLYLINETYPE_NOT_SET(0); private final int value; - private PolylineTypeCase(int value) { this.value = value; } @@ -92,52 +71,43 @@ public static PolylineTypeCase valueOf(int value) { public static PolylineTypeCase forNumber(int value) { switch (value) { - case 1: - return ENCODED_POLYLINE; - case 2: - return GEO_JSON_LINESTRING; - case 0: - return POLYLINETYPE_NOT_SET; - default: - return null; + case 1: return ENCODED_POLYLINE; + case 2: return GEO_JSON_LINESTRING; + case 0: return POLYLINETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PolylineTypeCase getPolylineTypeCase() { - return PolylineTypeCase.forNumber(polylineTypeCase_); + public PolylineTypeCase + getPolylineTypeCase() { + return PolylineTypeCase.forNumber( + polylineTypeCase_); } public static final int ENCODED_POLYLINE_FIELD_NUMBER = 1; /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ public java.lang.String getEncodedPolyline() { @@ -148,7 +118,8 @@ public java.lang.String getEncodedPolyline() { 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -157,25 +128,24 @@ public java.lang.String getEncodedPolyline() { } } /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ - public com.google.protobuf.ByteString getEncodedPolylineBytes() { + public com.google.protobuf.ByteString + getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -187,15 +157,12 @@ public com.google.protobuf.ByteString getEncodedPolylineBytes() { public static final int GEO_JSON_LINESTRING_FIELD_NUMBER = 2; /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -203,27 +170,22 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ @java.lang.Override public com.google.protobuf.Struct getGeoJsonLinestring() { if (polylineTypeCase_ == 2) { - return (com.google.protobuf.Struct) polylineType_; + return (com.google.protobuf.Struct) polylineType_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -234,13 +196,12 @@ public com.google.protobuf.Struct getGeoJsonLinestring() {
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
     if (polylineTypeCase_ == 2) {
-      return (com.google.protobuf.Struct) polylineType_;
+       return (com.google.protobuf.Struct) polylineType_;
     }
     return com.google.protobuf.Struct.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -252,7 +213,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 (polylineTypeCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, polylineType_);
     }
@@ -272,9 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, polylineType_);
     }
     if (polylineTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.protobuf.Struct) polylineType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.protobuf.Struct) polylineType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,7 +245,7 @@ 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.routing.v2.Polyline)) {
       return super.equals(obj);
@@ -294,10 +255,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getPolylineTypeCase().equals(other.getPolylineTypeCase())) return false;
     switch (polylineTypeCase_) {
       case 1:
-        if (!getEncodedPolyline().equals(other.getEncodedPolyline())) return false;
+        if (!getEncodedPolyline()
+            .equals(other.getEncodedPolyline())) return false;
         break;
       case 2:
-        if (!getGeoJsonLinestring().equals(other.getGeoJsonLinestring())) return false;
+        if (!getGeoJsonLinestring()
+            .equals(other.getGeoJsonLinestring())) return false;
         break;
       case 0:
       default:
@@ -330,135 +293,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Polyline parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates an encoded polyline.
    * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ - 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.routing.v2.Polyline) com.google.maps.routing.v2.PolylineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, - com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); } // Construct using com.google.maps.routing.v2.Polyline.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(); @@ -471,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.PolylineProto - .internal_static_google_maps_routing_v2_Polyline_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override @@ -512,39 +470,38 @@ public com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline) { - return mergeFrom((com.google.maps.routing.v2.Polyline) other); + return mergeFrom((com.google.maps.routing.v2.Polyline)other); } else { super.mergeFrom(other); return this; @@ -554,22 +511,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.maps.routing.v2.Polyline other) { if (other == com.google.maps.routing.v2.Polyline.getDefaultInstance()) return this; switch (other.getPolylineTypeCase()) { - case ENCODED_POLYLINE: - { - polylineTypeCase_ = 1; - polylineType_ = other.polylineType_; - onChanged(); - break; - } - case GEO_JSON_LINESTRING: - { - mergeGeoJsonLinestring(other.getGeoJsonLinestring()); - break; - } - case POLYLINETYPE_NOT_SET: - { - break; - } + case ENCODED_POLYLINE: { + polylineTypeCase_ = 1; + polylineType_ = other.polylineType_; + onChanged(); + break; + } + case GEO_JSON_LINESTRING: { + mergeGeoJsonLinestring(other.getGeoJsonLinestring()); + break; + } + case POLYLINETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -597,27 +551,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - polylineTypeCase_ = 1; - polylineType_ = s; - break; - } // case 10 - case 18: - { - input.readMessage( - getGeoJsonLinestringFieldBuilder().getBuilder(), extensionRegistry); - polylineTypeCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + polylineTypeCase_ = 1; + polylineType_ = s; + break; + } // case 10 + case 18: { + input.readMessage( + getGeoJsonLinestringFieldBuilder().getBuilder(), + extensionRegistry); + polylineTypeCase_ = 2; + 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) { @@ -627,12 +579,12 @@ public Builder mergeFrom( } // finally return this; } - private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - - public PolylineTypeCase getPolylineTypeCase() { - return PolylineTypeCase.forNumber(polylineTypeCase_); + public PolylineTypeCase + getPolylineTypeCase() { + return PolylineTypeCase.forNumber( + polylineTypeCase_); } public Builder clearPolylineType() { @@ -642,16 +594,14 @@ public Builder clearPolylineType() { return this; } + /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ @java.lang.Override @@ -659,15 +609,12 @@ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ @java.lang.Override @@ -677,7 +624,8 @@ public java.lang.String getEncodedPolyline() { ref = polylineType_; } 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -688,26 +636,25 @@ public java.lang.String getEncodedPolyline() { } } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ @java.lang.Override - public com.google.protobuf.ByteString getEncodedPolylineBytes() { + public com.google.protobuf.ByteString + getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -717,37 +664,32 @@ public com.google.protobuf.ByteString getEncodedPolylineBytes() { } } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @param value The encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolyline(java.lang.String value) { + public Builder setEncodedPolyline( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - polylineTypeCase_ = 1; + throw new NullPointerException(); + } + polylineTypeCase_ = 1; polylineType_ = value; onChanged(); return this; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @return This builder for chaining. */ public Builder clearEncodedPolyline() { @@ -759,23 +701,21 @@ public Builder clearEncodedPolyline() { return this; } /** - * - * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; - * * @param value The bytes for encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { + public Builder setEncodedPolylineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); polylineTypeCase_ = 1; polylineType_ = value; onChanged(); @@ -783,20 +723,14 @@ public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - geoJsonLinestringBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> geoJsonLinestringBuilder_; /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -804,15 +738,12 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ @java.lang.Override @@ -830,8 +761,6 @@ public com.google.protobuf.Struct getGeoJsonLinestring() { } } /** - * - * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -853,8 +782,6 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -862,7 +789,8 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
-    public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setGeoJsonLinestring(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (geoJsonLinestringBuilder_ == null) {
         polylineType_ = builderForValue.build();
         onChanged();
@@ -873,8 +801,6 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -884,12 +810,10 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderFo
      */
     public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       if (geoJsonLinestringBuilder_ == null) {
-        if (polylineTypeCase_ == 2
-            && polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
-          polylineType_ =
-              com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (polylineTypeCase_ == 2 &&
+            polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          polylineType_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
+              .mergeFrom(value).buildPartial();
         } else {
           polylineType_ = value;
         }
@@ -905,8 +829,6 @@ public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -931,8 +853,6 @@ public Builder clearGeoJsonLinestring() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -944,8 +864,6 @@ public com.google.protobuf.Struct.Builder getGeoJsonLinestringBuilder() {
       return getGeoJsonLinestringFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -965,8 +883,6 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -975,30 +891,26 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getGeoJsonLinestringFieldBuilder() {
       if (geoJsonLinestringBuilder_ == null) {
         if (!(polylineTypeCase_ == 2)) {
           polylineType_ = com.google.protobuf.Struct.getDefaultInstance();
         }
-        geoJsonLinestringBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                (com.google.protobuf.Struct) polylineType_, getParentForChildren(), isClean());
+        geoJsonLinestringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                (com.google.protobuf.Struct) polylineType_,
+                getParentForChildren(),
+                isClean());
         polylineType_ = null;
       }
       polylineTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return geoJsonLinestringBuilder_;
     }
-
     @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);
     }
 
@@ -1008,12 +920,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Polyline)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Polyline)
   private static final com.google.maps.routing.v2.Polyline DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Polyline();
   }
@@ -1022,27 +934,27 @@ public static com.google.maps.routing.v2.Polyline getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Polyline 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 Polyline 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;
@@ -1057,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Polyline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
similarity index 69%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
index bff0044509ae..e6b196b85fa9 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Specifies the preferred type of polyline to be returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineEncoding} */ -public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineEncoding + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -39,8 +21,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum */ POLYLINE_ENCODING_UNSPECIFIED(0), /** - * - * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -50,8 +30,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   ENCODED_POLYLINE(1),
   /**
-   *
-   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -64,8 +42,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -74,8 +50,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum */ public static final int POLYLINE_ENCODING_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -85,8 +59,6 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int ENCODED_POLYLINE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -96,6 +68,7 @@ public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int GEO_JSON_LINESTRING_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static PolylineEncoding valueOf(int value) {
    */
   public static PolylineEncoding forNumber(int value) {
     switch (value) {
-      case 0:
-        return POLYLINE_ENCODING_UNSPECIFIED;
-      case 1:
-        return ENCODED_POLYLINE;
-      case 2:
-        return GEO_JSON_LINESTRING;
-      default:
-        return null;
+      case 0: return POLYLINE_ENCODING_UNSPECIFIED;
+      case 1: return ENCODED_POLYLINE;
+      case 2: return GEO_JSON_LINESTRING;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PolylineEncoding findValueByNumber(int number) {
-          return PolylineEncoding.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PolylineEncoding> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PolylineEncoding findValueByNumber(int number) {
+            return PolylineEncoding.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final PolylineEncoding[] VALUES = values();
 
-  public static PolylineEncoding valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineEncoding 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;
@@ -178,3 +151,4 @@ private PolylineEncoding(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineEncoding)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
similarity index 74%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
index 815fc261c33d..b3fd35f7ece7 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
@@ -1,97 +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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
-public interface PolylineOrBuilder
-    extends
+public interface PolylineOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Polyline)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return Whether the encodedPolyline field is set. */ boolean hasEncodedPolyline(); /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The encodedPolyline. */ java.lang.String getEncodedPolyline(); /** - * - * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; - * * @return The bytes for encodedPolyline. */ - com.google.protobuf.ByteString getEncodedPolylineBytes(); + com.google.protobuf.ByteString + getEncodedPolylineBytes(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return Whether the geoJsonLinestring field is set. */ boolean hasGeoJsonLinestring(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; - * * @return The geoJsonLinestring. */ com.google.protobuf.Struct getGeoJsonLinestring(); /** - * - * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
new file mode 100644
index 000000000000..5c67621744ec
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
@@ -0,0 +1,63 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/polyline.proto
+
+package com.google.maps.routing.v2;
+
+public final class PolylineProto {
+  private PolylineProto() {}
+  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_routing_v2_Polyline_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" +
+      "\026google.maps.routing.v2\032\034google/protobuf" +
+      "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" +
+      "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" +
+      "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" +
+      "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" +
+      "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" +
+      "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" +
+      "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" +
+      "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" +
+      "m.google.maps.routing.v2B\rPolylineProtoP" +
+      "\001Z=google.golang.org/genproto/googleapis" +
+      "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" +
+      "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" +
+      "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" +
+      "3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_Polyline_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_Polyline_descriptor,
+        new java.lang.String[] { "EncodedPolyline", "GeoJsonLinestring", "PolylineType", });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
similarity index 71%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
index abdb1901ca63..ab8ebe80a4f4 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify the quality of the polyline.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineQuality} */ -public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineQuality + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -39,8 +21,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { */ POLYLINE_QUALITY_UNSPECIFIED(0), /** - * - * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -51,8 +31,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   HIGH_QUALITY(1),
   /**
-   *
-   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -67,8 +45,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -77,8 +53,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POLYLINE_QUALITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -89,8 +63,6 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int HIGH_QUALITY_VALUE = 1;
   /**
-   *
-   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -102,6 +74,7 @@ public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int OVERVIEW_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -126,49 +99,49 @@ public static PolylineQuality valueOf(int value) {
    */
   public static PolylineQuality forNumber(int value) {
     switch (value) {
-      case 0:
-        return POLYLINE_QUALITY_UNSPECIFIED;
-      case 1:
-        return HIGH_QUALITY;
-      case 2:
-        return OVERVIEW;
-      default:
-        return null;
+      case 0: return POLYLINE_QUALITY_UNSPECIFIED;
+      case 1: return HIGH_QUALITY;
+      case 2: return OVERVIEW;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PolylineQuality findValueByNumber(int number) {
-          return PolylineQuality.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PolylineQuality> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PolylineQuality findValueByNumber(int number) {
+            return PolylineQuality.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final PolylineQuality[] VALUES = values();
 
-  public static PolylineQuality valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineQuality 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;
@@ -184,3 +157,4 @@ private PolylineQuality(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineQuality)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
similarity index 80%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
index fab593f4b642..14395d9fe43b 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a route, which consists of a series of connected road segments
  * that join beginning, ending, and intermediate waypoints.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Route}
  */
-public final class Route extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Route extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Route)
     RouteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Route() {
     routeLabels_ = java.util.Collections.emptyList();
     legs_ = java.util.Collections.emptyList();
@@ -48,25 +30,25 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_Route_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
   }
@@ -74,45 +56,36 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int ROUTE_LABELS_FIELD_NUMBER = 13;
   private java.util.List routeLabels_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.maps.routing.v2.RouteLabel>
-      routeLabels_converter_ =
+      java.lang.Integer, com.google.maps.routing.v2.RouteLabel> routeLabels_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.maps.routing.v2.RouteLabel>() {
             public com.google.maps.routing.v2.RouteLabel convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.maps.routing.v2.RouteLabel result =
-                  com.google.maps.routing.v2.RouteLabel.valueOf(from);
+              com.google.maps.routing.v2.RouteLabel result = com.google.maps.routing.v2.RouteLabel.valueOf(from);
               return result == null ? com.google.maps.routing.v2.RouteLabel.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ @java.lang.Override public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( - routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ @java.lang.Override @@ -120,15 +93,12 @@ public int getRouteLabelsCount() { return routeLabels_.size(); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -137,31 +107,26 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ @java.lang.Override - public java.util.List getRouteLabelsValueList() { + public java.util.List + getRouteLabelsValueList() { return routeLabels_; } /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -169,14 +134,11 @@ public java.util.List getRouteLabelsValueList() { public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } - private int routeLabelsMemoizedSerializedSize; public static final int LEGS_FIELD_NUMBER = 1; private java.util.List legs_; /** - * - * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -194,8 +156,6 @@ public java.util.List getLegsList() {
     return legs_;
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -209,13 +169,11 @@ public java.util.List getLegsList() {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLegsOrBuilderList() {
     return legs_;
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -233,8 +191,6 @@ public int getLegsCount() {
     return legs_.size();
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -252,8 +208,6 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
     return legs_.get(index);
   }
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -267,21 +221,19 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+      int index) {
     return legs_.get(index);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 2;
   private int distanceMeters_;
   /**
-   *
-   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ @java.lang.Override @@ -292,8 +244,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -303,7 +253,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -311,8 +260,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -322,7 +269,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ @java.lang.Override @@ -330,8 +276,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -350,15 +294,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -366,26 +307,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -401,15 +335,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -417,15 +348,12 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ @java.lang.Override @@ -433,8 +361,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -450,14 +376,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 6;
   private volatile java.lang.Object description_;
   /**
-   *
-   *
    * 
    * A description of the route.
    * 
* * string description = 6; - * * @return The description. */ @java.lang.Override @@ -466,29 +389,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** - * - * *
    * A description of the route.
    * 
* * string description = 6; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -499,42 +422,34 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int WARNINGS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList warnings_; /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList getWarningsList() { + public com.google.protobuf.ProtocolStringList + getWarningsList() { return warnings_; } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -542,32 +457,27 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString getWarningsBytes(int index) { + public com.google.protobuf.ByteString + getWarningsBytes(int index) { return warnings_.getByteString(index); } public static final int VIEWPORT_FIELD_NUMBER = 8; private com.google.geo.type.Viewport viewport_; /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ @java.lang.Override @@ -575,14 +485,11 @@ public boolean hasViewport() { return viewport_ != null; } /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ @java.lang.Override @@ -590,8 +497,6 @@ public com.google.geo.type.Viewport getViewport() { return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } /** - * - * *
    * The viewport bounding box of the polyline.
    * 
@@ -606,14 +511,11 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -621,25 +523,18 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Additional information about the route.
    * 
@@ -654,8 +549,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory public static final int ROUTE_TOKEN_FIELD_NUMBER = 12; private volatile java.lang.Object routeToken_; /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -669,7 +562,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * string route_token = 12; - * * @return The routeToken. */ @java.lang.Override @@ -678,15 +570,14 @@ public java.lang.String getRouteToken() { 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(); routeToken_ = s; return s; } } /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -700,15 +591,16 @@ public java.lang.String getRouteToken() {
    * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ @java.lang.Override - public com.google.protobuf.ByteString getRouteTokenBytes() { + public com.google.protobuf.ByteString + getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -717,7 +609,6 @@ public com.google.protobuf.ByteString getRouteTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,7 +620,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 { getSerializedSize(); for (int i = 0; i < legs_.size(); i++) { output.writeMessage(1, legs_.get(i)); @@ -778,19 +670,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < legs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, legs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, legs_.get(i)); } if (distanceMeters_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, distanceMeters_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, distanceMeters_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDuration()); } if (staticDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStaticDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStaticDuration()); } if (polyline_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPolyline()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getPolyline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -804,10 +701,12 @@ public int getSerializedSize() { size += 1 * getWarningsList().size(); } if (viewport_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getViewport()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getViewport()); } if (travelAdvisory_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTravelAdvisory()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getTravelAdvisory()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeToken_); @@ -815,14 +714,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < routeLabels_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(routeLabels_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(routeLabels_.get(i)); } size += dataSize; - if (!getRouteLabelsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - routeLabelsMemoizedSerializedSize = dataSize; + if (!getRouteLabelsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }routeLabelsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -832,7 +731,7 @@ 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.routing.v2.Route)) { return super.equals(obj); @@ -840,31 +739,41 @@ public boolean equals(final java.lang.Object obj) { com.google.maps.routing.v2.Route other = (com.google.maps.routing.v2.Route) obj; if (!routeLabels_.equals(other.routeLabels_)) return false; - if (!getLegsList().equals(other.getLegsList())) return false; - if (getDistanceMeters() != other.getDistanceMeters()) return false; + if (!getLegsList() + .equals(other.getLegsList())) return false; + if (getDistanceMeters() + != other.getDistanceMeters()) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration().equals(other.getDuration())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; } if (hasStaticDuration() != other.hasStaticDuration()) return false; if (hasStaticDuration()) { - if (!getStaticDuration().equals(other.getStaticDuration())) return false; + if (!getStaticDuration() + .equals(other.getStaticDuration())) return false; } if (hasPolyline() != other.hasPolyline()) return false; if (hasPolyline()) { - if (!getPolyline().equals(other.getPolyline())) return false; + if (!getPolyline() + .equals(other.getPolyline())) return false; } - if (!getDescription().equals(other.getDescription())) return false; - if (!getWarningsList().equals(other.getWarningsList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getWarningsList() + .equals(other.getWarningsList())) return false; if (hasViewport() != other.hasViewport()) return false; if (hasViewport()) { - if (!getViewport().equals(other.getViewport())) return false; + if (!getViewport() + .equals(other.getViewport())) return false; } if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false; if (hasTravelAdvisory()) { - if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false; + if (!getTravelAdvisory() + .equals(other.getTravelAdvisory())) return false; } - if (!getRouteToken().equals(other.getRouteToken())) return false; + if (!getRouteToken() + .equals(other.getRouteToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -919,103 +828,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Route parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Route parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(com.google.protobuf.ByteString data) + public static com.google.maps.routing.v2.Route parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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; } /** - * - * *
    * Encapsulates a route, which consists of a series of connected road segments
    * that join beginning, ending, and intermediate waypoints.
@@ -1023,32 +926,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.Route}
    */
-  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.routing.v2.Route)
       com.google.maps.routing.v2.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Route.class,
-              com.google.maps.routing.v2.Route.Builder.class);
+              com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Route.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();
@@ -1103,9 +1007,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
@@ -1181,39 +1085,38 @@ public com.google.maps.routing.v2.Route 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.routing.v2.Route) {
-        return mergeFrom((com.google.maps.routing.v2.Route) other);
+        return mergeFrom((com.google.maps.routing.v2.Route)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1250,10 +1153,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.Route other) {
             legsBuilder_ = null;
             legs_ = other.legs_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            legsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLegsFieldBuilder()
-                    : null;
+            legsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLegsFieldBuilder() : null;
           } else {
             legsBuilder_.addAllMessages(other.legs_);
           }
@@ -1321,100 +1223,98 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.maps.routing.v2.RouteLeg m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.RouteLeg.parser(), extensionRegistry);
-                if (legsBuilder_ == null) {
-                  ensureLegsIsMutable();
-                  legs_.add(m);
-                } else {
-                  legsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 16:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureWarningsIsMutable();
-                warnings_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getViewportFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 98:
-              {
-                routeToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 104:
-              {
+            case 10: {
+              com.google.maps.routing.v2.RouteLeg m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.RouteLeg.parser(),
+                      extensionRegistry);
+              if (legsBuilder_ == null) {
+                ensureLegsIsMutable();
+                legs_.add(m);
+              } else {
+                legsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 16: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getPolylineFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureWarningsIsMutable();
+              warnings_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getViewportFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 98: {
+              routeToken_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureRouteLabelsIsMutable();
+              routeLabels_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureRouteLabelsIsMutable();
                 routeLabels_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureRouteLabelsIsMutable();
-                  routeLabels_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            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) {
@@ -1424,11 +1324,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List routeLabels_ = java.util.Collections.emptyList();
-
+    private java.util.List routeLabels_ =
+      java.util.Collections.emptyList();
     private void ensureRouteLabelsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         routeLabels_ = new java.util.ArrayList(routeLabels_);
@@ -1436,47 +1335,37 @@ private void ensureRouteLabelsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( - routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ public int getRouteLabelsCount() { return routeLabels_.size(); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -1484,20 +1373,18 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index to set the value at. * @param value The routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel value) { + public Builder setRouteLabels( + int index, com.google.maps.routing.v2.RouteLabel value) { if (value == null) { throw new NullPointerException(); } @@ -1507,15 +1394,12 @@ public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel v return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param value The routeLabels to add. * @return This builder for chaining. */ @@ -1529,15 +1413,12 @@ public Builder addRouteLabels(com.google.maps.routing.v2.RouteLabel value) { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param values The routeLabels to add. * @return This builder for chaining. */ @@ -1551,15 +1432,12 @@ public Builder addAllRouteLabels( return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return This builder for chaining. */ public Builder clearRouteLabels() { @@ -1569,30 +1447,25 @@ public Builder clearRouteLabels() { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ - public java.util.List getRouteLabelsValueList() { + public java.util.List + getRouteLabelsValueList() { return java.util.Collections.unmodifiableList(routeLabels_); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -1600,35 +1473,30 @@ public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabelsValue(int index, int value) { + public Builder setRouteLabelsValue( + int index, int value) { ensureRouteLabelsIsMutable(); routeLabels_.set(index, value); onChanged(); return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param value The enum numeric value on the wire for routeLabels to add. * @return This builder for chaining. */ @@ -1639,19 +1507,17 @@ public Builder addRouteLabelsValue(int value) { return this; } /** - * - * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param values The enum numeric values on the wire for routeLabels to add. * @return This builder for chaining. */ - public Builder addAllRouteLabelsValue(java.lang.Iterable values) { + public Builder addAllRouteLabelsValue( + java.lang.Iterable values) { ensureRouteLabelsIsMutable(); for (int value : values) { routeLabels_.add(value); @@ -1661,24 +1527,18 @@ public Builder addAllRouteLabelsValue(java.lang.Iterable valu } private java.util.List legs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLegsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { legs_ = new java.util.ArrayList(legs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteLeg, - com.google.maps.routing.v2.RouteLeg.Builder, - com.google.maps.routing.v2.RouteLegOrBuilder> - legsBuilder_; + com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> legsBuilder_; /** - * - * *
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1699,8 +1559,6 @@ public java.util.List getLegsList() {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1721,8 +1579,6 @@ public int getLegsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1743,8 +1599,6 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1757,7 +1611,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder setLegs(
+        int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1771,8 +1626,6 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1785,7 +1638,8 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder setLegs(
+        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.set(index, builderForValue.build());
@@ -1796,8 +1650,6 @@ public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1824,8 +1676,6 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1838,7 +1688,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder addLegs(
+        int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1852,8 +1703,6 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1866,7 +1715,8 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(
+        com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(builderForValue.build());
@@ -1877,8 +1727,6 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1891,7 +1739,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForVal
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(
+        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(index, builderForValue.build());
@@ -1902,8 +1751,6 @@ public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1920,7 +1767,8 @@ public Builder addAllLegs(
         java.lang.Iterable values) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, legs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, legs_);
         onChanged();
       } else {
         legsBuilder_.addAllMessages(values);
@@ -1928,8 +1776,6 @@ public Builder addAllLegs(
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1953,8 +1799,6 @@ public Builder clearLegs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1978,8 +1822,6 @@ public Builder removeLegs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1992,12 +1834,11 @@ public Builder removeLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
+        int index) {
       return getLegsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2010,16 +1851,14 @@ public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+        int index) {
       if (legsBuilder_ == null) {
-        return legs_.get(index);
-      } else {
+        return legs_.get(index);  } else {
         return legsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2032,8 +1871,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List
-        getLegsOrBuilderList() {
+    public java.util.List 
+         getLegsOrBuilderList() {
       if (legsBuilder_ != null) {
         return legsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2041,8 +1880,6 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2056,12 +1893,10 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index)
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
     public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
-      return getLegsFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+      return getLegsFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2074,13 +1909,12 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
-      return getLegsFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
+        int index) {
+      return getLegsFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -2093,37 +1927,32 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List getLegsBuilderList() {
+    public java.util.List 
+         getLegsBuilderList() {
       return getLegsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLeg,
-            com.google.maps.routing.v2.RouteLeg.Builder,
-            com.google.maps.routing.v2.RouteLegOrBuilder>
+        com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> 
         getLegsFieldBuilder() {
       if (legsBuilder_ == null) {
-        legsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLeg,
-                com.google.maps.routing.v2.RouteLeg.Builder,
-                com.google.maps.routing.v2.RouteLegOrBuilder>(
-                legs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        legsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder>(
+                legs_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         legs_ = null;
       }
       return legsBuilder_;
     }
 
-    private int distanceMeters_;
+    private int distanceMeters_ ;
     /**
-     *
-     *
      * 
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ @java.lang.Override @@ -2131,36 +1960,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -2168,13 +1991,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2184,15 +2002,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2202,7 +2017,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2213,8 +2027,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2239,8 +2051,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2251,7 +2061,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 3;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -2262,8 +2073,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2278,7 +2087,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -2290,8 +2099,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2314,8 +2121,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2327,13 +2132,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 3;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2348,12 +2151,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2365,17 +2167,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -2383,49 +2182,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2447,8 +2233,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2456,7 +2240,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 4;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -2467,8 +2252,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2480,9 +2263,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -2494,8 +2275,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2515,8 +2294,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2525,13 +2302,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2543,14 +2318,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2559,17 +2331,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -2577,49 +2346,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2641,8 +2397,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2650,7 +2404,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
-    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(
+        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -2661,8 +2416,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2674,9 +2427,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
         } else {
           polyline_ = value;
         }
@@ -2688,8 +2439,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2709,8 +2458,6 @@ public Builder clearPolyline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2719,13 +2466,11 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-
+      
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2737,14 +2482,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null
-            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
-            : polyline_;
+        return polyline_ == null ?
+            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
       }
     }
     /**
-     *
-     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2753,17 +2495,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Polyline,
-                com.google.maps.routing.v2.Polyline.Builder,
-                com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(), getParentForChildren(), isClean());
+        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(),
+                getParentForChildren(),
+                isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -2771,20 +2510,18 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * A description of the route.
      * 
* * string description = 6; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -2793,21 +2530,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -2815,112 +2551,95 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A description of the route.
      * 
* * string description = 6; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList warnings_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWarningsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList getWarningsList() { + public com.google.protobuf.ProtocolStringList + getWarningsList() { return warnings_.getUnmodifiableView(); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -2928,90 +2647,80 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString getWarningsBytes(int index) { + public com.google.protobuf.ByteString + getWarningsBytes(int index) { return warnings_.getByteString(index); } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param index The index to set the value at. * @param value The warnings to set. * @return This builder for chaining. */ - public Builder setWarnings(int index, java.lang.String value) { + public Builder setWarnings( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.set(index, value); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param value The warnings to add. * @return This builder for chaining. */ - public Builder addWarnings(java.lang.String value) { + public Builder addWarnings( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.add(value); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param values The warnings to add. * @return This builder for chaining. */ - public Builder addAllWarnings(java.lang.Iterable values) { + public Builder addAllWarnings( + java.lang.Iterable values) { ensureWarningsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, warnings_); onChanged(); return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @return This builder for chaining. */ public Builder clearWarnings() { @@ -3021,22 +2730,20 @@ public Builder clearWarnings() { return this; } /** - * - * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; - * * @param value The bytes of the warnings to add. * @return This builder for chaining. */ - public Builder addWarningsBytes(com.google.protobuf.ByteString value) { + public Builder addWarningsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWarningsIsMutable(); warnings_.add(value); onChanged(); @@ -3045,33 +2752,24 @@ public Builder addWarningsBytes(com.google.protobuf.ByteString value) { private com.google.geo.type.Viewport viewport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder> - viewportBuilder_; + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> viewportBuilder_; /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ public boolean hasViewport() { return viewportBuilder_ != null || viewport_ != null; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ public com.google.geo.type.Viewport getViewport() { @@ -3082,8 +2780,6 @@ public com.google.geo.type.Viewport getViewport() { } } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3104,15 +2800,14 @@ public Builder setViewport(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; */ - public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setViewport( + com.google.geo.type.Viewport.Builder builderForValue) { if (viewportBuilder_ == null) { viewport_ = builderForValue.build(); onChanged(); @@ -3123,8 +2818,6 @@ public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3135,7 +2828,7 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { if (viewportBuilder_ == null) { if (viewport_ != null) { viewport_ = - com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); } else { viewport_ = value; } @@ -3147,8 +2840,6 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3167,8 +2858,6 @@ public Builder clearViewport() { return this; } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3176,13 +2865,11 @@ public Builder clearViewport() { * .google.geo.type.Viewport viewport = 8; */ public com.google.geo.type.Viewport.Builder getViewportBuilder() { - + onChanged(); return getViewportFieldBuilder().getBuilder(); } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3193,12 +2880,11 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { if (viewportBuilder_ != null) { return viewportBuilder_.getMessageOrBuilder(); } else { - return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; + return viewport_ == null ? + com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } } /** - * - * *
      * The viewport bounding box of the polyline.
      * 
@@ -3206,17 +2892,14 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { * .google.geo.type.Viewport viewport = 8; */ 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> getViewportFieldBuilder() { if (viewportBuilder_ == null) { - viewportBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, - com.google.geo.type.Viewport.Builder, - com.google.geo.type.ViewportOrBuilder>( - getViewport(), getParentForChildren(), isClean()); + viewportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( + getViewport(), + getParentForChildren(), + isClean()); viewport_ = null; } return viewportBuilder_; @@ -3224,47 +2907,34 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> - travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; /** - * - * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Additional information about the route.
      * 
@@ -3285,8 +2955,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3305,8 +2973,6 @@ public Builder setTravelAdvisory( return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3317,9 +2983,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor if (travelAdvisoryBuilder_ == null) { if (travelAdvisory_ != null) { travelAdvisory_ = - com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial(); } else { travelAdvisory_ = value; } @@ -3331,8 +2995,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3351,8 +3013,6 @@ public Builder clearTravelAdvisory() { return this; } /** - * - * *
      * Additional information about the route.
      * 
@@ -3360,13 +3020,11 @@ public Builder clearTravelAdvisory() { * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() { - + onChanged(); return getTravelAdvisoryFieldBuilder().getBuilder(); } /** - * - * *
      * Additional information about the route.
      * 
@@ -3377,14 +3035,11 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory if (travelAdvisoryBuilder_ != null) { return travelAdvisoryBuilder_.getMessageOrBuilder(); } else { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? + com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } } /** - * - * *
      * Additional information about the route.
      * 
@@ -3392,17 +3047,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> getTravelAdvisoryFieldBuilder() { if (travelAdvisoryBuilder_ == null) { - travelAdvisoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, - com.google.maps.routing.v2.RouteTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( - getTravelAdvisory(), getParentForChildren(), isClean()); + travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( + getTravelAdvisory(), + getParentForChildren(), + isClean()); travelAdvisory_ = null; } return travelAdvisoryBuilder_; @@ -3410,8 +3062,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory private java.lang.Object routeToken_ = ""; /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3425,13 +3075,13 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * string route_token = 12; - * * @return The routeToken. */ public java.lang.String getRouteToken() { java.lang.Object ref = routeToken_; 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(); routeToken_ = s; return s; @@ -3440,8 +3090,6 @@ public java.lang.String getRouteToken() { } } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3455,14 +3103,15 @@ public java.lang.String getRouteToken() {
      * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ - public com.google.protobuf.ByteString getRouteTokenBytes() { + public com.google.protobuf.ByteString + getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -3470,8 +3119,6 @@ public com.google.protobuf.ByteString getRouteTokenBytes() { } } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3485,22 +3132,20 @@ public com.google.protobuf.ByteString getRouteTokenBytes() {
      * 
* * string route_token = 12; - * * @param value The routeToken to set. * @return This builder for chaining. */ - public Builder setRouteToken(java.lang.String value) { + public Builder setRouteToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeToken_ = value; onChanged(); return this; } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3514,18 +3159,15 @@ public Builder setRouteToken(java.lang.String value) {
      * 
* * string route_token = 12; - * * @return This builder for chaining. */ public Builder clearRouteToken() { - + routeToken_ = getDefaultInstance().getRouteToken(); onChanged(); return this; } /** - * - * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3539,23 +3181,23 @@ public Builder clearRouteToken() {
      * 
* * string route_token = 12; - * * @param value The bytes for routeToken to set. * @return This builder for chaining. */ - public Builder setRouteTokenBytes(com.google.protobuf.ByteString value) { + public Builder setRouteTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeToken_ = 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); } @@ -3565,12 +3207,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Route) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Route) private static final com.google.maps.routing.v2.Route DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Route(); } @@ -3579,27 +3221,27 @@ public static com.google.maps.routing.v2.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route 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 Route 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; @@ -3614,4 +3256,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java similarity index 71% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java index a6df87ab0bbc..ac717036ef9a 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.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/routing/v2/route_label.proto package com.google.maps.routing.v2; /** - * - * *
  * Labels for the `Route` that are useful to identify specific properties
  * of the route to compare against others.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteLabel}
  */
-public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteLabel
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default - not used.
    * 
@@ -40,8 +22,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ ROUTE_LABEL_UNSPECIFIED(0), /** - * - * *
    * The default "best" route returned for the route computation.
    * 
@@ -50,8 +30,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT_ROUTE(1), /** - * - * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -62,8 +40,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEFAULT_ROUTE_ALTERNATE(2),
   /**
-   *
-   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -76,8 +52,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default - not used.
    * 
@@ -86,8 +60,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROUTE_LABEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The default "best" route returned for the route computation.
    * 
@@ -96,8 +68,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_ROUTE_VALUE = 1; /** - * - * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -108,8 +78,6 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEFAULT_ROUTE_ALTERNATE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -119,6 +87,7 @@ public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FUEL_EFFICIENT_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -143,51 +112,50 @@ public static RouteLabel valueOf(int value) {
    */
   public static RouteLabel forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTE_LABEL_UNSPECIFIED;
-      case 1:
-        return DEFAULT_ROUTE;
-      case 2:
-        return DEFAULT_ROUTE_ALTERNATE;
-      case 3:
-        return FUEL_EFFICIENT;
-      default:
-        return null;
+      case 0: return ROUTE_LABEL_UNSPECIFIED;
+      case 1: return DEFAULT_ROUTE;
+      case 2: return DEFAULT_ROUTE_ALTERNATE;
+      case 3: return FUEL_EFFICIENT;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public RouteLabel findValueByNumber(int number) {
-          return RouteLabel.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteLabel> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteLabel findValueByNumber(int number) {
+            return RouteLabel.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.routing.v2.RouteLabelProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteLabel[] VALUES = values();
 
-  public static RouteLabel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteLabel 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;
@@ -203,3 +171,4 @@ private RouteLabel(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteLabel)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
new file mode 100644
index 000000000000..c32bbe87c122
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
@@ -0,0 +1,44 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/route_label.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteLabelProto {
+  private RouteLabelProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_label.pro" +
+      "to\022\026google.maps.routing.v2*m\n\nRouteLabel" +
+      "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" +
+      "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" +
+      "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" +
+      "uting.v2B\017RouteLabelProtoP\001Z=google.gola" +
+      "ng.org/genproto/googleapis/maps/routing/" +
+      "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" +
+      "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" +
+      "::Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
index ca791c89a53f..4d20e31392ab 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a segment between non-`via` waypoints.
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ -public final class RouteLeg extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteLeg extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLeg) RouteLegOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteLeg.newBuilder() to construct. private RouteLeg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteLeg() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteLeg(); } @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.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, - com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); } public static final int DISTANCE_METERS_FIELD_NUMBER = 1; private int distanceMeters_; /** - * - * *
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -88,8 +66,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -99,7 +75,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -107,8 +82,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -118,7 +91,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ @java.lang.Override @@ -126,8 +98,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -146,15 +116,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -162,26 +129,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -197,15 +157,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 4;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -213,15 +170,12 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ @java.lang.Override @@ -229,8 +183,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -246,8 +198,6 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int START_LOCATION_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Location startLocation_;
   /**
-   *
-   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -255,7 +205,6 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -263,8 +212,6 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -272,18 +219,13 @@ public boolean hasStartLocation() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -300,8 +242,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
   public static final int END_LOCATION_FIELD_NUMBER = 6;
   private com.google.maps.routing.v2.Location endLocation_;
   /**
-   *
-   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -309,7 +249,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -317,8 +256,6 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -326,18 +263,13 @@ public boolean hasEndLocation() {
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -354,8 +286,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
   public static final int STEPS_FIELD_NUMBER = 7;
   private java.util.List steps_;
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -368,8 +298,6 @@ public java.util.List getStepsList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -378,13 +306,11 @@ public java.util.List getStepsList() {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -397,8 +323,6 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -411,8 +335,6 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
     return steps_.get(index);
   }
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -421,22 +343,20 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
+  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+      int index) {
     return steps_.get(index);
   }
 
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -444,26 +364,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -477,7 +390,6 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -489,7 +401,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -524,28 +437,36 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolyline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getEndLocation());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, steps_.get(i));
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -555,38 +476,46 @@ 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.routing.v2.RouteLeg)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLeg other = (com.google.maps.routing.v2.RouteLeg) obj;
 
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration().equals(other.getDuration())) return false;
+      if (!getDuration()
+          .equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline().equals(other.getPolyline())) return false;
+      if (!getPolyline()
+          .equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation().equals(other.getStartLocation())) return false;
+      if (!getStartLocation()
+          .equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation().equals(other.getEndLocation())) return false;
+      if (!getEndLocation()
+          .equals(other.getEndLocation())) return false;
     }
-    if (!getStepsList().equals(other.getStepsList())) return false;
+    if (!getStepsList()
+        .equals(other.getStepsList())) return false;
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -634,135 +563,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLeg parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a segment between non-`via` waypoints.
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ - 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.routing.v2.RouteLeg) com.google.maps.routing.v2.RouteLegOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, - com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); } // Construct using com.google.maps.routing.v2.RouteLeg.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(); @@ -815,9 +739,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RouteProto - .internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override @@ -886,39 +810,38 @@ public com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg) { - return mergeFrom((com.google.maps.routing.v2.RouteLeg) other); + return mergeFrom((com.google.maps.routing.v2.RouteLeg)other); } else { super.mergeFrom(other); return this; @@ -963,10 +886,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLeg other) { stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000001); - stepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStepsFieldBuilder() - : null; + stepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStepsFieldBuilder() : null; } else { stepsBuilder_.addAllMessages(other.steps_); } @@ -1001,68 +923,72 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - distanceMeters_ = input.readInt32(); - - break; - } // case 8 - case 18: - { - input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 58: - { - com.google.maps.routing.v2.RouteLegStep m = - input.readMessage( - com.google.maps.routing.v2.RouteLegStep.parser(), extensionRegistry); - if (stepsBuilder_ == null) { - ensureStepsIsMutable(); - steps_.add(m); - } else { - stepsBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: - { - input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + distanceMeters_ = input.readInt32(); + + break; + } // case 8 + case 18: { + input.readMessage( + getDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getStaticDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getPolylineFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getStartLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + input.readMessage( + getEndLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + com.google.maps.routing.v2.RouteLegStep m = + input.readMessage( + com.google.maps.routing.v2.RouteLegStep.parser(), + extensionRegistry); + if (stepsBuilder_ == null) { + ensureStepsIsMutable(); + steps_.add(m); + } else { + stepsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: { + input.readMessage( + getTravelAdvisoryFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + 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) { @@ -1072,19 +998,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int distanceMeters_; + private int distanceMeters_ ; /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -1092,36 +1014,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1129,13 +1045,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1145,15 +1056,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1163,7 +1071,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1174,8 +1081,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1200,8 +1105,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1212,7 +1115,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 2;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1223,8 +1127,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1239,7 +1141,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1251,8 +1153,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1275,8 +1175,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1288,13 +1186,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 2;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1309,12 +1205,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1326,17 +1221,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1344,49 +1236,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1408,8 +1287,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1417,7 +1294,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 3;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1428,8 +1306,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1441,9 +1317,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1455,8 +1329,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1476,8 +1348,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1486,13 +1356,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1504,14 +1372,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1520,17 +1385,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1538,49 +1400,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1602,8 +1451,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1611,7 +1458,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
-    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(
+        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -1622,8 +1470,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1635,9 +1481,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
         } else {
           polyline_ = value;
         }
@@ -1649,8 +1493,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1670,8 +1512,6 @@ public Builder clearPolyline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1680,13 +1520,11 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-
+      
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1698,14 +1536,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null
-            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
-            : polyline_;
+        return polyline_ == null ?
+            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
       }
     }
     /**
-     *
-     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1714,17 +1549,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Polyline,
-                com.google.maps.routing.v2.Polyline.Builder,
-                com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(), getParentForChildren(), isClean());
+        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(),
+                getParentForChildren(),
+                isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -1732,13 +1564,8 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private com.google.maps.routing.v2.Location startLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        startLocationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_;
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1746,15 +1573,12 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** - * - * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1762,21 +1586,16 @@ public boolean hasStartLocation() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** - * - * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1799,8 +1618,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1809,7 +1626,8 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location start_location = 5;
      */
-    public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setStartLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (startLocationBuilder_ == null) {
         startLocation_ = builderForValue.build();
         onChanged();
@@ -1820,8 +1638,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1834,9 +1650,7 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       if (startLocationBuilder_ == null) {
         if (startLocation_ != null) {
           startLocation_ =
-              com.google.maps.routing.v2.Location.newBuilder(startLocation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial();
         } else {
           startLocation_ = value;
         }
@@ -1848,8 +1662,6 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1870,8 +1682,6 @@ public Builder clearStartLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1881,13 +1691,11 @@ public Builder clearStartLocation() {
      * .google.maps.routing.v2.Location start_location = 5;
      */
     public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() {
-
+      
       onChanged();
       return getStartLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1900,14 +1708,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
       if (startLocationBuilder_ != null) {
         return startLocationBuilder_.getMessageOrBuilder();
       } else {
-        return startLocation_ == null
-            ? com.google.maps.routing.v2.Location.getDefaultInstance()
-            : startLocation_;
+        return startLocation_ == null ?
+            com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_;
       }
     }
     /**
-     *
-     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1917,17 +1722,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * .google.maps.routing.v2.Location start_location = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getStartLocationFieldBuilder() {
       if (startLocationBuilder_ == null) {
-        startLocationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
-                getStartLocation(), getParentForChildren(), isClean());
+        startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+                getStartLocation(),
+                getParentForChildren(),
+                isClean());
         startLocation_ = null;
       }
       return startLocationBuilder_;
@@ -1935,13 +1737,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
 
     private com.google.maps.routing.v2.Location endLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        endLocationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_;
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1949,15 +1746,12 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** - * - * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1965,21 +1759,16 @@ public boolean hasEndLocation() {
      * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** - * - * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2002,8 +1791,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2012,7 +1799,8 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location end_location = 6;
      */
-    public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setEndLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (endLocationBuilder_ == null) {
         endLocation_ = builderForValue.build();
         onChanged();
@@ -2023,8 +1811,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2037,9 +1823,7 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       if (endLocationBuilder_ == null) {
         if (endLocation_ != null) {
           endLocation_ =
-              com.google.maps.routing.v2.Location.newBuilder(endLocation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial();
         } else {
           endLocation_ = value;
         }
@@ -2051,8 +1835,6 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2073,8 +1855,6 @@ public Builder clearEndLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2084,13 +1864,11 @@ public Builder clearEndLocation() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() {
-
+      
       onChanged();
       return getEndLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2103,14 +1881,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
       if (endLocationBuilder_ != null) {
         return endLocationBuilder_.getMessageOrBuilder();
       } else {
-        return endLocation_ == null
-            ? com.google.maps.routing.v2.Location.getDefaultInstance()
-            : endLocation_;
+        return endLocation_ == null ?
+            com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_;
       }
     }
     /**
-     *
-     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -2120,41 +1895,32 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getEndLocationFieldBuilder() {
       if (endLocationBuilder_ == null) {
-        endLocationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
-                getEndLocation(), getParentForChildren(), isClean());
+        endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+                getEndLocation(),
+                getParentForChildren(),
+                isClean());
         endLocation_ = null;
       }
       return endLocationBuilder_;
     }
 
     private java.util.List steps_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep,
-            com.google.maps.routing.v2.RouteLegStep.Builder,
-            com.google.maps.routing.v2.RouteLegStepOrBuilder>
-        stepsBuilder_;
+        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> stepsBuilder_;
 
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2170,8 +1936,6 @@ public java.util.List getStepsList() {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2187,8 +1951,6 @@ public int getStepsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2204,8 +1966,6 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2213,7 +1973,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder setSteps(
+        int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2227,8 +1988,6 @@ public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2248,8 +2007,6 @@ public Builder setSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2271,8 +2028,6 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2280,7 +2035,8 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder addSteps(
+        int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2294,8 +2050,6 @@ public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2303,7 +2057,8 @@ public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
+    public Builder addSteps(
+        com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -2314,8 +2069,6 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2335,8 +2088,6 @@ public Builder addSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2348,7 +2099,8 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -2356,8 +2108,6 @@ public Builder addAllSteps(
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2376,8 +2126,6 @@ public Builder clearSteps() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2396,8 +2144,6 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2405,12 +2151,11 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
+        int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2418,16 +2163,14 @@ public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
+    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+        int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);
-      } else {
+        return steps_.get(index);  } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2435,8 +2178,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List
-        getStepsOrBuilderList() {
+    public java.util.List 
+         getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2444,8 +2187,6 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2454,12 +2195,10 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int in
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
     public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
-      return getStepsFieldBuilder()
-          .addBuilder(com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+      return getStepsFieldBuilder().addBuilder(
+          com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2467,13 +2206,12 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index) {
-      return getStepsFieldBuilder()
-          .addBuilder(index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
+        int index) {
+      return getStepsFieldBuilder().addBuilder(
+          index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2481,22 +2219,20 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List getStepsBuilderList() {
+    public java.util.List 
+         getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep,
-            com.google.maps.routing.v2.RouteLegStep.Builder,
-            com.google.maps.routing.v2.RouteLegStepOrBuilder>
+        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> 
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegStep,
-                com.google.maps.routing.v2.RouteLegStep.Builder,
-                com.google.maps.routing.v2.RouteLegStepOrBuilder>(
-                steps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder>(
+                steps_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         steps_ = null;
       }
       return stepsBuilder_;
@@ -2504,49 +2240,36 @@ public java.util.List getStepsB
 
     private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
-        travelAdvisoryBuilder_;
+        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2568,8 +2291,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdviso
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2589,8 +2310,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2602,9 +2321,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2616,8 +2333,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2637,8 +2352,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2647,13 +2360,11 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     public com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2665,14 +2376,11 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2681,24 +2389,21 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegTravelAdvisory,
-                com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
-
     @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);
     }
 
@@ -2708,12 +2413,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLeg)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLeg)
   private static final com.google.maps.routing.v2.RouteLeg DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLeg();
   }
@@ -2722,27 +2427,27 @@ public static com.google.maps.routing.v2.RouteLeg getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteLeg 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 RouteLeg 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;
@@ -2757,4 +2462,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLeg getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
similarity index 88%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
index c08e71a46f81..60d07ca7ab3a 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
@@ -1,44 +1,23 @@
-/*
- * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegOrBuilder
-    extends
+public interface RouteLegOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLeg)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -48,13 +27,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.protobuf.Duration duration = 2; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -64,13 +40,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.protobuf.Duration duration = 2; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -84,34 +57,26 @@ public interface RouteLegOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -122,34 +87,26 @@ public interface RouteLegOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -160,8 +117,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
-   *
-   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -169,13 +124,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -183,13 +135,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location start_location = 5; - * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** - * - * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -201,8 +150,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -210,13 +157,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -224,13 +168,10 @@ public interface RouteLegOrBuilder
    * 
* * .google.maps.routing.v2.Location end_location = 6; - * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** - * - * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -242,8 +183,6 @@ public interface RouteLegOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -251,10 +190,9 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List getStepsList();
+  java.util.List 
+      getStepsList();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -264,8 +202,6 @@ public interface RouteLegOrBuilder
    */
   com.google.maps.routing.v2.RouteLegStep getSteps(int index);
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -275,8 +211,6 @@ public interface RouteLegOrBuilder
    */
   int getStepsCount();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -284,11 +218,9 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List
+  java.util.List 
       getStepsOrBuilderList();
   /**
-   *
-   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -296,37 +228,30 @@ public interface RouteLegOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index);
+  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
similarity index 73%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
index 67b2489432a8..84201efc7c81 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
  * navigation instruction. Route legs are made up of steps.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
  */
-public final class RouteLegStep extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegStep extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStep)
     RouteLegStepOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegStep.newBuilder() to construct.
   private RouteLegStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RouteLegStep() {}
+  private RouteLegStep() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegStep();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStep.class,
-            com.google.maps.routing.v2.RouteLegStep.Builder.class);
+            com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 1;
   private int distanceMeters_;
   /**
-   *
-   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -88,8 +67,6 @@ public int getDistanceMeters() { public static final int STATIC_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration staticDuration_; /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -97,7 +74,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -105,8 +81,6 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -114,18 +88,13 @@ public boolean hasStaticDuration() {
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -142,14 +111,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 3;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
-   *
-   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ @java.lang.Override @@ -157,14 +123,11 @@ public boolean hasPolyline() { return polyline_ != null; } /** - * - * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ @java.lang.Override @@ -172,8 +135,6 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** - * - * *
    * The polyline associated with this step.
    * 
@@ -188,14 +149,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { public static final int START_LOCATION_FIELD_NUMBER = 4; private com.google.maps.routing.v2.Location startLocation_; /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -203,25 +161,18 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } /** - * - * *
    * The start location of this step.
    * 
@@ -236,14 +187,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() public static final int END_LOCATION_FIELD_NUMBER = 5; private com.google.maps.routing.v2.Location endLocation_; /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -251,25 +199,18 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } /** - * - * *
    * The end location of this step.
    * 
@@ -284,14 +225,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { public static final int NAVIGATION_INSTRUCTION_FIELD_NUMBER = 6; private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ @java.lang.Override @@ -299,25 +237,18 @@ public boolean hasNavigationInstruction() { return navigationInstruction_ != null; } /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ @java.lang.Override public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } /** - * - * *
    * Navigation instructions.
    * 
@@ -325,23 +256,19 @@ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ @java.lang.Override - public com.google.maps.routing.v2.NavigationInstructionOrBuilder - getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { return getNavigationInstruction(); } public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7; private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -349,26 +276,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -377,13 +297,11 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory()
    * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
-      getTravelAdvisoryOrBuilder() {
+  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
     return getTravelAdvisory();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -395,7 +313,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -427,26 +346,32 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, distanceMeters_);
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolyline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getEndLocation());
     }
     if (navigationInstruction_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNavigationInstruction());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getNavigationInstruction());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -456,37 +381,44 @@ 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.routing.v2.RouteLegStep)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLegStep other = (com.google.maps.routing.v2.RouteLegStep) obj;
 
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline().equals(other.getPolyline())) return false;
+      if (!getPolyline()
+          .equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation().equals(other.getStartLocation())) return false;
+      if (!getStartLocation()
+          .equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation().equals(other.getEndLocation())) return false;
+      if (!getEndLocation()
+          .equals(other.getEndLocation())) return false;
     }
     if (hasNavigationInstruction() != other.hasNavigationInstruction()) return false;
     if (hasNavigationInstruction()) {
-      if (!getNavigationInstruction().equals(other.getNavigationInstruction())) return false;
+      if (!getNavigationInstruction()
+          .equals(other.getNavigationInstruction())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -530,104 +462,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLegStep parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLegStep parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStep parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
    * navigation instruction. Route legs are made up of steps.
@@ -635,32 +560,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
    */
-  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.routing.v2.RouteLegStep)
       com.google.maps.routing.v2.RouteLegStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStep.class,
-              com.google.maps.routing.v2.RouteLegStep.Builder.class);
+              com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStep.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();
@@ -706,9 +632,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
@@ -727,8 +653,7 @@ public com.google.maps.routing.v2.RouteLegStep build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStep buildPartial() {
-      com.google.maps.routing.v2.RouteLegStep result =
-          new com.google.maps.routing.v2.RouteLegStep(this);
+      com.google.maps.routing.v2.RouteLegStep result = new com.google.maps.routing.v2.RouteLegStep(this);
       result.distanceMeters_ = distanceMeters_;
       if (staticDurationBuilder_ == null) {
         result.staticDuration_ = staticDuration_;
@@ -768,39 +693,38 @@ public com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStep) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStep)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -856,56 +780,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getNavigationInstructionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPolylineFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStartLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getEndLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getNavigationInstructionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -916,17 +843,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int distanceMeters_;
+    private int distanceMeters_ ;
     /**
-     *
-     *
      * 
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ @java.lang.Override @@ -934,38 +858,32 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -973,13 +891,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration staticDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - staticDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_; /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -987,15 +900,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1003,21 +913,16 @@ public boolean hasStaticDuration() {
      * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1040,8 +945,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1050,7 +953,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 2;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1061,8 +965,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1075,9 +977,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1089,8 +989,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1111,8 +1009,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1122,13 +1018,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1141,14 +1035,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1158,17 +1049,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1176,47 +1064,34 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline,
-            com.google.maps.routing.v2.Polyline.Builder,
-            com.google.maps.routing.v2.PolylineOrBuilder>
-        polylineBuilder_;
+        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
     /**
-     *
-     *
      * 
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** - * - * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } else { return polylineBuilder_.getMessage(); } } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1237,15 +1112,14 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; */ - public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) { + public Builder setPolyline( + com.google.maps.routing.v2.Polyline.Builder builderForValue) { if (polylineBuilder_ == null) { polyline_ = builderForValue.build(); onChanged(); @@ -1256,8 +1130,6 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderFo return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1268,9 +1140,7 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { if (polylineBuilder_ == null) { if (polyline_ != null) { polyline_ = - com.google.maps.routing.v2.Polyline.newBuilder(polyline_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial(); } else { polyline_ = value; } @@ -1282,8 +1152,6 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1302,8 +1170,6 @@ public Builder clearPolyline() { return this; } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1311,13 +1177,11 @@ public Builder clearPolyline() { * .google.maps.routing.v2.Polyline polyline = 3; */ public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() { - + onChanged(); return getPolylineFieldBuilder().getBuilder(); } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1328,14 +1192,11 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { if (polylineBuilder_ != null) { return polylineBuilder_.getMessageOrBuilder(); } else { - return polyline_ == null - ? com.google.maps.routing.v2.Polyline.getDefaultInstance() - : polyline_; + return polyline_ == null ? + com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } } /** - * - * *
      * The polyline associated with this step.
      * 
@@ -1343,17 +1204,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { * .google.maps.routing.v2.Polyline polyline = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, - com.google.maps.routing.v2.Polyline.Builder, - com.google.maps.routing.v2.PolylineOrBuilder> + com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> getPolylineFieldBuilder() { if (polylineBuilder_ == null) { - polylineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, - com.google.maps.routing.v2.Polyline.Builder, - com.google.maps.routing.v2.PolylineOrBuilder>( - getPolyline(), getParentForChildren(), isClean()); + polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>( + getPolyline(), + getParentForChildren(), + isClean()); polyline_ = null; } return polylineBuilder_; @@ -1361,47 +1219,34 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { private com.google.maps.routing.v2.Location startLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> - startLocationBuilder_; + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_; /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** - * - * *
      * The start location of this step.
      * 
@@ -1422,15 +1267,14 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; */ - public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setStartLocation( + com.google.maps.routing.v2.Location.Builder builderForValue) { if (startLocationBuilder_ == null) { startLocation_ = builderForValue.build(); onChanged(); @@ -1441,8 +1285,6 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder buil return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1453,9 +1295,7 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { if (startLocationBuilder_ == null) { if (startLocation_ != null) { startLocation_ = - com.google.maps.routing.v2.Location.newBuilder(startLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial(); } else { startLocation_ = value; } @@ -1467,8 +1307,6 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1487,8 +1325,6 @@ public Builder clearStartLocation() { return this; } /** - * - * *
      * The start location of this step.
      * 
@@ -1496,13 +1332,11 @@ public Builder clearStartLocation() { * .google.maps.routing.v2.Location start_location = 4; */ public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() { - + onChanged(); return getStartLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The start location of this step.
      * 
@@ -1513,14 +1347,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() if (startLocationBuilder_ != null) { return startLocationBuilder_.getMessageOrBuilder(); } else { - return startLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : startLocation_; + return startLocation_ == null ? + com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; } } /** - * - * *
      * The start location of this step.
      * 
@@ -1528,17 +1359,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() * .google.maps.routing.v2.Location start_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> getStartLocationFieldBuilder() { if (startLocationBuilder_ == null) { - startLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder>( - getStartLocation(), getParentForChildren(), isClean()); + startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( + getStartLocation(), + getParentForChildren(), + isClean()); startLocation_ = null; } return startLocationBuilder_; @@ -1546,47 +1374,34 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() private com.google.maps.routing.v2.Location endLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> - endLocationBuilder_; + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_; /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** - * - * *
      * The end location of this step.
      * 
@@ -1607,15 +1422,14 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; */ - public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setEndLocation( + com.google.maps.routing.v2.Location.Builder builderForValue) { if (endLocationBuilder_ == null) { endLocation_ = builderForValue.build(); onChanged(); @@ -1626,8 +1440,6 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builde return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1638,9 +1450,7 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { if (endLocationBuilder_ == null) { if (endLocation_ != null) { endLocation_ = - com.google.maps.routing.v2.Location.newBuilder(endLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial(); } else { endLocation_ = value; } @@ -1652,8 +1462,6 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1672,8 +1480,6 @@ public Builder clearEndLocation() { return this; } /** - * - * *
      * The end location of this step.
      * 
@@ -1681,13 +1487,11 @@ public Builder clearEndLocation() { * .google.maps.routing.v2.Location end_location = 5; */ public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() { - + onChanged(); return getEndLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The end location of this step.
      * 
@@ -1698,14 +1502,11 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { if (endLocationBuilder_ != null) { return endLocationBuilder_.getMessageOrBuilder(); } else { - return endLocation_ == null - ? com.google.maps.routing.v2.Location.getDefaultInstance() - : endLocation_; + return endLocation_ == null ? + com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; } } /** - * - * *
      * The end location of this step.
      * 
@@ -1713,17 +1514,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { * .google.maps.routing.v2.Location end_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> getEndLocationFieldBuilder() { if (endLocationBuilder_ == null) { - endLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, - com.google.maps.routing.v2.Location.Builder, - com.google.maps.routing.v2.LocationOrBuilder>( - getEndLocation(), getParentForChildren(), isClean()); + endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( + getEndLocation(), + getParentForChildren(), + isClean()); endLocation_ = null; } return endLocationBuilder_; @@ -1731,55 +1529,41 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder> - navigationInstructionBuilder_; + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> navigationInstructionBuilder_; /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ public boolean hasNavigationInstruction() { return navigationInstructionBuilder_ != null || navigationInstruction_ != null; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { if (navigationInstructionBuilder_ == null) { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } else { return navigationInstructionBuilder_.getMessage(); } } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder setNavigationInstruction( - com.google.maps.routing.v2.NavigationInstruction value) { + public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1793,8 +1577,6 @@ public Builder setNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
@@ -1813,22 +1595,17 @@ public Builder setNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder mergeNavigationInstruction( - com.google.maps.routing.v2.NavigationInstruction value) { + public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (navigationInstruction_ != null) { navigationInstruction_ = - com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_).mergeFrom(value).buildPartial(); } else { navigationInstruction_ = value; } @@ -1840,8 +1617,6 @@ public Builder mergeNavigationInstruction( return this; } /** - * - * *
      * Navigation instructions.
      * 
@@ -1860,42 +1635,33 @@ public Builder clearNavigationInstruction() { return this; } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstruction.Builder - getNavigationInstructionBuilder() { - + public com.google.maps.routing.v2.NavigationInstruction.Builder getNavigationInstructionBuilder() { + onChanged(); return getNavigationInstructionFieldBuilder().getBuilder(); } /** - * - * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstructionOrBuilder - getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { if (navigationInstructionBuilder_ != null) { return navigationInstructionBuilder_.getMessageOrBuilder(); } else { - return navigationInstruction_ == null - ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() - : navigationInstruction_; + return navigationInstruction_ == null ? + com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; } } /** - * - * *
      * Navigation instructions.
      * 
@@ -1903,17 +1669,14 @@ public Builder clearNavigationInstruction() { * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder> + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> getNavigationInstructionFieldBuilder() { if (navigationInstructionBuilder_ == null) { - navigationInstructionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, - com.google.maps.routing.v2.NavigationInstruction.Builder, - com.google.maps.routing.v2.NavigationInstructionOrBuilder>( - getNavigationInstruction(), getParentForChildren(), isClean()); + navigationInstructionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder>( + getNavigationInstruction(), + getParentForChildren(), + isClean()); navigationInstruction_ = null; } return navigationInstructionBuilder_; @@ -1921,49 +1684,36 @@ public Builder clearNavigationInstruction() { private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteLegStepTravelAdvisory, - com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, - com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> - travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1985,8 +1735,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAd
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2006,8 +1754,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2015,14 +1761,11 @@ public Builder setTravelAdvisory(
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public Builder mergeTravelAdvisory(
-        com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
+    public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2034,8 +1777,6 @@ public Builder mergeTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2055,8 +1796,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2064,15 +1803,12 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder
-        getTravelAdvisoryBuilder() {
-
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAdvisoryBuilder() {
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2080,19 +1816,15 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
-        getTravelAdvisoryOrBuilder() {
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -2101,24 +1833,21 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
-
     @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);
     }
 
@@ -2128,12 +1857,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStep)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStep)
   private static final com.google.maps.routing.v2.RouteLegStep DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStep();
   }
@@ -2142,27 +1871,27 @@ public static com.google.maps.routing.v2.RouteLegStep getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteLegStep 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 RouteLegStep 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;
@@ -2177,4 +1906,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLegStep getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
similarity index 86%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
index fc9f94c0fb44..7bee4d9d94d8 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
@@ -1,45 +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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegStepOrBuilder
-    extends
+public interface RouteLegStepOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStep)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -47,13 +26,10 @@ public interface RouteLegStepOrBuilder
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -61,13 +37,10 @@ public interface RouteLegStepOrBuilder
    * 
* * .google.protobuf.Duration static_duration = 2; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -79,32 +52,24 @@ public interface RouteLegStepOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The polyline associated with this step.
    * 
@@ -114,32 +79,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder(); /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** - * - * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; - * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** - * - * *
    * The start location of this step.
    * 
@@ -149,32 +106,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder(); /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** - * - * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; - * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** - * - * *
    * The end location of this step.
    * 
@@ -184,32 +133,24 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder(); /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return Whether the navigationInstruction field is set. */ boolean hasNavigationInstruction(); /** - * - * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; - * * @return The navigationInstruction. */ com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction(); /** - * - * *
    * Navigation instructions.
    * 
@@ -219,34 +160,26 @@ public interface RouteLegStepOrBuilder com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
similarity index 76%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
index 2c5c6c86bd17..8a5b1c099dde 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction on a leg step.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
  */
-public final class RouteLegStepTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegStepTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStepTravelAdvisory)
     RouteLegStepTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegStepTravelAdvisory.newBuilder() to construct.
   private RouteLegStepTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteLegStepTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegStepTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
   }
 
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 1;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -87,13 +66,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -108,13 +84,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -133,8 +107,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -153,8 +125,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,7 +145,6 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,7 +156,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 {
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
       output.writeMessage(1, speedReadingIntervals_.get(i));
     }
@@ -201,9 +171,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, speedReadingIntervals_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -213,15 +182,15 @@ 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.routing.v2.RouteLegStepTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other =
-        (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other = (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
 
-    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList()
+        .equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -243,104 +212,96 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory prototype) {
+  public static Builder newBuilder(com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -348,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
    */
-  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.routing.v2.RouteLegStepTravelAdvisory)
       com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStepTravelAdvisory.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();
@@ -388,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -409,8 +371,7 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStepTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (speedReadingIntervalsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -429,39 +390,38 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()) return this;
       if (speedReadingIntervalsBuilder_ == null) {
         if (!other.speedReadingIntervals_.isEmpty()) {
           if (speedReadingIntervals_.isEmpty()) {
@@ -489,10 +448,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory o
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -524,27 +482,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            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) {
@@ -554,30 +510,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -589,11 +536,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -601,8 +546,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -614,8 +557,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -625,8 +567,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -638,8 +578,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -649,8 +588,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -662,8 +599,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -680,8 +616,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -693,8 +627,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -708,8 +641,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -721,8 +652,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -738,8 +668,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -751,8 +679,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -769,8 +696,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -782,8 +707,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -797,8 +721,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -810,8 +732,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -825,8 +746,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -838,14 +757,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -853,8 +772,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -866,8 +783,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -880,8 +796,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -893,8 +807,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -907,8 +820,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -920,16 +831,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -941,20 +849,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -966,11 +870,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -978,8 +881,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -991,17 +892,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1013,17 +910,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1035,25 +929,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1062,9 +949,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } - @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); } @@ -1074,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegStepTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(); } @@ -1088,27 +975,27 @@ public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegStepTravelAdvisory 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 RouteLegStepTravelAdvisory 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; @@ -1123,4 +1010,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java similarity index 83% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java index 5c758c9b60d7..87947a0469af 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegStepTravelAdvisoryOrBuilder - extends +public interface RouteLegStepTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStepTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -39,10 +21,9 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -58,8 +39,6 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -75,8 +54,6 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -90,11 +67,9 @@ public interface RouteLegStepTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
similarity index 78%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
index 41a67bddf090..612028d629ba 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc. on a route leg.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
  */
-public final class RouteLegTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteLegTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegTravelAdvisory)
     RouteLegTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteLegTravelAdvisory.newBuilder() to construct.
   private RouteLegTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteLegTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteLegTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
-   *
-   *
    * 
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -90,8 +68,6 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -101,7 +77,6 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ @java.lang.Override @@ -109,8 +84,6 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -129,8 +102,6 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 2;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,13 +116,10 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -166,13 +134,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -191,8 +157,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -211,8 +175,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -233,7 +195,6 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -245,7 +206,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 (tollInfo_ != null) {
       output.writeMessage(1, getTollInfo());
     }
@@ -262,12 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tollInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTollInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTollInfo());
     }
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, speedReadingIntervals_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -277,19 +239,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.routing.v2.RouteLegTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegTravelAdvisory other =
-        (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegTravelAdvisory other = (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
 
     if (hasTollInfo() != other.hasTollInfo()) return false;
     if (hasTollInfo()) {
-      if (!getTollInfo().equals(other.getTollInfo())) return false;
+      if (!getTollInfo()
+          .equals(other.getTollInfo())) return false;
     }
-    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList()
+        .equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -315,103 +278,96 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -419,32 +375,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
    */
-  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.routing.v2.RouteLegTravelAdvisory)
       com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegTravelAdvisory.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();
@@ -465,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -486,8 +443,7 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegTravelAdvisory result = new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -511,39 +467,38 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()) return this;
       if (other.hasTollInfo()) {
         mergeTollInfo(other.getTollInfo());
       }
@@ -574,10 +528,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -609,33 +562,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getTollInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 10
+            case 18: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              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) {
@@ -645,18 +597,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
-        tollInfoBuilder_;
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -666,15 +612,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** - * - * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -684,21 +627,16 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null - ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() - : tollInfo_; + return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -723,8 +661,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -735,7 +671,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
-    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(
+        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -746,8 +683,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -762,9 +697,7 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -776,8 +709,6 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -800,8 +731,6 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -813,13 +742,11 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-
+      
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -834,14 +761,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null
-            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
-            : tollInfo_;
+        return tollInfo_ == null ?
+            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -853,43 +777,32 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.TollInfo,
-                com.google.maps.routing.v2.TollInfo.Builder,
-                com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(), getParentForChildren(), isClean());
+        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(),
+                getParentForChildren(),
+                isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -901,11 +814,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -913,8 +824,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -926,8 +835,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -937,8 +845,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -950,8 +856,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -961,8 +866,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -974,8 +877,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -992,8 +894,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1005,8 +905,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1020,8 +919,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1033,8 +930,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -1050,8 +946,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1063,8 +957,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1081,8 +974,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1094,8 +985,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1109,8 +999,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1122,8 +1010,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1137,8 +1024,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1150,14 +1035,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1165,8 +1050,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1178,8 +1061,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1192,8 +1074,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1205,8 +1085,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1219,8 +1098,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1232,16 +1109,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1253,20 +1127,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1278,11 +1148,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1290,8 +1159,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1303,17 +1170,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1325,17 +1188,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1347,25 +1207,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1374,9 +1227,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } - @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); } @@ -1386,12 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegTravelAdvisory(); } @@ -1400,27 +1253,27 @@ public static com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegTravelAdvisory 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 RouteLegTravelAdvisory 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; @@ -1435,4 +1288,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java similarity index 87% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java index fbe256e0d85f..9f7adf5452a4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegTravelAdvisoryOrBuilder - extends +public interface RouteLegTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -35,13 +17,10 @@ public interface RouteLegTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -51,13 +30,10 @@ public interface RouteLegTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; - * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -71,8 +47,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -86,10 +60,9 @@ public interface RouteLegTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -105,8 +78,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -122,8 +93,6 @@ public interface RouteLegTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -137,11 +106,9 @@ public interface RouteLegTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
similarity index 61%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
index 80beeaa88bb0..c7e266e71be1 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
@@ -1,82 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A single destination for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ -public final class RouteMatrixDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteMatrixDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixDestination) RouteMatrixDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteMatrixDestination.newBuilder() to construct. private RouteMatrixDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RouteMatrixDestination() {} + private RouteMatrixDestination() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteMatrixDestination(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, - com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -115,7 +86,6 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -141,7 +112,8 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWaypoint()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +123,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.routing.v2.RouteMatrixDestination)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixDestination other = - (com.google.maps.routing.v2.RouteMatrixDestination) obj; + com.google.maps.routing.v2.RouteMatrixDestination other = (com.google.maps.routing.v2.RouteMatrixDestination) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint().equals(other.getWaypoint())) return false; + if (!getWaypoint() + .equals(other.getWaypoint())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -184,135 +156,129 @@ public int hashCode() { } public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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 single destination for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ - 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.routing.v2.RouteMatrixDestination) com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, - com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixDestination.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(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override @@ -347,8 +313,7 @@ public com.google.maps.routing.v2.RouteMatrixDestination build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination buildPartial() { - com.google.maps.routing.v2.RouteMatrixDestination result = - new com.google.maps.routing.v2.RouteMatrixDestination(this); + com.google.maps.routing.v2.RouteMatrixDestination result = new com.google.maps.routing.v2.RouteMatrixDestination(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -362,39 +327,38 @@ public com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination) other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination)other); } else { super.mergeFrom(other); return this; @@ -402,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.RouteMatrixDestination other) { - if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) - return this; + if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) return this; if (other.hasWaypoint()) { mergeWaypoint(other.getWaypoint()); } @@ -433,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWaypointFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + 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) { @@ -458,58 +421,39 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - waypointBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -525,17 +469,14 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -546,23 +487,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderFo return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); } else { waypoint_ = value; } @@ -574,15 +509,11 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -596,71 +527,55 @@ public Builder clearWaypoint() { return this; } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } } /** - * - * *
      * Required. Destination waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), getParentForChildren(), isClean()); + waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), + getParentForChildren(), + isClean()); waypoint_ = null; } return waypointBuilder_; } - @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); } @@ -670,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixDestination) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixDestination) private static final com.google.maps.routing.v2.RouteMatrixDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixDestination(); } @@ -684,27 +599,27 @@ public static com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixDestination 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 RouteMatrixDestination 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; @@ -719,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java similarity index 52% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java index 7f309d19082c..7be9a7b37ed3 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java @@ -1,63 +1,36 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixDestinationOrBuilder - extends +public interface RouteMatrixDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** - * - * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java index f1172620cf38..169ef698c0ec 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates route information computed for an origin/destination pair in the
  * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
  */
-public final class RouteMatrixElement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteMatrixElement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixElement)
     RouteMatrixElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteMatrixElement.newBuilder() to construct.
   private RouteMatrixElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteMatrixElement() {
     condition_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteMatrixElement();
   }
 
   @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.routing.v2.RoutesServiceProto
-        .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RoutesServiceProto
-        .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteMatrixElement.class,
-            com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+            com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGIN_INDEX_FIELD_NUMBER = 1;
   private int originIndex_;
   /**
-   *
-   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -87,14 +65,11 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ @java.lang.Override @@ -105,14 +80,11 @@ public int getOriginIndex() { public static final int DESTINATION_INDEX_FIELD_NUMBER = 2; private int destinationIndex_; /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -120,14 +92,11 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ @java.lang.Override @@ -138,14 +107,11 @@ public int getDestinationIndex() { public static final int STATUS_FIELD_NUMBER = 3; private com.google.rpc.Status status_; /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ @java.lang.Override @@ -153,14 +119,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return The status. */ @java.lang.Override @@ -168,8 +131,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Error status code for this element.
    * 
@@ -184,52 +145,38 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int CONDITION_FIELD_NUMBER = 9; private int condition_; /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override - public int getConditionValue() { + @java.lang.Override public int getConditionValue() { return condition_; } /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ - @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { + @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = - com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null - ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED - : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; } public static final int DISTANCE_METERS_FIELD_NUMBER = 4; private int distanceMeters_; /** - * - * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ @java.lang.Override @@ -240,8 +187,6 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -251,7 +196,6 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ @java.lang.Override @@ -259,8 +203,6 @@ public boolean hasDuration() { return duration_ != null; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -270,7 +212,6 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ @java.lang.Override @@ -278,8 +219,6 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -298,15 +237,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration staticDuration_;
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -314,26 +250,19 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -349,15 +278,12 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7;
   private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
   /**
-   *
-   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -365,26 +291,19 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -400,8 +319,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
   public static final int FALLBACK_INFO_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -411,7 +328,6 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -419,8 +335,6 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -430,18 +344,13 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -458,7 +367,6 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -470,7 +378,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.writeInt32(1, originIndex_);
     }
@@ -495,10 +404,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (fallbackInfo_ != null) {
       output.writeMessage(8, getFallbackInfo());
     }
-    if (condition_
-        != com.google.maps.routing.v2.RouteMatrixElementCondition
-            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
-            .getNumber()) {
+    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
       output.writeEnum(9, condition_);
     }
     getUnknownFields().writeTo(output);
@@ -511,34 +417,40 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, originIndex_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, originIndex_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, destinationIndex_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, destinationIndex_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getStatus());
     }
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getStaticDuration());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getTravelAdvisory());
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getFallbackInfo());
     }
-    if (condition_
-        != com.google.maps.routing.v2.RouteMatrixElementCondition
-            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, condition_);
+    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(9, condition_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -548,43 +460,50 @@ 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.routing.v2.RouteMatrixElement)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteMatrixElement other =
-        (com.google.maps.routing.v2.RouteMatrixElement) obj;
+    com.google.maps.routing.v2.RouteMatrixElement other = (com.google.maps.routing.v2.RouteMatrixElement) obj;
 
     if (hasOriginIndex() != other.hasOriginIndex()) return false;
     if (hasOriginIndex()) {
-      if (getOriginIndex() != other.getOriginIndex()) return false;
+      if (getOriginIndex()
+          != other.getOriginIndex()) return false;
     }
     if (hasDestinationIndex() != other.hasDestinationIndex()) return false;
     if (hasDestinationIndex()) {
-      if (getDestinationIndex() != other.getDestinationIndex()) return false;
+      if (getDestinationIndex()
+          != other.getDestinationIndex()) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (condition_ != other.condition_) return false;
-    if (getDistanceMeters() != other.getDistanceMeters()) return false;
+    if (getDistanceMeters()
+        != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration().equals(other.getDuration())) return false;
+      if (!getDuration()
+          .equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration()
+          .equals(other.getStaticDuration())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory()
+          .equals(other.getTravelAdvisory())) return false;
     }
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo()
+          .equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -634,104 +553,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.maps.routing.v2.RouteMatrixElement parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates route information computed for an origin/destination pair in the
    * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -739,32 +651,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
    */
-  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.routing.v2.RouteMatrixElement)
       com.google.maps.routing.v2.RouteMatrixElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteMatrixElement.class,
-              com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+              com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteMatrixElement.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();
@@ -810,9 +723,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RoutesServiceProto
-          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
@@ -831,8 +744,7 @@ public com.google.maps.routing.v2.RouteMatrixElement build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteMatrixElement buildPartial() {
-      com.google.maps.routing.v2.RouteMatrixElement result =
-          new com.google.maps.routing.v2.RouteMatrixElement(this);
+      com.google.maps.routing.v2.RouteMatrixElement result = new com.google.maps.routing.v2.RouteMatrixElement(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -879,39 +791,38 @@ public com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement) {
-        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -973,67 +884,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                originIndex_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                destinationIndex_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 32:
-              {
-                distanceMeters_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 72:
-              {
-                condition_ = input.readEnum();
-
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              originIndex_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              destinationIndex_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 32: {
+              distanceMeters_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getStaticDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getTravelAdvisoryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getFallbackInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 72: {
+              condition_ = input.readEnum();
+
+              break;
+            } // case 72
+            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) {
@@ -1043,19 +954,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int originIndex_;
+    private int originIndex_ ;
     /**
-     *
-     *
      * 
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -1063,14 +970,11 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ @java.lang.Override @@ -1078,14 +982,11 @@ public int getOriginIndex() { return originIndex_; } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @param value The originIndex to set. * @return This builder for chaining. */ @@ -1096,14 +997,11 @@ public Builder setOriginIndex(int value) { return this; } /** - * - * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; - * * @return This builder for chaining. */ public Builder clearOriginIndex() { @@ -1113,16 +1011,13 @@ public Builder clearOriginIndex() { return this; } - private int destinationIndex_; + private int destinationIndex_ ; /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -1130,14 +1025,11 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ @java.lang.Override @@ -1145,14 +1037,11 @@ public int getDestinationIndex() { return destinationIndex_; } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @param value The destinationIndex to set. * @return This builder for chaining. */ @@ -1163,14 +1052,11 @@ public Builder setDestinationIndex(int value) { return this; } /** - * - * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; - * * @return This builder for chaining. */ public Builder clearDestinationIndex() { @@ -1182,31 +1068,24 @@ public Builder clearDestinationIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1217,8 +1096,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Error status code for this element.
      * 
@@ -1239,15 +1116,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -1258,8 +1134,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1269,7 +1143,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -1281,8 +1156,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1301,8 +1174,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Error status code for this element.
      * 
@@ -1310,13 +1181,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 3; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Error status code for this element.
      * 
@@ -1327,12 +1196,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Error status code for this element.
      * 
@@ -1340,14 +1208,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -1355,67 +1223,51 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private int condition_ = 0; /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override - public int getConditionValue() { + @java.lang.Override public int getConditionValue() { return condition_; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @param value The enum numeric value on the wire for condition to set. * @return This builder for chaining. */ public Builder setConditionValue(int value) { - + condition_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = - com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null - ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED - : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @param value The condition to set. * @return This builder for chaining. */ @@ -1423,39 +1275,33 @@ public Builder setCondition(com.google.maps.routing.v2.RouteMatrixElementConditi if (value == null) { throw new NullPointerException(); } - + condition_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return This builder for chaining. */ public Builder clearCondition() { - + condition_ = 0; onChanged(); return this; } - private int distanceMeters_; + private int distanceMeters_ ; /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ @java.lang.Override @@ -1463,36 +1309,30 @@ public int getDistanceMeters() { return distanceMeters_; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** - * - * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; - * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1500,13 +1340,8 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - durationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1516,15 +1351,12 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1534,7 +1366,6 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1545,8 +1376,6 @@ public com.google.protobuf.Duration getDuration() { } } /** - * - * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1571,8 +1400,6 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1583,7 +1410,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 5;
      */
-    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1594,8 +1422,6 @@ public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1610,7 +1436,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1622,8 +1448,6 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1646,8 +1470,6 @@ public Builder clearDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1659,13 +1481,11 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 5;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-
+      
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1680,12 +1500,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1697,17 +1516,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getDuration(), getParentForChildren(), isClean());
+        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getDuration(),
+                getParentForChildren(),
+                isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1715,49 +1531,36 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        staticDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : staticDuration_; + return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** - * - * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1779,8 +1582,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1788,7 +1589,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 6;
      */
-    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1799,8 +1601,6 @@ public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1812,9 +1612,7 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-              com.google.protobuf.Duration.newBuilder(staticDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1826,8 +1624,6 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1847,8 +1643,6 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1857,13 +1651,11 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 6;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-
+      
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1875,14 +1667,11 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : staticDuration_;
+        return staticDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1891,17 +1680,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(), getParentForChildren(), isClean());
+        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(),
+                getParentForChildren(),
+                isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1909,49 +1695,36 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
-        travelAdvisoryBuilder_;
+        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** - * - * *
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null - ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() - : travelAdvisory_; + return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** - * - * *
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1973,8 +1746,6 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1994,8 +1765,6 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2007,9 +1776,7 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-              com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2021,8 +1788,6 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2042,8 +1807,6 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2052,13 +1815,11 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-
+      
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2070,14 +1831,11 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null
-            ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance()
-            : travelAdvisory_;
+        return travelAdvisory_ == null ?
+            com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -2086,17 +1844,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
+        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> 
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.RouteTravelAdvisory,
-                com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
-                com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(), getParentForChildren(), isClean());
+        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(),
+                getParentForChildren(),
+                isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
@@ -2104,13 +1859,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
-        fallbackInfoBuilder_;
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2120,15 +1870,12 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** - * - * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2138,21 +1885,16 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null - ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() - : fallbackInfo_; + return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** - * - * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2177,8 +1919,6 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2201,8 +1941,6 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2217,9 +1955,7 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -2231,8 +1967,6 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2255,8 +1989,6 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2268,13 +2000,11 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-
+      
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2289,14 +2019,11 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null
-            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
-            : fallbackInfo_;
+        return fallbackInfo_ == null ?
+            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2308,24 +2035,21 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo,
-            com.google.maps.routing.v2.FallbackInfo.Builder,
-            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.FallbackInfo,
-                com.google.maps.routing.v2.FallbackInfo.Builder,
-                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(), getParentForChildren(), isClean());
+        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(),
+                getParentForChildren(),
+                isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
-
     @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);
     }
 
@@ -2335,12 +2059,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixElement)
   private static final com.google.maps.routing.v2.RouteMatrixElement DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixElement();
   }
@@ -2349,27 +2073,27 @@ public static com.google.maps.routing.v2.RouteMatrixElement getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RouteMatrixElement 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 RouteMatrixElement 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;
@@ -2384,4 +2108,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteMatrixElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
similarity index 71%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
index 462531141ef5..1b9d70c4950a 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * The condition of the route being returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.RouteMatrixElementCondition} */ -public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolMessageEnum { +public enum RouteMatrixElementCondition + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Only used when the `status` of the element is not OK.
    * 
@@ -39,8 +21,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM */ ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED(0), /** - * - * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -50,8 +30,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   ROUTE_EXISTS(1),
   /**
-   *
-   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -64,8 +42,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
   ;
 
   /**
-   *
-   *
    * 
    * Only used when the `status` of the element is not OK.
    * 
@@ -74,8 +50,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM */ public static final int ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -85,8 +59,6 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   public static final int ROUTE_EXISTS_VALUE = 1;
   /**
-   *
-   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -96,6 +68,7 @@ public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolM
    */
   public static final int ROUTE_NOT_FOUND_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,14 +93,10 @@ public static RouteMatrixElementCondition valueOf(int value) {
    */
   public static RouteMatrixElementCondition forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
-      case 1:
-        return ROUTE_EXISTS;
-      case 2:
-        return ROUTE_NOT_FOUND;
-      default:
-        return null;
+      case 0: return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
+      case 1: return ROUTE_EXISTS;
+      case 2: return ROUTE_NOT_FOUND;
+      default: return null;
     }
   }
 
@@ -135,28 +104,28 @@ public static RouteMatrixElementCondition forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RouteMatrixElementCondition findValueByNumber(int number) {
-              return RouteMatrixElementCondition.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteMatrixElementCondition> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteMatrixElementCondition findValueByNumber(int number) {
+            return RouteMatrixElementCondition.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.routing.v2.RoutesServiceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -165,7 +134,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static RouteMatrixElementCondition 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;
@@ -181,3 +151,4 @@ private RouteMatrixElementCondition(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteMatrixElementCondition)
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
similarity index 88%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
index 8158e7da0b77..4a7b3218258f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
@@ -1,105 +1,69 @@
-/*
- * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteMatrixElementOrBuilder
-    extends
+public interface RouteMatrixElementOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return Whether the originIndex field is set. */ boolean hasOriginIndex(); /** - * - * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; - * * @return The originIndex. */ int getOriginIndex(); /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return Whether the destinationIndex field is set. */ boolean hasDestinationIndex(); /** - * - * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; - * * @return The destinationIndex. */ int getDestinationIndex(); /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Error status code for this element.
    * 
@@ -109,46 +73,35 @@ public interface RouteMatrixElementOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The enum numeric value on the wire for condition. */ int getConditionValue(); /** - * - * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; - * * @return The condition. */ com.google.maps.routing.v2.RouteMatrixElementCondition getCondition(); /** - * - * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -158,13 +111,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.protobuf.Duration duration = 5; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -174,13 +124,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.protobuf.Duration duration = 5; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -194,34 +141,26 @@ public interface RouteMatrixElementOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -232,34 +171,26 @@ public interface RouteMatrixElementOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -270,8 +201,6 @@ public interface RouteMatrixElementOrBuilder
   com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder();
 
   /**
-   *
-   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -281,13 +210,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -297,13 +223,10 @@ public interface RouteMatrixElementOrBuilder
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; - * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** - * - * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
similarity index 61%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
index f4b5e7947f0f..4ed589c31383 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
@@ -1,82 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A single origin for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ -public final class RouteMatrixOrigin extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RouteMatrixOrigin extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixOrigin) RouteMatrixOriginOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RouteMatrixOrigin.newBuilder() to construct. private RouteMatrixOrigin(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RouteMatrixOrigin() {} + private RouteMatrixOrigin() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RouteMatrixOrigin(); } @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.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -117,16 +88,11 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 2; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -134,34 +100,23 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -169,7 +124,6 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +135,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -198,10 +153,12 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWaypoint()); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRouteModifiers()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +168,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.routing.v2.RouteMatrixOrigin)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixOrigin other = - (com.google.maps.routing.v2.RouteMatrixOrigin) obj; + com.google.maps.routing.v2.RouteMatrixOrigin other = (com.google.maps.routing.v2.RouteMatrixOrigin) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint().equals(other.getWaypoint())) return false; + if (!getWaypoint() + .equals(other.getWaypoint())) return false; } if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers() + .equals(other.getRouteModifiers())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteMatrixOrigin parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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 single origin for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ - 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.routing.v2.RouteMatrixOrigin) com.google.maps.routing.v2.RouteMatrixOriginOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, - com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixOrigin.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(); @@ -400,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto - .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override @@ -421,8 +373,7 @@ public com.google.maps.routing.v2.RouteMatrixOrigin build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin buildPartial() { - com.google.maps.routing.v2.RouteMatrixOrigin result = - new com.google.maps.routing.v2.RouteMatrixOrigin(this); + com.google.maps.routing.v2.RouteMatrixOrigin result = new com.google.maps.routing.v2.RouteMatrixOrigin(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -441,39 +392,38 @@ public com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin) other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin)other); } else { super.mergeFrom(other); return this; @@ -514,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWaypointFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getRouteModifiersFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -545,58 +496,39 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> - waypointBuilder_; + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -612,17 +544,14 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint( + com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -633,23 +562,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderFo return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); } else { waypoint_ = value; } @@ -661,15 +584,11 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -683,64 +602,48 @@ public Builder clearWaypoint() { return this; } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null - ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() - : waypoint_; + return waypoint_ == null ? + com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } } /** - * - * *
      * Required. Origin waypoint
      * 
* - * - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, - com.google.maps.routing.v2.Waypoint.Builder, - com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), getParentForChildren(), isClean()); + waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), + getParentForChildren(), + isClean()); waypoint_ = null; } return waypointBuilder_; @@ -748,58 +651,39 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> - routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -815,15 +699,11 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -837,23 +717,17 @@ public Builder setRouteModifiers( return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); } else { routeModifiers_ = value; } @@ -865,15 +739,11 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -887,71 +757,55 @@ public Builder clearRouteModifiers() { return this; } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null - ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() - : routeModifiers_; + return routeModifiers_ == null ? + com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; } } /** - * - * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, - com.google.maps.routing.v2.RouteModifiers.Builder, - com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), getParentForChildren(), isClean()); + routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), + getParentForChildren(), + isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; } - @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); } @@ -961,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixOrigin) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixOrigin) private static final com.google.maps.routing.v2.RouteMatrixOrigin DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixOrigin(); } @@ -975,27 +829,27 @@ public static com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixOrigin 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 RouteMatrixOrigin 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; @@ -1010,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java similarity index 54% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java index 655dfd269c03..5ed1c2ed8c5d 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java @@ -1,104 +1,63 @@ -/* - * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixOriginOrBuilder - extends +public interface RouteMatrixOriginOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixOrigin) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** - * - * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** - * - * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java index c78ff5bae4d1..67bbba213a5e 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates a set of optional conditions to satisfy when calculating the
  * routes.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
  */
-public final class RouteModifiers extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteModifiers extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteModifiers)
     RouteModifiersOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteModifiers.newBuilder() to construct.
   private RouteModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteModifiers() {
     tollPasses_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteModifiers();
   }
 
   @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.routing.v2.RouteModifiersProto
-        .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteModifiersProto
-        .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteModifiers.class,
-            com.google.maps.routing.v2.RouteModifiers.Builder.class);
+            com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
   }
 
   public static final int AVOID_TOLLS_FIELD_NUMBER = 1;
   private boolean avoidTolls_;
   /**
-   *
-   *
    * 
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ @java.lang.Override @@ -91,8 +69,6 @@ public boolean getAvoidTolls() { public static final int AVOID_HIGHWAYS_FIELD_NUMBER = 2; private boolean avoidHighways_; /** - * - * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -100,7 +76,6 @@ public boolean getAvoidTolls() {
    * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ @java.lang.Override @@ -111,8 +86,6 @@ public boolean getAvoidHighways() { public static final int AVOID_FERRIES_FIELD_NUMBER = 3; private boolean avoidFerries_; /** - * - * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -120,7 +93,6 @@ public boolean getAvoidHighways() {
    * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ @java.lang.Override @@ -131,8 +103,6 @@ public boolean getAvoidFerries() { public static final int AVOID_INDOOR_FIELD_NUMBER = 4; private boolean avoidIndoor_; /** - * - * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -140,7 +110,6 @@ public boolean getAvoidFerries() {
    * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ @java.lang.Override @@ -151,14 +120,11 @@ public boolean getAvoidIndoor() { public static final int VEHICLE_INFO_FIELD_NUMBER = 5; private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ @java.lang.Override @@ -166,25 +132,18 @@ public boolean hasVehicleInfo() { return vehicleInfo_ != null; } /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ @java.lang.Override public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } /** - * - * *
    * Specifies the vehicle information.
    * 
@@ -199,20 +158,16 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() public static final int TOLL_PASSES_FIELD_NUMBER = 6; private java.util.List tollPasses_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.TollPass> - tollPasses_converter_ = + java.lang.Integer, com.google.maps.routing.v2.TollPass> tollPasses_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.TollPass>() { public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.TollPass result = - com.google.maps.routing.v2.TollPass.valueOf(from); + com.google.maps.routing.v2.TollPass result = com.google.maps.routing.v2.TollPass.valueOf(from); return result == null ? com.google.maps.routing.v2.TollPass.UNRECOGNIZED : result; } }; /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -222,7 +177,6 @@ public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ @java.lang.Override @@ -231,8 +185,6 @@ public java.util.List getTollPassesList() { java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -242,7 +194,6 @@ public java.util.List getTollPassesList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ @java.lang.Override @@ -250,8 +201,6 @@ public int getTollPassesCount() { return tollPasses_.size(); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -261,7 +210,6 @@ public int getTollPassesCount() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -270,8 +218,6 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -281,16 +227,14 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ @java.lang.Override - public java.util.List getTollPassesValueList() { + public java.util.List + getTollPassesValueList() { return tollPasses_; } /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -300,7 +244,6 @@ public java.util.List getTollPassesValueList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -308,11 +251,9 @@ public java.util.List getTollPassesValueList() { public int getTollPassesValue(int index) { return tollPasses_.get(index); } - private int tollPassesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +265,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 { getSerializedSize(); if (avoidTolls_ != false) { output.writeBool(1, avoidTolls_); @@ -358,31 +300,36 @@ public int getSerializedSize() { size = 0; if (avoidTolls_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, avoidTolls_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, avoidTolls_); } if (avoidHighways_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, avoidHighways_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, avoidHighways_); } if (avoidFerries_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, avoidFerries_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, avoidFerries_); } if (avoidIndoor_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, avoidIndoor_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, avoidIndoor_); } if (vehicleInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getVehicleInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getVehicleInfo()); } { int dataSize = 0; for (int i = 0; i < tollPasses_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(tollPasses_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(tollPasses_.get(i)); } size += dataSize; - if (!getTollPassesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - tollPassesMemoizedSerializedSize = dataSize; + if (!getTollPassesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }tollPassesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -392,21 +339,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.routing.v2.RouteModifiers)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteModifiers other = - (com.google.maps.routing.v2.RouteModifiers) obj; + com.google.maps.routing.v2.RouteModifiers other = (com.google.maps.routing.v2.RouteModifiers) obj; - if (getAvoidTolls() != other.getAvoidTolls()) return false; - if (getAvoidHighways() != other.getAvoidHighways()) return false; - if (getAvoidFerries() != other.getAvoidFerries()) return false; - if (getAvoidIndoor() != other.getAvoidIndoor()) return false; + if (getAvoidTolls() + != other.getAvoidTolls()) return false; + if (getAvoidHighways() + != other.getAvoidHighways()) return false; + if (getAvoidFerries() + != other.getAvoidFerries()) return false; + if (getAvoidIndoor() + != other.getAvoidIndoor()) return false; if (hasVehicleInfo() != other.hasVehicleInfo()) return false; if (hasVehicleInfo()) { - if (!getVehicleInfo().equals(other.getVehicleInfo())) return false; + if (!getVehicleInfo() + .equals(other.getVehicleInfo())) return false; } if (!tollPasses_.equals(other.tollPasses_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -421,13 +372,17 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVOID_TOLLS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidTolls()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidTolls()); hash = (37 * hash) + AVOID_HIGHWAYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidHighways()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidHighways()); hash = (37 * hash) + AVOID_FERRIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidFerries()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidFerries()); hash = (37 * hash) + AVOID_INDOOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidIndoor()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAvoidIndoor()); if (hasVehicleInfo()) { hash = (37 * hash) + VEHICLE_INFO_FIELD_NUMBER; hash = (53 * hash) + getVehicleInfo().hashCode(); @@ -441,104 +396,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteModifiers parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteModifiers parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteModifiers parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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; } /** - * - * *
    * Encapsulates a set of optional conditions to satisfy when calculating the
    * routes.
@@ -546,32 +494,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
    */
-  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.routing.v2.RouteModifiers)
       com.google.maps.routing.v2.RouteModifiersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteModifiers.class,
-              com.google.maps.routing.v2.RouteModifiers.Builder.class);
+              com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteModifiers.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();
@@ -595,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteModifiersProto
-          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
@@ -616,8 +565,7 @@ public com.google.maps.routing.v2.RouteModifiers build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteModifiers buildPartial() {
-      com.google.maps.routing.v2.RouteModifiers result =
-          new com.google.maps.routing.v2.RouteModifiers(this);
+      com.google.maps.routing.v2.RouteModifiers result = new com.google.maps.routing.v2.RouteModifiers(this);
       int from_bitField0_ = bitField0_;
       result.avoidTolls_ = avoidTolls_;
       result.avoidHighways_ = avoidHighways_;
@@ -641,39 +589,38 @@ public com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers) {
-        return mergeFrom((com.google.maps.routing.v2.RouteModifiers) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteModifiers)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -733,62 +680,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                avoidTolls_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                avoidHighways_ = input.readBool();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                avoidFerries_ = input.readBool();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                avoidIndoor_ = input.readBool();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getVehicleInfoFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 48:
-              {
+            case 8: {
+              avoidTolls_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              avoidHighways_ = input.readBool();
+
+              break;
+            } // case 16
+            case 24: {
+              avoidFerries_ = input.readBool();
+
+              break;
+            } // case 24
+            case 32: {
+              avoidIndoor_ = input.readBool();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getVehicleInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 48: {
+              int tmpRaw = input.readEnum();
+              ensureTollPassesIsMutable();
+              tollPasses_.add(tmpRaw);
+              break;
+            } // case 48
+            case 50: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureTollPassesIsMutable();
                 tollPasses_.add(tmpRaw);
-                break;
-              } // case 48
-            case 50:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureTollPassesIsMutable();
-                  tollPasses_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 50
+            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) {
@@ -798,13 +739,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean avoidTolls_;
+    private boolean avoidTolls_ ;
     /**
-     *
-     *
      * 
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -812,7 +750,6 @@ public Builder mergeFrom(
      * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ @java.lang.Override @@ -820,8 +757,6 @@ public boolean getAvoidTolls() { return avoidTolls_; } /** - * - * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -829,19 +764,16 @@ public boolean getAvoidTolls() {
      * 
* * bool avoid_tolls = 1; - * * @param value The avoidTolls to set. * @return This builder for chaining. */ public Builder setAvoidTolls(boolean value) { - + avoidTolls_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -849,20 +781,17 @@ public Builder setAvoidTolls(boolean value) {
      * 
* * bool avoid_tolls = 1; - * * @return This builder for chaining. */ public Builder clearAvoidTolls() { - + avoidTolls_ = false; onChanged(); return this; } - private boolean avoidHighways_; + private boolean avoidHighways_ ; /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -870,7 +799,6 @@ public Builder clearAvoidTolls() {
      * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ @java.lang.Override @@ -878,8 +806,6 @@ public boolean getAvoidHighways() { return avoidHighways_; } /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -887,19 +813,16 @@ public boolean getAvoidHighways() {
      * 
* * bool avoid_highways = 2; - * * @param value The avoidHighways to set. * @return This builder for chaining. */ public Builder setAvoidHighways(boolean value) { - + avoidHighways_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -907,20 +830,17 @@ public Builder setAvoidHighways(boolean value) {
      * 
* * bool avoid_highways = 2; - * * @return This builder for chaining. */ public Builder clearAvoidHighways() { - + avoidHighways_ = false; onChanged(); return this; } - private boolean avoidFerries_; + private boolean avoidFerries_ ; /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -928,7 +848,6 @@ public Builder clearAvoidHighways() {
      * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ @java.lang.Override @@ -936,8 +855,6 @@ public boolean getAvoidFerries() { return avoidFerries_; } /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -945,19 +862,16 @@ public boolean getAvoidFerries() {
      * 
* * bool avoid_ferries = 3; - * * @param value The avoidFerries to set. * @return This builder for chaining. */ public Builder setAvoidFerries(boolean value) { - + avoidFerries_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -965,20 +879,17 @@ public Builder setAvoidFerries(boolean value) {
      * 
* * bool avoid_ferries = 3; - * * @return This builder for chaining. */ public Builder clearAvoidFerries() { - + avoidFerries_ = false; onChanged(); return this; } - private boolean avoidIndoor_; + private boolean avoidIndoor_ ; /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -986,7 +897,6 @@ public Builder clearAvoidFerries() {
      * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ @java.lang.Override @@ -994,8 +904,6 @@ public boolean getAvoidIndoor() { return avoidIndoor_; } /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -1003,19 +911,16 @@ public boolean getAvoidIndoor() {
      * 
* * bool avoid_indoor = 4; - * * @param value The avoidIndoor to set. * @return This builder for chaining. */ public Builder setAvoidIndoor(boolean value) { - + avoidIndoor_ = value; onChanged(); return this; } /** - * - * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -1023,11 +928,10 @@ public Builder setAvoidIndoor(boolean value) {
      * 
* * bool avoid_indoor = 4; - * * @return This builder for chaining. */ public Builder clearAvoidIndoor() { - + avoidIndoor_ = false; onChanged(); return this; @@ -1035,47 +939,34 @@ public Builder clearAvoidIndoor() { private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder> - vehicleInfoBuilder_; + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> vehicleInfoBuilder_; /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ public boolean hasVehicleInfo() { return vehicleInfoBuilder_ != null || vehicleInfo_ != null; } /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { if (vehicleInfoBuilder_ == null) { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } else { return vehicleInfoBuilder_.getMessage(); } } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1096,15 +987,14 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ - public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { + public Builder setVehicleInfo( + com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { if (vehicleInfoBuilder_ == null) { vehicleInfo_ = builderForValue.build(); onChanged(); @@ -1115,8 +1005,6 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder bui return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1127,9 +1015,7 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { if (vehicleInfoBuilder_ == null) { if (vehicleInfo_ != null) { vehicleInfo_ = - com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_).mergeFrom(value).buildPartial(); } else { vehicleInfo_ = value; } @@ -1141,8 +1027,6 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1161,8 +1045,6 @@ public Builder clearVehicleInfo() { return this; } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1170,13 +1052,11 @@ public Builder clearVehicleInfo() { * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ public com.google.maps.routing.v2.VehicleInfo.Builder getVehicleInfoBuilder() { - + onChanged(); return getVehicleInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1187,14 +1067,11 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() if (vehicleInfoBuilder_ != null) { return vehicleInfoBuilder_.getMessageOrBuilder(); } else { - return vehicleInfo_ == null - ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() - : vehicleInfo_; + return vehicleInfo_ == null ? + com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; } } /** - * - * *
      * Specifies the vehicle information.
      * 
@@ -1202,24 +1079,21 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder> + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> getVehicleInfoFieldBuilder() { if (vehicleInfoBuilder_ == null) { - vehicleInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, - com.google.maps.routing.v2.VehicleInfo.Builder, - com.google.maps.routing.v2.VehicleInfoOrBuilder>( - getVehicleInfo(), getParentForChildren(), isClean()); + vehicleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder>( + getVehicleInfo(), + getParentForChildren(), + isClean()); vehicleInfo_ = null; } return vehicleInfoBuilder_; } - private java.util.List tollPasses_ = java.util.Collections.emptyList(); - + private java.util.List tollPasses_ = + java.util.Collections.emptyList(); private void ensureTollPassesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tollPasses_ = new java.util.ArrayList(tollPasses_); @@ -1227,8 +1101,6 @@ private void ensureTollPassesIsMutable() { } } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1238,17 +1110,13 @@ private void ensureTollPassesIsMutable() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ public java.util.List getTollPassesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.TollPass>( - tollPasses_, tollPasses_converter_); + java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1258,15 +1126,12 @@ public java.util.List getTollPassesList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ public int getTollPassesCount() { return tollPasses_.size(); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1276,7 +1141,6 @@ public int getTollPassesCount() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -1284,8 +1148,6 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1295,12 +1157,12 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index to set the value at. * @param value The tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass value) { + public Builder setTollPasses( + int index, com.google.maps.routing.v2.TollPass value) { if (value == null) { throw new NullPointerException(); } @@ -1310,8 +1172,6 @@ public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass valu return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1321,7 +1181,6 @@ public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass valu
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param value The tollPasses to add. * @return This builder for chaining. */ @@ -1335,8 +1194,6 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1346,7 +1203,6 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param values The tollPasses to add. * @return This builder for chaining. */ @@ -1360,8 +1216,6 @@ public Builder addAllTollPasses( return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1371,7 +1225,6 @@ public Builder addAllTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return This builder for chaining. */ public Builder clearTollPasses() { @@ -1381,8 +1234,6 @@ public Builder clearTollPasses() { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1392,15 +1243,13 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ - public java.util.List getTollPassesValueList() { + public java.util.List + getTollPassesValueList() { return java.util.Collections.unmodifiableList(tollPasses_); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1410,7 +1259,6 @@ public java.util.List getTollPassesValueList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -1418,8 +1266,6 @@ public int getTollPassesValue(int index) { return tollPasses_.get(index); } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1429,20 +1275,18 @@ public int getTollPassesValue(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPassesValue(int index, int value) { + public Builder setTollPassesValue( + int index, int value) { ensureTollPassesIsMutable(); tollPasses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1452,7 +1296,6 @@ public Builder setTollPassesValue(int index, int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param value The enum numeric value on the wire for tollPasses to add. * @return This builder for chaining. */ @@ -1463,8 +1306,6 @@ public Builder addTollPassesValue(int value) { return this; } /** - * - * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1474,11 +1315,11 @@ public Builder addTollPassesValue(int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param values The enum numeric values on the wire for tollPasses to add. * @return This builder for chaining. */ - public Builder addAllTollPassesValue(java.lang.Iterable values) { + public Builder addAllTollPassesValue( + java.lang.Iterable values) { ensureTollPassesIsMutable(); for (int value : values) { tollPasses_.add(value); @@ -1486,9 +1327,9 @@ public Builder addAllTollPassesValue(java.lang.Iterable 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); } @@ -1498,12 +1339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteModifiers) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteModifiers) private static final com.google.maps.routing.v2.RouteModifiers DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteModifiers(); } @@ -1512,27 +1353,27 @@ public static com.google.maps.routing.v2.RouteModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteModifiers 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 RouteModifiers 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; @@ -1547,4 +1388,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteModifiers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java similarity index 85% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java index 6e207822df2d..b41f50657f71 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; -public interface RouteModifiersOrBuilder - extends +public interface RouteModifiersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteModifiers) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -33,14 +15,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_tolls = 1; - * * @return The avoidTolls. */ boolean getAvoidTolls(); /** - * - * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -48,14 +27,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_highways = 2; - * * @return The avoidHighways. */ boolean getAvoidHighways(); /** - * - * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -63,14 +39,11 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_ferries = 3; - * * @return The avoidFerries. */ boolean getAvoidFerries(); /** - * - * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -78,38 +51,29 @@ public interface RouteModifiersOrBuilder
    * 
* * bool avoid_indoor = 4; - * * @return The avoidIndoor. */ boolean getAvoidIndoor(); /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return Whether the vehicleInfo field is set. */ boolean hasVehicleInfo(); /** - * - * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; - * * @return The vehicleInfo. */ com.google.maps.routing.v2.VehicleInfo getVehicleInfo(); /** - * - * *
    * Specifies the vehicle information.
    * 
@@ -119,8 +83,6 @@ public interface RouteModifiersOrBuilder com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -130,13 +92,10 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the tollPasses. */ java.util.List getTollPassesList(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -146,13 +105,10 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return The count of tollPasses. */ int getTollPassesCount(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -162,14 +118,11 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the element to return. * @return The tollPasses at the given index. */ com.google.maps.routing.v2.TollPass getTollPasses(int index); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -179,13 +132,11 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @return A list containing the enum numeric values on the wire for tollPasses. */ - java.util.List getTollPassesValueList(); + java.util.List + getTollPassesValueList(); /** - * - * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -195,7 +146,6 @@ public interface RouteModifiersOrBuilder
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java new file mode 100644 index 000000000000..1e8f543ab52e --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java @@ -0,0 +1,64 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/route_modifiers.proto + +package com.google.maps.routing.v2; + +public final class RouteModifiersProto { + private RouteModifiersProto() {} + 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_routing_v2_RouteModifiers_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + + ".proto\022\026google.maps.routing.v2\032(google/m" + + "aps/routing/v2/toll_passes.proto\032)google" + + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + + "outing.v2B\023RouteModifiersProtoP\001Z=google" + + ".golang.org/genproto/googleapis/maps/rou" + + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + + "oogle::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.TollPassesProto.getDescriptor(), + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_RouteModifiers_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteModifiers_descriptor, + new java.lang.String[] { "AvoidTolls", "AvoidHighways", "AvoidFerries", "AvoidIndoor", "VehicleInfo", "TollPasses", }); + com.google.maps.routing.v2.TollPassesProto.getDescriptor(); + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java similarity index 89% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java index 8d44746e443e..e54ab95d1975 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java @@ -1,99 +1,67 @@ -/* - * 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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteOrBuilder - extends +public interface RouteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Route) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the routeLabels. */ java.util.List getRouteLabelsList(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return The count of routeLabels. */ int getRouteLabelsCount(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the element to return. * @return The routeLabels at the given index. */ com.google.maps.routing.v2.RouteLabel getRouteLabels(int index); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @return A list containing the enum numeric values on the wire for routeLabels. */ - java.util.List getRouteLabelsValueList(); + java.util.List + getRouteLabelsValueList(); /** - * - * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ int getRouteLabelsValue(int index); /** - * - * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -106,10 +74,9 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List getLegsList();
+  java.util.List 
+      getLegsList();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -124,8 +91,6 @@ public interface RouteOrBuilder
    */
   com.google.maps.routing.v2.RouteLeg getLegs(int index);
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -140,8 +105,6 @@ public interface RouteOrBuilder
    */
   int getLegsCount();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -154,10 +117,9 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List getLegsOrBuilderList();
+  java.util.List 
+      getLegsOrBuilderList();
   /**
-   *
-   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -170,24 +132,20 @@ public interface RouteOrBuilder
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index);
+  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; - * * @return The distanceMeters. */ int getDistanceMeters(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -197,13 +155,10 @@ public interface RouteOrBuilder
    * 
* * .google.protobuf.Duration duration = 3; - * * @return Whether the duration field is set. */ boolean hasDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -213,13 +168,10 @@ public interface RouteOrBuilder
    * 
* * .google.protobuf.Duration duration = 3; - * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** - * - * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -233,34 +185,26 @@ public interface RouteOrBuilder
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; - * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** - * - * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -271,34 +215,26 @@ public interface RouteOrBuilder
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; - * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** - * - * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -309,108 +245,85 @@ public interface RouteOrBuilder
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
-   *
-   *
    * 
    * A description of the route.
    * 
* * string description = 6; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A description of the route.
    * 
* * string description = 6; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return A list containing the warnings. */ - java.util.List getWarningsList(); + java.util.List + getWarningsList(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @return The count of warnings. */ int getWarningsCount(); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the element to return. * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** - * - * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; - * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - com.google.protobuf.ByteString getWarningsBytes(int index); + com.google.protobuf.ByteString + getWarningsBytes(int index); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return Whether the viewport field is set. */ boolean hasViewport(); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; - * * @return The viewport. */ com.google.geo.type.Viewport getViewport(); /** - * - * *
    * The viewport bounding box of the polyline.
    * 
@@ -420,32 +333,24 @@ public interface RouteOrBuilder com.google.geo.type.ViewportOrBuilder getViewportOrBuilder(); /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** - * - * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; - * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** - * - * *
    * Additional information about the route.
    * 
@@ -455,8 +360,6 @@ public interface RouteOrBuilder com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder(); /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -470,13 +373,10 @@ public interface RouteOrBuilder
    * 
* * string route_token = 12; - * * @return The routeToken. */ java.lang.String getRouteToken(); /** - * - * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -490,8 +390,8 @@ public interface RouteOrBuilder
    * 
* * string route_token = 12; - * * @return The bytes for routeToken. */ - com.google.protobuf.ByteString getRouteTokenBytes(); + com.google.protobuf.ByteString + getRouteTokenBytes(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java new file mode 100644 index 000000000000..2eeae4764312 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java @@ -0,0 +1,176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/route.proto + +package com.google.maps.routing.v2; + +public final class RouteProto { + private RouteProto() {} + 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_routing_v2_Route_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Route_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLeg_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStep_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + + "ogle.maps.routing.v2\032\036google/geo/type/vi" + + "ewport.proto\032%google/maps/routing/v2/loc" + + "ation.proto\0323google/maps/routing/v2/navi" + + "gation_instruction.proto\032%google/maps/ro" + + "uting/v2/polyline.proto\032(google/maps/rou" + + "ting/v2/route_label.proto\0323google/maps/r" + + "outing/v2/speed_reading_interval.proto\032&" + + "google/maps/routing/v2/toll_info.proto\032\036" + + "google/protobuf/duration.proto\"\316\003\n\005Route" + + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + + "\0132\031.google.protobuf.Duration\0222\n\010polyline" + + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + + "ingInterval\022$\n\034fuel_consumption_microlit" + + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + + "(\0132,.google.maps.routing.v2.SpeedReading" + + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + + ".maps.routing.v2.SpeedReadingInterval\"\250\003" + + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + + "uration\030\002 \001(\0132\031.google.protobuf.Duration" + + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + + "maps.routing.v2.Polyline\0228\n\016start_locati" + + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + + "l_advisory\030\010 \001(\0132..google.maps.routing.v" + + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + + "gle.maps.routing.v2.Location\0226\n\014end_loca" + + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + + "oogle.maps.routing.v2.NavigationInstruct" + + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + + "ps.routing.v2.RouteLegStepTravelAdvisory" + + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + + "otoP\001Z=google.golang.org/genproto/google" + + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.maps.routing.v2.LocationProto.getDescriptor(), + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), + com.google.maps.routing.v2.PolylineProto.getDescriptor(), + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), + com.google.maps.routing.v2.TollInfoProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Route_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Route_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Route_descriptor, + new java.lang.String[] { "RouteLabels", "Legs", "DistanceMeters", "Duration", "StaticDuration", "Polyline", "Description", "Warnings", "Viewport", "TravelAdvisory", "RouteToken", }); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, + new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", }); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, + new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", }); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, + new java.lang.String[] { "SpeedReadingIntervals", }); + internal_static_google_maps_routing_v2_RouteLeg_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLeg_descriptor, + new java.lang.String[] { "DistanceMeters", "Duration", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "Steps", "TravelAdvisory", }); + internal_static_google_maps_routing_v2_RouteLegStep_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStep_descriptor, + new java.lang.String[] { "DistanceMeters", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "NavigationInstruction", "TravelAdvisory", }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); + com.google.maps.routing.v2.PolylineProto.getDescriptor(); + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); + com.google.maps.routing.v2.TollInfoProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java similarity index 78% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java index 1c2d5e85a3da..de25178f40a4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.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/routing/v2/route.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
  */
-public final class RouteTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RouteTravelAdvisory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteTravelAdvisory)
     RouteTravelAdvisoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RouteTravelAdvisory.newBuilder() to construct.
   private RouteTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RouteTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RouteTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto
-        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteTravelAdvisory.class,
-            com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
-   *
-   *
    * 
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -82,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -90,8 +68,6 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -101,7 +77,6 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ @java.lang.Override @@ -109,8 +84,6 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -129,8 +102,6 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 3;
   private java.util.List speedReadingIntervals_;
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,13 +116,10 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List
-      getSpeedReadingIntervalsList() {
+  public java.util.List getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -166,13 +134,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -191,8 +157,6 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -211,8 +175,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -235,14 +197,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   public static final int FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER = 5;
   private long fuelConsumptionMicroliters_;
   /**
-   *
-   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -251,7 +210,6 @@ public long getFuelConsumptionMicroliters() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +221,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 (tollInfo_ != null) { output.writeMessage(2, getTollInfo()); } @@ -283,16 +242,16 @@ public int getSerializedSize() { size = 0; if (tollInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTollInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTollInfo()); } for (int i = 0; i < speedReadingIntervals_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, speedReadingIntervals_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, speedReadingIntervals_.get(i)); } if (fuelConsumptionMicroliters_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(5, fuelConsumptionMicroliters_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, fuelConsumptionMicroliters_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -302,20 +261,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.routing.v2.RouteTravelAdvisory)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteTravelAdvisory other = - (com.google.maps.routing.v2.RouteTravelAdvisory) obj; + com.google.maps.routing.v2.RouteTravelAdvisory other = (com.google.maps.routing.v2.RouteTravelAdvisory) obj; if (hasTollInfo() != other.hasTollInfo()) return false; if (hasTollInfo()) { - if (!getTollInfo().equals(other.getTollInfo())) return false; + if (!getTollInfo() + .equals(other.getTollInfo())) return false; } - if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false; - if (getFuelConsumptionMicroliters() != other.getFuelConsumptionMicroliters()) return false; + if (!getSpeedReadingIntervalsList() + .equals(other.getSpeedReadingIntervalsList())) return false; + if (getFuelConsumptionMicroliters() + != other.getFuelConsumptionMicroliters()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -336,110 +297,104 @@ public int hashCode() { hash = (53 * hash) + getSpeedReadingIntervalsList().hashCode(); } hash = (37 * hash) + FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFuelConsumptionMicroliters()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFuelConsumptionMicroliters()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.RouteTravelAdvisory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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; } /** - * - * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc.
@@ -447,32 +402,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
    */
-  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.routing.v2.RouteTravelAdvisory)
       com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteTravelAdvisory.class,
-              com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteTravelAdvisory.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();
@@ -495,9 +451,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto
-          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -516,8 +472,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteTravelAdvisory result =
-          new com.google.maps.routing.v2.RouteTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteTravelAdvisory result = new com.google.maps.routing.v2.RouteTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -542,39 +497,38 @@ public com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory) other);
+        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,10 +558,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteTravelAdvisory other) {
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSpeedReadingIntervalsFieldBuilder()
-                    : null;
+            speedReadingIntervalsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSpeedReadingIntervalsFieldBuilder() : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -642,39 +595,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
+            case 18: {
+              input.readMessage(
+                  getTollInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.maps.routing.v2.SpeedReadingInterval m =
-                    input.readMessage(
-                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                        extensionRegistry);
-                if (speedReadingIntervalsBuilder_ == null) {
-                  ensureSpeedReadingIntervalsIsMutable();
-                  speedReadingIntervals_.add(m);
-                } else {
-                  speedReadingIntervalsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 40:
-              {
-                fuelConsumptionMicroliters_ = input.readInt64();
+              break;
+            } // case 18
+            case 26: {
+              com.google.maps.routing.v2.SpeedReadingInterval m =
+                  input.readMessage(
+                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                      extensionRegistry);
+              if (speedReadingIntervalsBuilder_ == null) {
+                ensureSpeedReadingIntervalsIsMutable();
+                speedReadingIntervals_.add(m);
+              } else {
+                speedReadingIntervalsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 40: {
+              fuelConsumptionMicroliters_ = input.readInt64();
 
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 40
+            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) {
@@ -684,18 +635,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
-        tollInfoBuilder_;
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -705,15 +650,12 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** - * - * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -723,21 +665,16 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null - ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() - : tollInfo_; + return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** - * - * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -762,8 +699,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -774,7 +709,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
-    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(
+        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -785,8 +721,6 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -801,9 +735,7 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -815,8 +747,6 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -839,8 +769,6 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -852,13 +780,11 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-
+      
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -873,14 +799,11 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null
-            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
-            : tollInfo_;
+        return tollInfo_ == null ?
+            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -892,43 +815,32 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo,
-            com.google.maps.routing.v2.TollInfo.Builder,
-            com.google.maps.routing.v2.TollInfoOrBuilder>
+        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.TollInfo,
-                com.google.maps.routing.v2.TollInfo.Builder,
-                com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(), getParentForChildren(), isClean());
+        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(),
+                getParentForChildren(),
+                isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ =
-            new java.util.ArrayList(
-                speedReadingIntervals_);
+        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.SpeedReadingInterval,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
-            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
-        speedReadingIntervalsBuilder_;
+        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
 
     /**
-     *
-     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -940,11 +852,9 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsList() { + public java.util.List getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -952,8 +862,6 @@ private void ensureSpeedReadingIntervalsIsMutable() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -965,8 +873,7 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -976,8 +883,6 @@ public int getSpeedReadingIntervalsCount() { } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -989,8 +894,7 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1000,8 +904,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1013,8 +915,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1031,8 +932,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1044,8 +943,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1059,8 +957,6 @@ public Builder setSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1072,8 +968,7 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -1089,8 +984,6 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1102,8 +995,7 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1120,8 +1012,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1133,8 +1023,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1148,8 +1037,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1161,8 +1048,7 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1176,8 +1062,6 @@ public Builder addSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1189,14 +1073,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1204,8 +1088,6 @@ public Builder addAllSpeedReadingIntervals( return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1217,8 +1099,7 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1231,8 +1112,6 @@ public Builder clearSpeedReadingIntervals() { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1244,8 +1123,7 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1258,8 +1136,6 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1271,16 +1147,13 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1292,20 +1165,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder - getSpeedReadingIntervalsOrBuilder(int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( + int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); - } else { + return speedReadingIntervals_.get(index); } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1317,11 +1186,10 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1329,8 +1197,6 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn } } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1342,17 +1208,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder - addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1364,17 +1226,14 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder() - .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder().addBuilder( + index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** - * - * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1386,25 +1245,18 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; - * + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, - com.google.maps.routing.v2.SpeedReadingInterval.Builder, - com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1414,16 +1266,13 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn return speedReadingIntervalsBuilder_; } - private long fuelConsumptionMicroliters_; + private long fuelConsumptionMicroliters_ ; /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -1431,43 +1280,37 @@ public long getFuelConsumptionMicroliters() { return fuelConsumptionMicroliters_; } /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @param value The fuelConsumptionMicroliters to set. * @return This builder for chaining. */ public Builder setFuelConsumptionMicroliters(long value) { - + fuelConsumptionMicroliters_ = value; onChanged(); return this; } /** - * - * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; - * * @return This builder for chaining. */ public Builder clearFuelConsumptionMicroliters() { - + fuelConsumptionMicroliters_ = 0L; 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); } @@ -1477,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteTravelAdvisory) private static final com.google.maps.routing.v2.RouteTravelAdvisory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteTravelAdvisory(); } @@ -1491,27 +1334,27 @@ public static com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteTravelAdvisory 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 RouteTravelAdvisory 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; @@ -1526,4 +1369,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java similarity index 87% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java index ccaea0896cfd..8a40a07e56f8 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteTravelAdvisoryOrBuilder - extends +public interface RouteTravelAdvisoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -35,13 +17,10 @@ public interface RouteTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -51,13 +30,10 @@ public interface RouteTravelAdvisoryOrBuilder
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; - * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** - * - * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -71,8 +47,6 @@ public interface RouteTravelAdvisoryOrBuilder
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -86,10 +60,9 @@ public interface RouteTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List getSpeedReadingIntervalsList();
+  java.util.List 
+      getSpeedReadingIntervalsList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -105,8 +78,6 @@ public interface RouteTravelAdvisoryOrBuilder
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -122,8 +93,6 @@ public interface RouteTravelAdvisoryOrBuilder
    */
   int getSpeedReadingIntervalsCount();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -137,11 +106,9 @@ public interface RouteTravelAdvisoryOrBuilder
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List
+  java.util.List 
       getSpeedReadingIntervalsOrBuilderList();
   /**
-   *
-   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -159,14 +126,11 @@ com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingInterval
       int index);
 
   /**
-   *
-   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; - * * @return The fuelConsumptionMicroliters. */ long getFuelConsumptionMicroliters(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java similarity index 71% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java index eb2f5ca3d254..9c969d402ba4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.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/routing/v2/route_travel_mode.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values used to specify the mode of travel.
  * NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes
@@ -31,10 +14,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteTravelMode}
  */
-public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteTravelMode
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -43,8 +25,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ TRAVEL_MODE_UNSPECIFIED(0), /** - * - * *
    * Travel by passenger car.
    * 
@@ -53,8 +33,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ DRIVE(1), /** - * - * *
    * Travel by bicycle.
    * 
@@ -63,8 +41,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ BICYCLE(2), /** - * - * *
    * Travel by walking.
    * 
@@ -73,8 +49,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ WALK(3), /** - * - * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -87,8 +61,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -97,8 +69,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAVEL_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Travel by passenger car.
    * 
@@ -107,8 +77,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVE_VALUE = 1; /** - * - * *
    * Travel by bicycle.
    * 
@@ -117,8 +85,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BICYCLE_VALUE = 2; /** - * - * *
    * Travel by walking.
    * 
@@ -127,8 +93,6 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALK_VALUE = 3; /** - * - * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -138,6 +102,7 @@ public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TWO_WHEELER_VALUE = 4;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -162,53 +127,51 @@ public static RouteTravelMode valueOf(int value) {
    */
   public static RouteTravelMode forNumber(int value) {
     switch (value) {
-      case 0:
-        return TRAVEL_MODE_UNSPECIFIED;
-      case 1:
-        return DRIVE;
-      case 2:
-        return BICYCLE;
-      case 3:
-        return WALK;
-      case 4:
-        return TWO_WHEELER;
-      default:
-        return null;
+      case 0: return TRAVEL_MODE_UNSPECIFIED;
+      case 1: return DRIVE;
+      case 2: return BICYCLE;
+      case 3: return WALK;
+      case 4: return TWO_WHEELER;
+      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 internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public RouteTravelMode findValueByNumber(int number) {
-          return RouteTravelMode.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RouteTravelMode> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RouteTravelMode findValueByNumber(int number) {
+            return RouteTravelMode.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.routing.v2.RouteTravelModeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteTravelMode[] VALUES = values();
 
-  public static RouteTravelMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteTravelMode 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;
@@ -224,3 +187,4 @@ private RouteTravelMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteTravelMode)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
new file mode 100644
index 000000000000..beabfecd72c2
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
@@ -0,0 +1,44 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/route_travel_mode.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteTravelModeProto {
+  private RouteTravelModeProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_travel_mo" +
+      "de.proto\022\026google.maps.routing.v2*a\n\017Rout" +
+      "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" +
+      "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" +
+      "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." +
+      "v2B\024RouteTravelModeProtoP\001Z=google.golan" +
+      "g.org/genproto/googleapis/maps/routing/v" +
+      "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" +
+      "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" +
+      ":Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
new file mode 100644
index 000000000000..b209fe6d3b55
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
@@ -0,0 +1,221 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/routes_service.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutesServiceProto {
+  private RoutesServiceProto() {}
+  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_routing_v2_ComputeRoutesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." +
+      "proto\022\026google.maps.routing.v2\032\034google/ap" +
+      "i/annotations.proto\032\027google/api/client.p" +
+      "roto\032\037google/api/field_behavior.proto\032*g" +
+      "oogle/maps/routing/v2/fallback_info.prot" +
+      "o\032%google/maps/routing/v2/polyline.proto" +
+      "\032\"google/maps/routing/v2/route.proto\032,go" +
+      "ogle/maps/routing/v2/route_modifiers.pro" +
+      "to\032.google/maps/routing/v2/route_travel_" +
+      "mode.proto\032/google/maps/routing/v2/routi" +
+      "ng_preference.proto\032\"google/maps/routing" +
+      "/v2/units.proto\032%google/maps/routing/v2/" +
+      "waypoint.proto\032\036google/protobuf/duration" +
+      ".proto\032\037google/protobuf/timestamp.proto\032" +
+      "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" +
+      "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." +
+      "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" +
+      "\002 \001(\0132 .google.maps.routing.v2.WaypointB" +
+      "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" +
+      "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" +
+      "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" +
+      "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" +
+      "\0162).google.maps.routing.v2.RoutingPrefer" +
+      "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" +
+      "ogle.maps.routing.v2.PolylineQualityB\003\340A" +
+      "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" +
+      "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" +
+      "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" +
+      "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" +
+      "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" +
+      ".google.maps.routing.v2.RouteModifiersB\003" +
+      "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" +
+      "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" +
+      "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" +
+      ".google.maps.routing.v2.ComputeRoutesReq" +
+      "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" +
+      "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" +
+      "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" +
+      "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." +
+      "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" +
+      ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" +
+      "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" +
+      "oogle.maps.routing.v2.RouteMatrixOriginB" +
+      "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" +
+      ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" +
+      "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" +
+      "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" +
+      "eference\030\004 \001(\0162).google.maps.routing.v2." +
+      "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" +
+      "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" +
+      "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" +
+      " .google.maps.routing.v2.WaypointB\003\340A\002\022D" +
+      "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" +
+      "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" +
+      "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" +
+      "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" +
+      "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" +
+      "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" +
+      "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" +
+      "on\030\t \001(\01623.google.maps.routing.v2.RouteM" +
+      "atrixElementCondition\022\027\n\017distance_meters" +
+      "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" +
+      "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" +
+      "oogle.protobuf.Duration\022D\n\017travel_adviso" +
+      "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" +
+      "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" +
+      "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" +
+      "rigin_indexB\024\n\022_destination_index*t\n\033Rou" +
+      "teMatrixElementCondition\022.\n*ROUTE_MATRIX" +
+      "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" +
+      "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" +
+      "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" +
+      "ng.v2.ComputeRoutesRequest\032-.google.maps" +
+      ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" +
+      "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" +
+      "omputeRouteMatrix\0221.google.maps.routing." +
+      "v2.ComputeRouteMatrixRequest\032*.google.ma" +
+      "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" +
+      "\"%/distanceMatrix/v2:computeRouteMatrix:" +
+      "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" +
+      "oogle.maps.routing.v2B\022RoutesServiceProt" +
+      "oP\001Z=google.golang.org/genproto/googleap" +
+      "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" +
+      "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" +
+      "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" +
+      "to3"
+    };
+    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.routing.v2.FallbackInfoProto.getDescriptor(),
+          com.google.maps.routing.v2.PolylineProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(),
+          com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(),
+          com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(),
+          com.google.maps.routing.v2.UnitsProto.getDescriptor(),
+          com.google.maps.routing.v2.WaypointProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.rpc.StatusProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor,
+        new java.lang.String[] { "Origin", "Destination", "Intermediates", "TravelMode", "RoutingPreference", "PolylineQuality", "PolylineEncoding", "DepartureTime", "ComputeAlternativeRoutes", "RouteModifiers", "LanguageCode", "Units", "RequestedReferenceRoutes", });
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor,
+        new java.lang.String[] { "Routes", "FallbackInfo", });
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor,
+        new java.lang.String[] { "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", });
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor,
+        new java.lang.String[] { "Waypoint", "RouteModifiers", });
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor,
+        new java.lang.String[] { "Waypoint", });
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor,
+        new java.lang.String[] { "OriginIndex", "DestinationIndex", "Status", "Condition", "DistanceMeters", "Duration", "StaticDuration", "TravelAdvisory", "FallbackInfo", "OriginIndex", "DestinationIndex", });
+    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.routing.v2.FallbackInfoProto.getDescriptor();
+    com.google.maps.routing.v2.PolylineProto.getDescriptor();
+    com.google.maps.routing.v2.RouteProto.getDescriptor();
+    com.google.maps.routing.v2.RouteModifiersProto.getDescriptor();
+    com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor();
+    com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor();
+    com.google.maps.routing.v2.UnitsProto.getDescriptor();
+    com.google.maps.routing.v2.WaypointProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
similarity index 77%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
index c571bba8e83e..a276207426b7 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.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/routing/v2/routing_preference.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * A set of values that specify factors to take into consideration when
  * calculating the route.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RoutingPreference}
  */
-public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum {
+public enum RoutingPreference
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -40,8 +22,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum */ ROUTING_PREFERENCE_UNSPECIFIED(0), /** - * - * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -58,8 +38,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   TRAFFIC_UNAWARE(1),
   /**
-   *
-   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -70,8 +48,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   TRAFFIC_AWARE(2),
   /**
-   *
-   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -85,8 +61,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -95,8 +69,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum */ public static final int ROUTING_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -113,8 +85,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_UNAWARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -125,8 +95,6 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_AWARE_VALUE = 2;
   /**
-   *
-   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -137,6 +105,7 @@ public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int TRAFFIC_AWARE_OPTIMAL_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -161,44 +130,40 @@ public static RoutingPreference valueOf(int value) {
    */
   public static RoutingPreference forNumber(int value) {
     switch (value) {
-      case 0:
-        return ROUTING_PREFERENCE_UNSPECIFIED;
-      case 1:
-        return TRAFFIC_UNAWARE;
-      case 2:
-        return TRAFFIC_AWARE;
-      case 3:
-        return TRAFFIC_AWARE_OPTIMAL;
-      default:
-        return null;
+      case 0: return ROUTING_PREFERENCE_UNSPECIFIED;
+      case 1: return TRAFFIC_UNAWARE;
+      case 2: return TRAFFIC_AWARE;
+      case 3: return TRAFFIC_AWARE_OPTIMAL;
+      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
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public RoutingPreference findValueByNumber(int number) {
-              return RoutingPreference.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      RoutingPreference> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public RoutingPreference findValueByNumber(int number) {
+            return RoutingPreference.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.routing.v2.RoutingPreferenceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -207,7 +172,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static RoutingPreference 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;
@@ -223,3 +189,4 @@ private RoutingPreference(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RoutingPreference)
 }
+
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
new file mode 100644
index 000000000000..0976571e0d86
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
@@ -0,0 +1,45 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/routing_preference.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutingPreferenceProto {
+  private RoutingPreferenceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/routing_prefere" +
+      "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" +
+      "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" +
+      "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" +
+      "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" +
+      "\n\032com.google.maps.routing.v2B\026RoutingPre" +
+      "ferenceProtoP\001Z=google.golang.org/genpro" +
+      "to/googleapis/maps/routing/v2;routing\370\001\001" +
+      "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" +
+      "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" +
+      "ng::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
similarity index 72%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
index b36867eb8892..63553864849f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.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/routing/v2/speed_reading_interval.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * Traffic density indicator on a contiguous segment of a polyline or path.
  * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -30,59 +13,54 @@
  *
  * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
  */
-public final class SpeedReadingInterval extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SpeedReadingInterval extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.SpeedReadingInterval)
     SpeedReadingIntervalOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SpeedReadingInterval.newBuilder() to construct.
   private SpeedReadingInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SpeedReadingInterval() {
     speed_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SpeedReadingInterval();
   }
 
   @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.routing.v2.SpeedReadingIntervalProto
-        .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.SpeedReadingIntervalProto
-        .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.SpeedReadingInterval.class,
-            com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+            com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The classification of polyline speed based on traffic data.
    * 
* * Protobuf enum {@code google.maps.routing.v2.SpeedReadingInterval.Speed} */ - public enum Speed implements com.google.protobuf.ProtocolMessageEnum { + public enum Speed + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -91,8 +69,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ SPEED_UNSPECIFIED(0), /** - * - * *
      * Normal speed, no slowdown is detected.
      * 
@@ -101,8 +77,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ NORMAL(1), /** - * - * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -111,8 +85,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ SLOW(2), /** - * - * *
      * Traffic jam detected.
      * 
@@ -124,8 +96,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -134,8 +104,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPEED_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Normal speed, no slowdown is detected.
      * 
@@ -144,8 +112,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NORMAL_VALUE = 1; /** - * - * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -154,8 +120,6 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SLOW_VALUE = 2; /** - * - * *
      * Traffic jam detected.
      * 
@@ -164,6 +128,7 @@ public enum Speed implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_JAM_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -188,51 +153,50 @@ public static Speed valueOf(int value) { */ public static Speed forNumber(int value) { switch (value) { - case 0: - return SPEED_UNSPECIFIED; - case 1: - return NORMAL; - case 2: - return SLOW; - case 3: - return TRAFFIC_JAM; - default: - return null; + case 0: return SPEED_UNSPECIFIED; + case 1: return NORMAL; + case 2: return SLOW; + case 3: return TRAFFIC_JAM; + 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< + Speed> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Speed findValueByNumber(int number) { + return Speed.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Speed findValueByNumber(int number) { - return Speed.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.routing.v2.SpeedReadingInterval.getDescriptor().getEnumTypes().get(0); } private static final Speed[] VALUES = values(); - public static Speed valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Speed 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; @@ -253,14 +217,11 @@ private Speed(int value) { public static final int START_POLYLINE_POINT_INDEX_FIELD_NUMBER = 1; private int startPolylinePointIndex_; /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -268,14 +229,11 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -286,14 +244,11 @@ public int getStartPolylinePointIndex() { public static final int END_POLYLINE_POINT_INDEX_FIELD_NUMBER = 2; private int endPolylinePointIndex_; /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -301,14 +256,11 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -319,43 +271,31 @@ public int getEndPolylinePointIndex() { public static final int SPEED_FIELD_NUMBER = 3; private int speed_; /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override - public int getSpeedValue() { + @java.lang.Override public int getSpeedValue() { return speed_; } /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ - @java.lang.Override - public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { + @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = - com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null - ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED - : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,15 +307,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, endPolylinePointIndex_); } - if (speed_ - != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { output.writeEnum(3, speed_); } getUnknownFields().writeTo(output); @@ -388,14 +328,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, endPolylinePointIndex_); } - if (speed_ - != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, speed_); + if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, speed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,21 +347,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.routing.v2.SpeedReadingInterval)) { return super.equals(obj); } - com.google.maps.routing.v2.SpeedReadingInterval other = - (com.google.maps.routing.v2.SpeedReadingInterval) obj; + com.google.maps.routing.v2.SpeedReadingInterval other = (com.google.maps.routing.v2.SpeedReadingInterval) obj; if (hasStartPolylinePointIndex() != other.hasStartPolylinePointIndex()) return false; if (hasStartPolylinePointIndex()) { - if (getStartPolylinePointIndex() != other.getStartPolylinePointIndex()) return false; + if (getStartPolylinePointIndex() + != other.getStartPolylinePointIndex()) return false; } if (hasEndPolylinePointIndex() != other.hasEndPolylinePointIndex()) return false; if (hasEndPolylinePointIndex()) { - if (getEndPolylinePointIndex() != other.getEndPolylinePointIndex()) return false; + if (getEndPolylinePointIndex() + != other.getEndPolylinePointIndex()) return false; } if (speed_ != other.speed_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -448,104 +391,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.maps.routing.v2.SpeedReadingInterval parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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; } /** - * - * *
    * Traffic density indicator on a contiguous segment of a polyline or path.
    * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -555,32 +491,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
    */
-  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.routing.v2.SpeedReadingInterval)
       com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.SpeedReadingInterval.class,
-              com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+              com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.SpeedReadingInterval.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();
@@ -594,9 +531,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto
-          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
@@ -615,8 +552,7 @@ public com.google.maps.routing.v2.SpeedReadingInterval build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.SpeedReadingInterval buildPartial() {
-      com.google.maps.routing.v2.SpeedReadingInterval result =
-          new com.google.maps.routing.v2.SpeedReadingInterval(this);
+      com.google.maps.routing.v2.SpeedReadingInterval result = new com.google.maps.routing.v2.SpeedReadingInterval(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -637,39 +573,38 @@ public com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval) {
-        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval) other);
+        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -677,8 +612,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.SpeedReadingInterval other) {
-      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance())
-        return this;
+      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()) return this;
       if (other.hasStartPolylinePointIndex()) {
         setStartPolylinePointIndex(other.getStartPolylinePointIndex());
       }
@@ -714,31 +648,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                startPolylinePointIndex_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                endPolylinePointIndex_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                speed_ = input.readEnum();
+            case 8: {
+              startPolylinePointIndex_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              endPolylinePointIndex_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              speed_ = input.readEnum();
 
-                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) {
@@ -748,19 +678,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int startPolylinePointIndex_;
+    private int startPolylinePointIndex_ ;
     /**
-     *
-     *
      * 
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -768,14 +694,11 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -783,14 +706,11 @@ public int getStartPolylinePointIndex() { return startPolylinePointIndex_; } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @param value The startPolylinePointIndex to set. * @return This builder for chaining. */ @@ -801,14 +721,11 @@ public Builder setStartPolylinePointIndex(int value) { return this; } /** - * - * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; - * * @return This builder for chaining. */ public Builder clearStartPolylinePointIndex() { @@ -818,16 +735,13 @@ public Builder clearStartPolylinePointIndex() { return this; } - private int endPolylinePointIndex_; + private int endPolylinePointIndex_ ; /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -835,14 +749,11 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -850,14 +761,11 @@ public int getEndPolylinePointIndex() { return endPolylinePointIndex_; } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @param value The endPolylinePointIndex to set. * @return This builder for chaining. */ @@ -868,14 +776,11 @@ public Builder setEndPolylinePointIndex(int value) { return this; } /** - * - * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; - * * @return This builder for chaining. */ public Builder clearEndPolylinePointIndex() { @@ -887,67 +792,51 @@ public Builder clearEndPolylinePointIndex() { private int speed_ = 0; /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override - public int getSpeedValue() { + @java.lang.Override public int getSpeedValue() { return speed_; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @param value The enum numeric value on the wire for speed to set. * @return This builder for chaining. */ public Builder setSpeedValue(int value) { - + speed_ = value; onChanged(); return this; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = - com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null - ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED - : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @param value The speed to set. * @return This builder for chaining. */ @@ -955,31 +844,28 @@ public Builder setSpeed(com.google.maps.routing.v2.SpeedReadingInterval.Speed va if (value == null) { throw new NullPointerException(); } - + speed_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return This builder for chaining. */ public Builder clearSpeed() { - + speed_ = 0; 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); } @@ -989,12 +875,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.SpeedReadingInterval) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.SpeedReadingInterval) private static final com.google.maps.routing.v2.SpeedReadingInterval DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.SpeedReadingInterval(); } @@ -1003,27 +889,27 @@ public static com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeedReadingInterval 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 SpeedReadingInterval 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; @@ -1038,4 +924,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java index df4bba08ee49..b3b1beeebe8e 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java @@ -1,99 +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/routing/v2/speed_reading_interval.proto package com.google.maps.routing.v2; -public interface SpeedReadingIntervalOrBuilder - extends +public interface SpeedReadingIntervalOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.SpeedReadingInterval) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return Whether the startPolylinePointIndex field is set. */ boolean hasStartPolylinePointIndex(); /** - * - * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; - * * @return The startPolylinePointIndex. */ int getStartPolylinePointIndex(); /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return Whether the endPolylinePointIndex field is set. */ boolean hasEndPolylinePointIndex(); /** - * - * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; - * * @return The endPolylinePointIndex. */ int getEndPolylinePointIndex(); /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The enum numeric value on the wire for speed. */ int getSpeedValue(); /** - * - * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; - * * @return The speed. */ com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java new file mode 100644 index 000000000000..de71857e5a22 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/speed_reading_interval.proto + +package com.google.maps.routing.v2; + +public final class SpeedReadingIntervalProto { + private SpeedReadingIntervalProto() {} + 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_routing_v2_SpeedReadingInterval_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/speed_reading_i" + + "nterval.proto\022\026google.maps.routing.v2\"\254\002" + + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + + "google.maps.routing.v2.SpeedReadingInter" + + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + + "polyline_point_indexB\321\001\n\032com.google.maps" + + ".routing.v2B\031SpeedReadingIntervalProtoP\001" + + "Z=google.golang.org/genproto/googleapis/" + + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, + new java.lang.String[] { "StartPolylinePointIndex", "EndPolylinePointIndex", "Speed", "StartPolylinePointIndex", "EndPolylinePointIndex", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java similarity index 77% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java index 371aea9216d3..6d1705f464b4 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.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/routing/v2/toll_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates toll information on a `Route` or on a `RouteLeg`.
  * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ -public final class TollInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TollInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.TollInfo) TollInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TollInfo.newBuilder() to construct. private TollInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TollInfo() { estimatedPrice_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TollInfo(); } @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.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, - com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); } public static final int ESTIMATED_PRICE_FIELD_NUMBER = 1; private java.util.List estimatedPrice_; /** - * - * *
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -88,8 +67,6 @@ public java.util.List getEstimatedPriceList() {
     return estimatedPrice_;
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -102,12 +79,11 @@ public java.util.List getEstimatedPriceList() {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public java.util.List getEstimatedPriceOrBuilderList() {
+  public java.util.List 
+      getEstimatedPriceOrBuilderList() {
     return estimatedPrice_;
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -124,8 +100,6 @@ public int getEstimatedPriceCount() {
     return estimatedPrice_.size();
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -142,8 +116,6 @@ public com.google.type.Money getEstimatedPrice(int index) {
     return estimatedPrice_.get(index);
   }
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -156,12 +128,12 @@ public com.google.type.Money getEstimatedPrice(int index) {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
+  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+      int index) {
     return estimatedPrice_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +145,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 {
     for (int i = 0; i < estimatedPrice_.size(); i++) {
       output.writeMessage(1, estimatedPrice_.get(i));
     }
@@ -187,7 +160,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < estimatedPrice_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, estimatedPrice_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, estimatedPrice_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -197,14 +171,15 @@ 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.routing.v2.TollInfo)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.TollInfo other = (com.google.maps.routing.v2.TollInfo) obj;
 
-    if (!getEstimatedPriceList().equals(other.getEstimatedPriceList())) return false;
+    if (!getEstimatedPriceList()
+        .equals(other.getEstimatedPriceList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -225,135 +200,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.TollInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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;
   }
   /**
-   *
-   *
    * 
    * Encapsulates toll information on a `Route` or on a `RouteLeg`.
    * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ - 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.routing.v2.TollInfo) com.google.maps.routing.v2.TollInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, - com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); } // Construct using com.google.maps.routing.v2.TollInfo.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(); @@ -368,9 +338,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.routing.v2.TollInfoProto - .internal_static_google_maps_routing_v2_TollInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override @@ -408,39 +378,38 @@ public com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo) { - return mergeFrom((com.google.maps.routing.v2.TollInfo) other); + return mergeFrom((com.google.maps.routing.v2.TollInfo)other); } else { super.mergeFrom(other); return this; @@ -467,10 +436,9 @@ public Builder mergeFrom(com.google.maps.routing.v2.TollInfo other) { estimatedPriceBuilder_ = null; estimatedPrice_ = other.estimatedPrice_; bitField0_ = (bitField0_ & ~0x00000001); - estimatedPriceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEstimatedPriceFieldBuilder() - : null; + estimatedPriceBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEstimatedPriceFieldBuilder() : null; } else { estimatedPriceBuilder_.addAllMessages(other.estimatedPrice_); } @@ -502,25 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.type.Money m = - input.readMessage(com.google.type.Money.parser(), extensionRegistry); - if (estimatedPriceBuilder_ == null) { - ensureEstimatedPriceIsMutable(); - estimatedPrice_.add(m); - } else { - estimatedPriceBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.type.Money m = + input.readMessage( + com.google.type.Money.parser(), + extensionRegistry); + if (estimatedPriceBuilder_ == null) { + ensureEstimatedPriceIsMutable(); + estimatedPrice_.add(m); + } else { + estimatedPriceBuilder_.addMessage(m); + } + break; + } // case 10 + 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) { @@ -530,26 +498,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List estimatedPrice_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEstimatedPriceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { estimatedPrice_ = new java.util.ArrayList(estimatedPrice_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - estimatedPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> estimatedPriceBuilder_; /** - * - * *
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -569,8 +532,6 @@ public java.util.List getEstimatedPriceList() {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -590,8 +551,6 @@ public int getEstimatedPriceCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -611,8 +570,6 @@ public com.google.type.Money getEstimatedPrice(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -624,7 +581,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(int index, com.google.type.Money value) {
+    public Builder setEstimatedPrice(
+        int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -638,8 +596,6 @@ public Builder setEstimatedPrice(int index, com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -651,7 +607,8 @@ public Builder setEstimatedPrice(int index, com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
+    public Builder setEstimatedPrice(
+        int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.set(index, builderForValue.build());
@@ -662,8 +619,6 @@ public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -689,8 +644,6 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -702,7 +655,8 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(int index, com.google.type.Money value) {
+    public Builder addEstimatedPrice(
+        int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,8 +670,6 @@ public Builder addEstimatedPrice(int index, com.google.type.Money value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -729,7 +681,8 @@ public Builder addEstimatedPrice(int index, com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(
+        com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(builderForValue.build());
@@ -740,8 +693,6 @@ public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -753,7 +704,8 @@ public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue)
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(
+        int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(index, builderForValue.build());
@@ -764,8 +716,6 @@ public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -781,7 +731,8 @@ public Builder addAllEstimatedPrice(
         java.lang.Iterable values) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, estimatedPrice_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, estimatedPrice_);
         onChanged();
       } else {
         estimatedPriceBuilder_.addAllMessages(values);
@@ -789,8 +740,6 @@ public Builder addAllEstimatedPrice(
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -813,8 +762,6 @@ public Builder clearEstimatedPrice() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -837,8 +784,6 @@ public Builder removeEstimatedPrice(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -850,12 +795,11 @@ public Builder removeEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
+    public com.google.type.Money.Builder getEstimatedPriceBuilder(
+        int index) {
       return getEstimatedPriceFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -867,16 +811,14 @@ public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
+    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+        int index) {
       if (estimatedPriceBuilder_ == null) {
-        return estimatedPrice_.get(index);
-      } else {
+        return estimatedPrice_.get(index);  } else {
         return estimatedPriceBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -888,8 +830,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List
-        getEstimatedPriceOrBuilderList() {
+    public java.util.List 
+         getEstimatedPriceOrBuilderList() {
       if (estimatedPriceBuilder_ != null) {
         return estimatedPriceBuilder_.getMessageOrBuilderList();
       } else {
@@ -897,8 +839,6 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -911,11 +851,10 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
      * repeated .google.type.Money estimated_price = 1;
      */
     public com.google.type.Money.Builder addEstimatedPriceBuilder() {
-      return getEstimatedPriceFieldBuilder().addBuilder(com.google.type.Money.getDefaultInstance());
+      return getEstimatedPriceFieldBuilder().addBuilder(
+          com.google.type.Money.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -927,13 +866,12 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder() {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
-      return getEstimatedPriceFieldBuilder()
-          .addBuilder(index, com.google.type.Money.getDefaultInstance());
+    public com.google.type.Money.Builder addEstimatedPriceBuilder(
+        int index) {
+      return getEstimatedPriceFieldBuilder().addBuilder(
+          index, com.google.type.Money.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -945,19 +883,16 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List getEstimatedPriceBuilderList() {
+    public java.util.List 
+         getEstimatedPriceBuilderList() {
       return getEstimatedPriceFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
         getEstimatedPriceFieldBuilder() {
       if (estimatedPriceBuilder_ == null) {
-        estimatedPriceBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.type.Money,
-                com.google.type.Money.Builder,
-                com.google.type.MoneyOrBuilder>(
+        estimatedPriceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
                 estimatedPrice_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -966,9 +901,9 @@ public java.util.List getEstimatedPriceBuilderLis
       }
       return estimatedPriceBuilder_;
     }
-
     @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);
     }
 
@@ -978,12 +913,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.TollInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.TollInfo)
   private static final com.google.maps.routing.v2.TollInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.TollInfo();
   }
@@ -992,27 +927,27 @@ public static com.google.maps.routing.v2.TollInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TollInfo 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 TollInfo 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;
@@ -1027,4 +962,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.TollInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
similarity index 75%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
index ba94fc699952..1bc067afd09f 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.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/routing/v2/toll_info.proto
 
 package com.google.maps.routing.v2;
 
-public interface TollInfoOrBuilder
-    extends
+public interface TollInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.TollInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -37,10 +19,9 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List getEstimatedPriceList();
+  java.util.List 
+      getEstimatedPriceList();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -54,8 +35,6 @@ public interface TollInfoOrBuilder
    */
   com.google.type.Money getEstimatedPrice(int index);
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -69,8 +48,6 @@ public interface TollInfoOrBuilder
    */
   int getEstimatedPriceCount();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -82,10 +59,9 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List getEstimatedPriceOrBuilderList();
+  java.util.List 
+      getEstimatedPriceOrBuilderList();
   /**
-   *
-   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -97,5 +73,6 @@ public interface TollInfoOrBuilder
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index);
+  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
new file mode 100644
index 000000000000..cce8c52c6003
--- /dev/null
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
@@ -0,0 +1,56 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/maps/routing/v2/toll_info.proto
+
+package com.google.maps.routing.v2;
+
+public final class TollInfoProto {
+  private TollInfoProto() {}
+  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_routing_v2_TollInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" +
+      "\022\026google.maps.routing.v2\032\027google/type/mo" +
+      "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" +
+      "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" +
+      "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" +
+      "le.golang.org/genproto/googleapis/maps/r" +
+      "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" +
+      "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" +
+      "\031Google::Maps::Routing::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.type.MoneyProto.getDescriptor(),
+        });
+    internal_static_google_maps_routing_v2_TollInfo_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_maps_routing_v2_TollInfo_descriptor,
+        new java.lang.String[] { "EstimatedPrice", });
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
similarity index 80%
rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
index 3bdb1b220654..cd7eba1e3532 100644
--- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
+++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
@@ -1,36 +1,18 @@
-/*
- * 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/routing/v2/toll_passes.proto
 
 package com.google.maps.routing.v2;
 
 /**
- *
- *
  * 
  * List of toll passes around the world that we support.
  * 
* * Protobuf enum {@code google.maps.routing.v2.TollPass} */ -public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { +public enum TollPass + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -39,8 +21,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ TOLL_PASS_UNSPECIFIED(0), /** - * - * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -49,8 +29,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AU_ETOLL_TAG(82), /** - * - * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -59,8 +37,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AU_EWAY_TAG(83), /** - * - * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -70,8 +46,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   AU_LINKT(2),
   /**
-   *
-   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -80,8 +54,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ AR_TELEPASE(3), /** - * - * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -90,8 +62,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_AUTO_EXPRESO(81), /** - * - * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -100,8 +70,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_CONECTCAR(7), /** - * - * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -110,8 +78,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_MOVE_MAIS(8), /** - * - * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -120,8 +86,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_PASSA_RAPIDO(88), /** - * - * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -130,8 +94,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_SEM_PARAR(9), /** - * - * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -140,8 +102,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ BR_TAGGY(10), /** - * - * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -151,8 +111,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   BR_VELOE(11),
   /**
-   *
-   *
    * 
    * Canada to United States border crossing.
    * 
@@ -161,8 +119,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD(84), /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -171,8 +127,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD(85), /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -181,8 +135,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_BLUE_WATER_EDGE_PASS(18), /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -191,8 +143,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_CONNEXION(19), /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -201,8 +151,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ CA_US_NEXUS_CARD(20), /** - * - * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -216,8 +164,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   ID_E_TOLL(16),
   /**
-   *
-   *
    * 
    * India.
    * 
@@ -226,8 +172,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ IN_FASTAG(78), /** - * - * *
    * India, HP state plate exemption.
    * 
@@ -236,8 +180,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ IN_LOCAL_HP_PLATE_EXEMPT(79), /** - * - * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -247,8 +189,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_IAVE(90),
   /**
-   *
-   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -258,8 +198,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_PASE(91),
   /**
-   *
-   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -269,8 +207,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_QUICKPASS(93),
   /**
-   *
-   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -279,8 +215,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ MX_SISTEMA_TELEPEAJE_CHIHUAHUA(89), /** - * - * *
    * Mexico
    * 
@@ -289,8 +223,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ MX_TAG_IAVE(12), /** - * - * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -300,8 +232,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_TAG_TELEVIA(13),
   /**
-   *
-   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -311,8 +241,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_TELEVIA(92),
   /**
-   *
-   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -322,8 +250,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   MX_VIAPASS(14),
   /**
-   *
-   *
    * 
    * AL, USA.
    * 
@@ -332,8 +258,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_AL_FREEDOM_PASS(21), /** - * - * *
    * AK, USA.
    * 
@@ -342,8 +266,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS(22), /** - * - * *
    * CA, USA.
    * 
@@ -352,8 +274,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CA_FASTRAK(4), /** - * - * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -364,8 +284,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   US_CA_FASTRAK_CAV_STICKER(86),
   /**
-   *
-   *
    * 
    * CO, USA.
    * 
@@ -374,8 +292,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CO_EXPRESSTOLL(23), /** - * - * *
    * CO, USA.
    * 
@@ -384,8 +300,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_CO_GO_PASS(24), /** - * - * *
    * DE, USA.
    * 
@@ -394,8 +308,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_DE_EZPASSDE(25), /** - * - * *
    * FL, USA.
    * 
@@ -404,8 +316,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_BOB_SIKES_TOLL_BRIDGE_PASS(65), /** - * - * *
    * FL, USA.
    * 
@@ -414,8 +324,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD(66), /** - * - * *
    * FL, USA.
    * 
@@ -424,8 +332,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_EPASS(67), /** - * - * *
    * FL, USA.
    * 
@@ -434,8 +340,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_GIBA_TOLL_PASS(68), /** - * - * *
    * FL, USA.
    * 
@@ -444,8 +348,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_LEEWAY(69), /** - * - * *
    * FL, USA.
    * 
@@ -454,8 +356,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_SUNPASS(70), /** - * - * *
    * FL, USA.
    * 
@@ -464,8 +364,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_FL_SUNPASS_PRO(71), /** - * - * *
    * IL, USA.
    * 
@@ -474,8 +372,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IL_EZPASSIL(73), /** - * - * *
    * IL, USA.
    * 
@@ -484,8 +380,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IL_IPASS(72), /** - * - * *
    * IN, USA.
    * 
@@ -494,8 +388,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_IN_EZPASSIN(26), /** - * - * *
    * KS, USA.
    * 
@@ -504,8 +396,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_BESTPASS_HORIZON(27), /** - * - * *
    * KS, USA.
    * 
@@ -514,8 +404,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_KTAG(28), /** - * - * *
    * KS, USA.
    * 
@@ -524,8 +412,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_NATIONALPASS(29), /** - * - * *
    * KS, USA.
    * 
@@ -534,8 +420,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KS_PREPASS_ELITEPASS(30), /** - * - * *
    * KY, USA.
    * 
@@ -544,8 +428,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_KY_RIVERLINK(31), /** - * - * *
    * LA, USA.
    * 
@@ -554,8 +436,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_LA_GEAUXPASS(32), /** - * - * *
    * LA, USA.
    * 
@@ -564,8 +444,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_LA_TOLL_TAG(33), /** - * - * *
    * MA, USA.
    * 
@@ -574,8 +452,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MA_EZPASSMA(6), /** - * - * *
    * MD, USA.
    * 
@@ -584,8 +460,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MD_EZPASSMD(34), /** - * - * *
    * ME, USA.
    * 
@@ -594,8 +468,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_ME_EZPASSME(35), /** - * - * *
    * MI, USA.
    * 
@@ -604,8 +476,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD(36), /** - * - * *
    * MI, USA.
    * 
@@ -614,8 +484,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG(37), /** - * - * *
    * MI, USA.
    * 
@@ -624,8 +492,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_IQ_PROX_CARD(38), /** - * - * *
    * MI, USA.
    * 
@@ -634,8 +500,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_MACKINAC_BRIDGE_MAC_PASS(39), /** - * - * *
    * MI, USA.
    * 
@@ -644,8 +508,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MI_NEXPRESS_TOLL(40), /** - * - * *
    * MN, USA.
    * 
@@ -654,8 +516,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_MN_EZPASSMN(41), /** - * - * *
    * NC, USA.
    * 
@@ -664,8 +524,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_EZPASSNC(42), /** - * - * *
    * NC, USA.
    * 
@@ -674,8 +532,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_PEACH_PASS(87), /** - * - * *
    * NC, USA.
    * 
@@ -684,8 +540,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NC_QUICK_PASS(43), /** - * - * *
    * NH, USA.
    * 
@@ -694,8 +548,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NH_EZPASSNH(80), /** - * - * *
    * NJ, USA.
    * 
@@ -704,8 +556,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NJ_DOWNBEACH_EXPRESS_PASS(75), /** - * - * *
    * NJ, USA.
    * 
@@ -714,8 +564,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NJ_EZPASSNJ(74), /** - * - * *
    * NY, USA.
    * 
@@ -724,8 +572,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NY_EXPRESSPASS(76), /** - * - * *
    * NY, USA.
    * 
@@ -734,8 +580,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_NY_EZPASSNY(77), /** - * - * *
    * OH, USA.
    * 
@@ -744,8 +588,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_OH_EZPASSOH(44), /** - * - * *
    * PA, USA.
    * 
@@ -754,8 +596,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_PA_EZPASSPA(45), /** - * - * *
    * RI, USA.
    * 
@@ -764,8 +604,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_RI_EZPASSRI(46), /** - * - * *
    * SC, USA.
    * 
@@ -774,8 +612,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_SC_PALPASS(47), /** - * - * *
    * TX, USA.
    * 
@@ -784,8 +620,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_BANCPASS(48), /** - * - * *
    * TX, USA.
    * 
@@ -794,8 +628,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_DEL_RIO_PASS(49), /** - * - * *
    * TX, USA.
    * 
@@ -804,8 +636,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EFAST_PASS(50), /** - * - * *
    * TX, USA.
    * 
@@ -814,8 +644,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EAGLE_PASS_EXPRESS_CARD(51), /** - * - * *
    * TX, USA.
    * 
@@ -824,8 +652,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EPTOLL(52), /** - * - * *
    * TX, USA.
    * 
@@ -834,8 +660,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EZ_CROSS(53), /** - * - * *
    * TX, USA.
    * 
@@ -844,8 +668,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_EZTAG(54), /** - * - * *
    * TX, USA.
    * 
@@ -854,8 +676,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_LAREDO_TRADE_TAG(55), /** - * - * *
    * TX, USA.
    * 
@@ -864,8 +684,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_PLUSPASS(56), /** - * - * *
    * TX, USA.
    * 
@@ -874,8 +692,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_TOLLTAG(57), /** - * - * *
    * TX, USA.
    * 
@@ -884,8 +700,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_TXTAG(58), /** - * - * *
    * TX, USA.
    * 
@@ -894,8 +708,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_TX_XPRESS_CARD(59), /** - * - * *
    * UT, USA.
    * 
@@ -904,8 +716,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD(60), /** - * - * *
    * VA, USA.
    * 
@@ -914,8 +724,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_VA_EZPASSVA(61), /** - * - * *
    * WA, USA.
    * 
@@ -924,8 +732,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WA_BREEZEBY(17), /** - * - * *
    * WA, USA.
    * 
@@ -934,8 +740,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WA_GOOD_TO_GO(1), /** - * - * *
    * WV, USA.
    * 
@@ -944,8 +748,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WV_EZPASSWV(62), /** - * - * *
    * WV, USA.
    * 
@@ -954,8 +756,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ US_WV_MEMORIAL_BRIDGE_TICKETS(63), /** - * - * *
    * WV, USA.
    * 
@@ -967,8 +767,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -977,8 +775,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOLL_PASS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -987,8 +783,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AU_ETOLL_TAG_VALUE = 82; /** - * - * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -997,8 +791,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AU_EWAY_TAG_VALUE = 83; /** - * - * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -1008,8 +800,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int AU_LINKT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -1018,8 +808,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AR_TELEPASE_VALUE = 3; /** - * - * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -1028,8 +816,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_AUTO_EXPRESO_VALUE = 81; /** - * - * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -1038,8 +824,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_CONECTCAR_VALUE = 7; /** - * - * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -1048,8 +832,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_MOVE_MAIS_VALUE = 8; /** - * - * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -1058,8 +840,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_PASSA_RAPIDO_VALUE = 88; /** - * - * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -1068,8 +848,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_SEM_PARAR_VALUE = 9; /** - * - * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -1078,8 +856,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BR_TAGGY_VALUE = 10; /** - * - * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -1089,8 +865,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BR_VELOE_VALUE = 11;
   /**
-   *
-   *
    * 
    * Canada to United States border crossing.
    * 
@@ -1099,8 +873,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD_VALUE = 84; /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -1109,8 +881,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD_VALUE = 85; /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -1119,8 +889,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_BLUE_WATER_EDGE_PASS_VALUE = 18; /** - * - * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -1129,8 +897,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_CONNEXION_VALUE = 19; /** - * - * *
    * Canada to United States border crossing.
    * 
@@ -1139,8 +905,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_US_NEXUS_CARD_VALUE = 20; /** - * - * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -1154,8 +918,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ID_E_TOLL_VALUE = 16;
   /**
-   *
-   *
    * 
    * India.
    * 
@@ -1164,8 +926,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_FASTAG_VALUE = 78; /** - * - * *
    * India, HP state plate exemption.
    * 
@@ -1174,8 +934,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_LOCAL_HP_PLATE_EXEMPT_VALUE = 79; /** - * - * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -1185,8 +943,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_IAVE_VALUE = 90;
   /**
-   *
-   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -1196,8 +952,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_PASE_VALUE = 91;
   /**
-   *
-   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -1207,8 +961,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_QUICKPASS_VALUE = 93;
   /**
-   *
-   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -1217,8 +969,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MX_SISTEMA_TELEPEAJE_CHIHUAHUA_VALUE = 89; /** - * - * *
    * Mexico
    * 
@@ -1227,8 +977,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MX_TAG_IAVE_VALUE = 12; /** - * - * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -1238,8 +986,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_TAG_TELEVIA_VALUE = 13;
   /**
-   *
-   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -1249,8 +995,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_TELEVIA_VALUE = 92;
   /**
-   *
-   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -1260,8 +1004,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MX_VIAPASS_VALUE = 14;
   /**
-   *
-   *
    * 
    * AL, USA.
    * 
@@ -1270,8 +1012,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_AL_FREEDOM_PASS_VALUE = 21; /** - * - * *
    * AK, USA.
    * 
@@ -1280,8 +1020,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS_VALUE = 22; /** - * - * *
    * CA, USA.
    * 
@@ -1290,8 +1028,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CA_FASTRAK_VALUE = 4; /** - * - * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -1302,8 +1038,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int US_CA_FASTRAK_CAV_STICKER_VALUE = 86;
   /**
-   *
-   *
    * 
    * CO, USA.
    * 
@@ -1312,8 +1046,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CO_EXPRESSTOLL_VALUE = 23; /** - * - * *
    * CO, USA.
    * 
@@ -1322,8 +1054,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_CO_GO_PASS_VALUE = 24; /** - * - * *
    * DE, USA.
    * 
@@ -1332,8 +1062,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_DE_EZPASSDE_VALUE = 25; /** - * - * *
    * FL, USA.
    * 
@@ -1342,8 +1070,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_BOB_SIKES_TOLL_BRIDGE_PASS_VALUE = 65; /** - * - * *
    * FL, USA.
    * 
@@ -1352,8 +1078,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD_VALUE = 66; /** - * - * *
    * FL, USA.
    * 
@@ -1362,8 +1086,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_EPASS_VALUE = 67; /** - * - * *
    * FL, USA.
    * 
@@ -1372,8 +1094,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_GIBA_TOLL_PASS_VALUE = 68; /** - * - * *
    * FL, USA.
    * 
@@ -1382,8 +1102,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_LEEWAY_VALUE = 69; /** - * - * *
    * FL, USA.
    * 
@@ -1392,8 +1110,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_SUNPASS_VALUE = 70; /** - * - * *
    * FL, USA.
    * 
@@ -1402,8 +1118,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_FL_SUNPASS_PRO_VALUE = 71; /** - * - * *
    * IL, USA.
    * 
@@ -1412,8 +1126,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IL_EZPASSIL_VALUE = 73; /** - * - * *
    * IL, USA.
    * 
@@ -1422,8 +1134,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IL_IPASS_VALUE = 72; /** - * - * *
    * IN, USA.
    * 
@@ -1432,8 +1142,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_IN_EZPASSIN_VALUE = 26; /** - * - * *
    * KS, USA.
    * 
@@ -1442,8 +1150,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_BESTPASS_HORIZON_VALUE = 27; /** - * - * *
    * KS, USA.
    * 
@@ -1452,8 +1158,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_KTAG_VALUE = 28; /** - * - * *
    * KS, USA.
    * 
@@ -1462,8 +1166,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_NATIONALPASS_VALUE = 29; /** - * - * *
    * KS, USA.
    * 
@@ -1472,8 +1174,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KS_PREPASS_ELITEPASS_VALUE = 30; /** - * - * *
    * KY, USA.
    * 
@@ -1482,8 +1182,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_KY_RIVERLINK_VALUE = 31; /** - * - * *
    * LA, USA.
    * 
@@ -1492,8 +1190,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_LA_GEAUXPASS_VALUE = 32; /** - * - * *
    * LA, USA.
    * 
@@ -1502,8 +1198,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_LA_TOLL_TAG_VALUE = 33; /** - * - * *
    * MA, USA.
    * 
@@ -1512,8 +1206,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MA_EZPASSMA_VALUE = 6; /** - * - * *
    * MD, USA.
    * 
@@ -1522,8 +1214,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MD_EZPASSMD_VALUE = 34; /** - * - * *
    * ME, USA.
    * 
@@ -1532,8 +1222,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_ME_EZPASSME_VALUE = 35; /** - * - * *
    * MI, USA.
    * 
@@ -1542,8 +1230,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD_VALUE = 36; /** - * - * *
    * MI, USA.
    * 
@@ -1552,8 +1238,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG_VALUE = 37; /** - * - * *
    * MI, USA.
    * 
@@ -1562,8 +1246,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_IQ_PROX_CARD_VALUE = 38; /** - * - * *
    * MI, USA.
    * 
@@ -1572,8 +1254,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_MACKINAC_BRIDGE_MAC_PASS_VALUE = 39; /** - * - * *
    * MI, USA.
    * 
@@ -1582,8 +1262,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MI_NEXPRESS_TOLL_VALUE = 40; /** - * - * *
    * MN, USA.
    * 
@@ -1592,8 +1270,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_MN_EZPASSMN_VALUE = 41; /** - * - * *
    * NC, USA.
    * 
@@ -1602,8 +1278,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_EZPASSNC_VALUE = 42; /** - * - * *
    * NC, USA.
    * 
@@ -1612,8 +1286,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_PEACH_PASS_VALUE = 87; /** - * - * *
    * NC, USA.
    * 
@@ -1622,8 +1294,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NC_QUICK_PASS_VALUE = 43; /** - * - * *
    * NH, USA.
    * 
@@ -1632,8 +1302,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NH_EZPASSNH_VALUE = 80; /** - * - * *
    * NJ, USA.
    * 
@@ -1642,8 +1310,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NJ_DOWNBEACH_EXPRESS_PASS_VALUE = 75; /** - * - * *
    * NJ, USA.
    * 
@@ -1652,8 +1318,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NJ_EZPASSNJ_VALUE = 74; /** - * - * *
    * NY, USA.
    * 
@@ -1662,8 +1326,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NY_EXPRESSPASS_VALUE = 76; /** - * - * *
    * NY, USA.
    * 
@@ -1672,8 +1334,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_NY_EZPASSNY_VALUE = 77; /** - * - * *
    * OH, USA.
    * 
@@ -1682,8 +1342,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_OH_EZPASSOH_VALUE = 44; /** - * - * *
    * PA, USA.
    * 
@@ -1692,8 +1350,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_PA_EZPASSPA_VALUE = 45; /** - * - * *
    * RI, USA.
    * 
@@ -1702,8 +1358,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_RI_EZPASSRI_VALUE = 46; /** - * - * *
    * SC, USA.
    * 
@@ -1712,8 +1366,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_SC_PALPASS_VALUE = 47; /** - * - * *
    * TX, USA.
    * 
@@ -1722,8 +1374,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_BANCPASS_VALUE = 48; /** - * - * *
    * TX, USA.
    * 
@@ -1732,8 +1382,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_DEL_RIO_PASS_VALUE = 49; /** - * - * *
    * TX, USA.
    * 
@@ -1742,8 +1390,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EFAST_PASS_VALUE = 50; /** - * - * *
    * TX, USA.
    * 
@@ -1752,8 +1398,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EAGLE_PASS_EXPRESS_CARD_VALUE = 51; /** - * - * *
    * TX, USA.
    * 
@@ -1762,8 +1406,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EPTOLL_VALUE = 52; /** - * - * *
    * TX, USA.
    * 
@@ -1772,8 +1414,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EZ_CROSS_VALUE = 53; /** - * - * *
    * TX, USA.
    * 
@@ -1782,8 +1422,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_EZTAG_VALUE = 54; /** - * - * *
    * TX, USA.
    * 
@@ -1792,8 +1430,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_LAREDO_TRADE_TAG_VALUE = 55; /** - * - * *
    * TX, USA.
    * 
@@ -1802,8 +1438,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_PLUSPASS_VALUE = 56; /** - * - * *
    * TX, USA.
    * 
@@ -1812,8 +1446,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_TOLLTAG_VALUE = 57; /** - * - * *
    * TX, USA.
    * 
@@ -1822,8 +1454,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_TXTAG_VALUE = 58; /** - * - * *
    * TX, USA.
    * 
@@ -1832,8 +1462,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_TX_XPRESS_CARD_VALUE = 59; /** - * - * *
    * UT, USA.
    * 
@@ -1842,8 +1470,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD_VALUE = 60; /** - * - * *
    * VA, USA.
    * 
@@ -1852,8 +1478,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_VA_EZPASSVA_VALUE = 61; /** - * - * *
    * WA, USA.
    * 
@@ -1862,8 +1486,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WA_BREEZEBY_VALUE = 17; /** - * - * *
    * WA, USA.
    * 
@@ -1872,8 +1494,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WA_GOOD_TO_GO_VALUE = 1; /** - * - * *
    * WV, USA.
    * 
@@ -1882,8 +1502,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_EZPASSWV_VALUE = 62; /** - * - * *
    * WV, USA.
    * 
@@ -1892,8 +1510,6 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_MEMORIAL_BRIDGE_TICKETS_VALUE = 63; /** - * - * *
    * WV, USA.
    * 
@@ -1902,6 +1518,7 @@ public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { */ public static final int US_WV_NEWELL_TOLL_BRIDGE_TICKET_VALUE = 64; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1926,227 +1543,138 @@ public static TollPass valueOf(int value) { */ public static TollPass forNumber(int value) { switch (value) { - case 0: - return TOLL_PASS_UNSPECIFIED; - case 82: - return AU_ETOLL_TAG; - case 83: - return AU_EWAY_TAG; - case 2: - return AU_LINKT; - case 3: - return AR_TELEPASE; - case 81: - return BR_AUTO_EXPRESO; - case 7: - return BR_CONECTCAR; - case 8: - return BR_MOVE_MAIS; - case 88: - return BR_PASSA_RAPIDO; - case 9: - return BR_SEM_PARAR; - case 10: - return BR_TAGGY; - case 11: - return BR_VELOE; - case 84: - return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; - case 85: - return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; - case 18: - return CA_US_BLUE_WATER_EDGE_PASS; - case 19: - return CA_US_CONNEXION; - case 20: - return CA_US_NEXUS_CARD; - case 16: - return ID_E_TOLL; - case 78: - return IN_FASTAG; - case 79: - return IN_LOCAL_HP_PLATE_EXEMPT; - case 90: - return MX_IAVE; - case 91: - return MX_PASE; - case 93: - return MX_QUICKPASS; - case 89: - return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; - case 12: - return MX_TAG_IAVE; - case 13: - return MX_TAG_TELEVIA; - case 92: - return MX_TELEVIA; - case 14: - return MX_VIAPASS; - case 21: - return US_AL_FREEDOM_PASS; - case 22: - return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; - case 4: - return US_CA_FASTRAK; - case 86: - return US_CA_FASTRAK_CAV_STICKER; - case 23: - return US_CO_EXPRESSTOLL; - case 24: - return US_CO_GO_PASS; - case 25: - return US_DE_EZPASSDE; - case 65: - return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; - case 66: - return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; - case 67: - return US_FL_EPASS; - case 68: - return US_FL_GIBA_TOLL_PASS; - case 69: - return US_FL_LEEWAY; - case 70: - return US_FL_SUNPASS; - case 71: - return US_FL_SUNPASS_PRO; - case 73: - return US_IL_EZPASSIL; - case 72: - return US_IL_IPASS; - case 26: - return US_IN_EZPASSIN; - case 27: - return US_KS_BESTPASS_HORIZON; - case 28: - return US_KS_KTAG; - case 29: - return US_KS_NATIONALPASS; - case 30: - return US_KS_PREPASS_ELITEPASS; - case 31: - return US_KY_RIVERLINK; - case 32: - return US_LA_GEAUXPASS; - case 33: - return US_LA_TOLL_TAG; - case 6: - return US_MA_EZPASSMA; - case 34: - return US_MD_EZPASSMD; - case 35: - return US_ME_EZPASSME; - case 36: - return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; - case 37: - return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; - case 38: - return US_MI_IQ_PROX_CARD; - case 39: - return US_MI_MACKINAC_BRIDGE_MAC_PASS; - case 40: - return US_MI_NEXPRESS_TOLL; - case 41: - return US_MN_EZPASSMN; - case 42: - return US_NC_EZPASSNC; - case 87: - return US_NC_PEACH_PASS; - case 43: - return US_NC_QUICK_PASS; - case 80: - return US_NH_EZPASSNH; - case 75: - return US_NJ_DOWNBEACH_EXPRESS_PASS; - case 74: - return US_NJ_EZPASSNJ; - case 76: - return US_NY_EXPRESSPASS; - case 77: - return US_NY_EZPASSNY; - case 44: - return US_OH_EZPASSOH; - case 45: - return US_PA_EZPASSPA; - case 46: - return US_RI_EZPASSRI; - case 47: - return US_SC_PALPASS; - case 48: - return US_TX_BANCPASS; - case 49: - return US_TX_DEL_RIO_PASS; - case 50: - return US_TX_EFAST_PASS; - case 51: - return US_TX_EAGLE_PASS_EXPRESS_CARD; - case 52: - return US_TX_EPTOLL; - case 53: - return US_TX_EZ_CROSS; - case 54: - return US_TX_EZTAG; - case 55: - return US_TX_LAREDO_TRADE_TAG; - case 56: - return US_TX_PLUSPASS; - case 57: - return US_TX_TOLLTAG; - case 58: - return US_TX_TXTAG; - case 59: - return US_TX_XPRESS_CARD; - case 60: - return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; - case 61: - return US_VA_EZPASSVA; - case 17: - return US_WA_BREEZEBY; - case 1: - return US_WA_GOOD_TO_GO; - case 62: - return US_WV_EZPASSWV; - case 63: - return US_WV_MEMORIAL_BRIDGE_TICKETS; - case 64: - return US_WV_NEWELL_TOLL_BRIDGE_TICKET; - default: - return null; + case 0: return TOLL_PASS_UNSPECIFIED; + case 82: return AU_ETOLL_TAG; + case 83: return AU_EWAY_TAG; + case 2: return AU_LINKT; + case 3: return AR_TELEPASE; + case 81: return BR_AUTO_EXPRESO; + case 7: return BR_CONECTCAR; + case 8: return BR_MOVE_MAIS; + case 88: return BR_PASSA_RAPIDO; + case 9: return BR_SEM_PARAR; + case 10: return BR_TAGGY; + case 11: return BR_VELOE; + case 84: return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; + case 85: return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; + case 18: return CA_US_BLUE_WATER_EDGE_PASS; + case 19: return CA_US_CONNEXION; + case 20: return CA_US_NEXUS_CARD; + case 16: return ID_E_TOLL; + case 78: return IN_FASTAG; + case 79: return IN_LOCAL_HP_PLATE_EXEMPT; + case 90: return MX_IAVE; + case 91: return MX_PASE; + case 93: return MX_QUICKPASS; + case 89: return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; + case 12: return MX_TAG_IAVE; + case 13: return MX_TAG_TELEVIA; + case 92: return MX_TELEVIA; + case 14: return MX_VIAPASS; + case 21: return US_AL_FREEDOM_PASS; + case 22: return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; + case 4: return US_CA_FASTRAK; + case 86: return US_CA_FASTRAK_CAV_STICKER; + case 23: return US_CO_EXPRESSTOLL; + case 24: return US_CO_GO_PASS; + case 25: return US_DE_EZPASSDE; + case 65: return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; + case 66: return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; + case 67: return US_FL_EPASS; + case 68: return US_FL_GIBA_TOLL_PASS; + case 69: return US_FL_LEEWAY; + case 70: return US_FL_SUNPASS; + case 71: return US_FL_SUNPASS_PRO; + case 73: return US_IL_EZPASSIL; + case 72: return US_IL_IPASS; + case 26: return US_IN_EZPASSIN; + case 27: return US_KS_BESTPASS_HORIZON; + case 28: return US_KS_KTAG; + case 29: return US_KS_NATIONALPASS; + case 30: return US_KS_PREPASS_ELITEPASS; + case 31: return US_KY_RIVERLINK; + case 32: return US_LA_GEAUXPASS; + case 33: return US_LA_TOLL_TAG; + case 6: return US_MA_EZPASSMA; + case 34: return US_MD_EZPASSMD; + case 35: return US_ME_EZPASSME; + case 36: return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; + case 37: return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; + case 38: return US_MI_IQ_PROX_CARD; + case 39: return US_MI_MACKINAC_BRIDGE_MAC_PASS; + case 40: return US_MI_NEXPRESS_TOLL; + case 41: return US_MN_EZPASSMN; + case 42: return US_NC_EZPASSNC; + case 87: return US_NC_PEACH_PASS; + case 43: return US_NC_QUICK_PASS; + case 80: return US_NH_EZPASSNH; + case 75: return US_NJ_DOWNBEACH_EXPRESS_PASS; + case 74: return US_NJ_EZPASSNJ; + case 76: return US_NY_EXPRESSPASS; + case 77: return US_NY_EZPASSNY; + case 44: return US_OH_EZPASSOH; + case 45: return US_PA_EZPASSPA; + case 46: return US_RI_EZPASSRI; + case 47: return US_SC_PALPASS; + case 48: return US_TX_BANCPASS; + case 49: return US_TX_DEL_RIO_PASS; + case 50: return US_TX_EFAST_PASS; + case 51: return US_TX_EAGLE_PASS_EXPRESS_CARD; + case 52: return US_TX_EPTOLL; + case 53: return US_TX_EZ_CROSS; + case 54: return US_TX_EZTAG; + case 55: return US_TX_LAREDO_TRADE_TAG; + case 56: return US_TX_PLUSPASS; + case 57: return US_TX_TOLLTAG; + case 58: return US_TX_TXTAG; + case 59: return US_TX_XPRESS_CARD; + case 60: return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; + case 61: return US_VA_EZPASSVA; + case 17: return US_WA_BREEZEBY; + case 1: return US_WA_GOOD_TO_GO; + case 62: return US_WV_EZPASSWV; + case 63: return US_WV_MEMORIAL_BRIDGE_TICKETS; + case 64: return US_WV_NEWELL_TOLL_BRIDGE_TICKET; + 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< + TollPass> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TollPass findValueByNumber(int number) { + return TollPass.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TollPass findValueByNumber(int number) { - return TollPass.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.routing.v2.TollPassesProto.getDescriptor().getEnumTypes().get(0); } private static final TollPass[] VALUES = values(); - public static TollPass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TollPass 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; @@ -2162,3 +1690,4 @@ private TollPass(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.TollPass) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java new file mode 100644 index 000000000000..514ae2547f4f --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/toll_passes.proto + +package com.google.maps.routing.v2; + +public final class TollPassesProto { + private TollPassesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/toll_passes.pro" + + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + + "ollPassesProtoP\001Z=google.golang.org/genp" + + "roto/googleapis/maps/routing/v2;routing\370" + + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + + "ting::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java similarity index 66% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java index 1b67a78379a8..cdb7fcb40100 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java @@ -1,36 +1,18 @@ -/* - * 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/routing/v2/units.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values that specify the unit of measure used in the display.
  * 
* * Protobuf enum {@code google.maps.routing.v2.Units} */ -public enum Units implements com.google.protobuf.ProtocolMessageEnum { +public enum Units + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -40,8 +22,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum {
    */
   UNITS_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Metric units of measure.
    * 
@@ -50,8 +30,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ METRIC(1), /** - * - * *
    * Imperial (English) units of measure.
    * 
@@ -63,8 +41,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -74,8 +50,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UNITS_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Metric units of measure.
    * 
@@ -84,8 +58,6 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ public static final int METRIC_VALUE = 1; /** - * - * *
    * Imperial (English) units of measure.
    * 
@@ -94,6 +66,7 @@ public enum Units implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPERIAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,49 +91,49 @@ public static Units valueOf(int value) { */ public static Units forNumber(int value) { switch (value) { - case 0: - return UNITS_UNSPECIFIED; - case 1: - return METRIC; - case 2: - return IMPERIAL; - default: - return null; + case 0: return UNITS_UNSPECIFIED; + case 1: return METRIC; + case 2: return IMPERIAL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Units findValueByNumber(int number) { - return Units.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Units> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Units findValueByNumber(int number) { + return Units.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.routing.v2.UnitsProto.getDescriptor().getEnumTypes().get(0); } private static final Units[] VALUES = values(); - public static Units valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Units 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; @@ -176,3 +149,4 @@ private Units(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Units) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java new file mode 100644 index 000000000000..f37ea450c892 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java @@ -0,0 +1,43 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/units.proto + +package com.google.maps.routing.v2; + +public final class UnitsProto { + private UnitsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/units.proto\022\026go" + + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + + "oP\001Z=google.golang.org/genproto/googleap" + + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java similarity index 70% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java index 803f9265f976..ecf3a8c3a540 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.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/routing/v2/vehicle_emission_type.proto package com.google.maps.routing.v2; /** - * - * *
  * A set of values describing the vehicle's emission type.
  * Applies only to the DRIVE travel mode.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.VehicleEmissionType}
  */
-public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEnum {
+public enum VehicleEmissionType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * No emission type specified. Default to GASOLINE.
    * 
@@ -40,8 +22,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ VEHICLE_EMISSION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -50,8 +30,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ GASOLINE(1), /** - * - * *
    * Electricity powered vehicle.
    * 
@@ -60,8 +38,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ ELECTRIC(2), /** - * - * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -70,8 +46,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ HYBRID(3), /** - * - * *
    * Diesel fueled vehicle.
    * 
@@ -83,8 +57,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
    * No emission type specified. Default to GASOLINE.
    * 
@@ -93,8 +65,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int VEHICLE_EMISSION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -103,8 +73,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int GASOLINE_VALUE = 1; /** - * - * *
    * Electricity powered vehicle.
    * 
@@ -113,8 +81,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int ELECTRIC_VALUE = 2; /** - * - * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -123,8 +89,6 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int HYBRID_VALUE = 3; /** - * - * *
    * Diesel fueled vehicle.
    * 
@@ -133,6 +97,7 @@ public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEn */ public static final int DIESEL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -157,18 +122,12 @@ public static VehicleEmissionType valueOf(int value) { */ public static VehicleEmissionType forNumber(int value) { switch (value) { - case 0: - return VEHICLE_EMISSION_TYPE_UNSPECIFIED; - case 1: - return GASOLINE; - case 2: - return ELECTRIC; - case 3: - return HYBRID; - case 4: - return DIESEL; - default: - return null; + case 0: return VEHICLE_EMISSION_TYPE_UNSPECIFIED; + case 1: return GASOLINE; + case 2: return ELECTRIC; + case 3: return HYBRID; + case 4: return DIESEL; + default: return null; } } @@ -176,31 +135,29 @@ public static VehicleEmissionType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VehicleEmissionType findValueByNumber(int number) { - return VehicleEmissionType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VehicleEmissionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VehicleEmissionType findValueByNumber(int number) { + return VehicleEmissionType.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.routing.v2.VehicleEmissionTypeProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor().getEnumTypes().get(0); } private static final VehicleEmissionType[] VALUES = values(); @@ -208,7 +165,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VehicleEmissionType 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; @@ -224,3 +182,4 @@ private VehicleEmissionType(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.VehicleEmissionType) } + diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java new file mode 100644 index 000000000000..675414ec1b98 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java @@ -0,0 +1,45 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/vehicle_emission_type.proto + +package com.google.maps.routing.v2; + +public final class VehicleEmissionTypeProto { + private VehicleEmissionTypeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/maps/routing/v2/vehicle_emissio" + + "n_type.proto\022\026google.maps.routing.v2*p\n\023" + + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + + "oogle.maps.routing.v2B\030VehicleEmissionTy" + + "peProtoP\001Z=google.golang.org/genproto/go" + + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + + "2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java similarity index 65% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java index 6a11f5ebfb4d..647651f4e449 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates the vehicle information, such as the license plate last
  * character.
@@ -28,86 +11,74 @@
  *
  * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
  */
-public final class VehicleInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VehicleInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.VehicleInfo)
     VehicleInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VehicleInfo.newBuilder() to construct.
   private VehicleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VehicleInfo() {
     emissionType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VehicleInfo();
   }
 
   @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.routing.v2.VehicleInfoProto
-        .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.VehicleInfoProto
-        .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.VehicleInfo.class,
-            com.google.maps.routing.v2.VehicleInfo.Builder.class);
+            com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
   }
 
   public static final int EMISSION_TYPE_FIELD_NUMBER = 2;
   private int emissionType_;
   /**
-   *
-   *
    * 
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override - public int getEmissionTypeValue() { + @java.lang.Override public int getEmissionTypeValue() { return emissionType_; } /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ - @java.lang.Override - public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { + @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = - com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,10 +90,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (emissionType_ - != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, emissionType_); } getUnknownFields().writeTo(output); @@ -134,10 +104,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (emissionType_ - != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, emissionType_); + if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, emissionType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,7 +116,7 @@ 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.routing.v2.VehicleInfo)) { return super.equals(obj); @@ -173,104 +142,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.VehicleInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.VehicleInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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; } /** - * - * *
    * Encapsulates the vehicle information, such as the license plate last
    * character.
@@ -278,32 +240,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
    */
-  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.routing.v2.VehicleInfo)
       com.google.maps.routing.v2.VehicleInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.VehicleInfo.class,
-              com.google.maps.routing.v2.VehicleInfo.Builder.class);
+              com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.VehicleInfo.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();
@@ -313,9 +276,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.VehicleInfoProto
-          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
@@ -334,8 +297,7 @@ public com.google.maps.routing.v2.VehicleInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.VehicleInfo buildPartial() {
-      com.google.maps.routing.v2.VehicleInfo result =
-          new com.google.maps.routing.v2.VehicleInfo(this);
+      com.google.maps.routing.v2.VehicleInfo result = new com.google.maps.routing.v2.VehicleInfo(this);
       result.emissionType_ = emissionType_;
       onBuilt();
       return result;
@@ -345,39 +307,38 @@ public com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo) {
-        return mergeFrom((com.google.maps.routing.v2.VehicleInfo) other);
+        return mergeFrom((com.google.maps.routing.v2.VehicleInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,19 +376,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16:
-              {
-                emissionType_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 16: {
+              emissionType_ = input.readEnum();
+
+              break;
+            } // case 16
+            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) {
@@ -440,69 +399,55 @@ public Builder mergeFrom(
 
     private int emissionType_ = 0;
     /**
-     *
-     *
      * 
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override - public int getEmissionTypeValue() { + @java.lang.Override public int getEmissionTypeValue() { return emissionType_; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @param value The enum numeric value on the wire for emissionType to set. * @return This builder for chaining. */ public Builder setEmissionTypeValue(int value) { - + emissionType_ = value; onChanged(); return this; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = - com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @param value The emissionType to set. * @return This builder for chaining. */ @@ -510,32 +455,29 @@ public Builder setEmissionType(com.google.maps.routing.v2.VehicleEmissionType va if (value == null) { throw new NullPointerException(); } - + emissionType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return This builder for chaining. */ public Builder clearEmissionType() { - + emissionType_ = 0; 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); } @@ -545,12 +487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.VehicleInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.VehicleInfo) private static final com.google.maps.routing.v2.VehicleInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.VehicleInfo(); } @@ -559,27 +501,27 @@ public static com.google.maps.routing.v2.VehicleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VehicleInfo 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 VehicleInfo 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; @@ -594,4 +536,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.VehicleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java similarity index 57% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java index b5cfc41e2b51..ab13420f1dfa 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java @@ -1,51 +1,29 @@ -/* - * 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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; -public interface VehicleInfoOrBuilder - extends +public interface VehicleInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.VehicleInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The enum numeric value on the wire for emissionType. */ int getEmissionTypeValue(); /** - * - * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; - * * @return The emissionType. */ com.google.maps.routing.v2.VehicleEmissionType getEmissionType(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java new file mode 100644 index 000000000000..c3eebf302c3e --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/vehicle_info.proto + +package com.google.maps.routing.v2; + +public final class VehicleInfoProto { + private VehicleInfoProto() {} + 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_routing_v2_VehicleInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + + "oto\022\026google.maps.routing.v2\0322google/maps" + + "/routing/v2/vehicle_emission_type.proto\"" + + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + + "google.maps.routing.v2.VehicleEmissionTy" + + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + + "leInfoProtoP\001Z=google.golang.org/genprot" + + "o/googleapis/maps/routing/v2;routing\370\001\001\242" + + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + + "g::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_VehicleInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_VehicleInfo_descriptor, + new java.lang.String[] { "EmissionType", }); + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java similarity index 74% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java index cd404bd844db..412d2755ce5f 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.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/routing/v2/waypoint.proto package com.google.maps.routing.v2; /** - * - * *
  * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
  * route, and include intermediate stops along the route.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Waypoint}
  */
-public final class Waypoint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Waypoint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Waypoint)
     WaypointOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Waypoint.newBuilder() to construct.
   private Waypoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Waypoint() {}
+  private Waypoint() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Waypoint();
   }
 
   @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.routing.v2.WaypointProto
-        .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.WaypointProto
-        .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.Waypoint.class,
-            com.google.maps.routing.v2.Waypoint.Builder.class);
+            com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
   }
 
   private int locationTypeCase_ = 0;
   private java.lang.Object locationType_;
-
   public enum LocationTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION(1),
     PLACE_ID(2),
     LOCATIONTYPE_NOT_SET(0);
     private final int value;
-
     private LocationTypeCase(int value) {
       this.value = value;
     }
@@ -93,37 +72,31 @@ public static LocationTypeCase valueOf(int value) {
 
     public static LocationTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return LOCATION;
-        case 2:
-          return PLACE_ID;
-        case 0:
-          return LOCATIONTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return LOCATION;
+        case 2: return PLACE_ID;
+        case 0: return LOCATIONTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationTypeCase getLocationTypeCase() {
-    return LocationTypeCase.forNumber(locationTypeCase_);
+  public LocationTypeCase
+  getLocationTypeCase() {
+    return LocationTypeCase.forNumber(
+        locationTypeCase_);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -131,27 +104,22 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ @java.lang.Override public com.google.maps.routing.v2.Location getLocation() { if (locationTypeCase_ == 1) { - return (com.google.maps.routing.v2.Location) locationType_; + return (com.google.maps.routing.v2.Location) locationType_; } return com.google.maps.routing.v2.Location.getDefaultInstance(); } /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -162,35 +130,29 @@ public com.google.maps.routing.v2.Location getLocation() {
   @java.lang.Override
   public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
     if (locationTypeCase_ == 1) {
-      return (com.google.maps.routing.v2.Location) locationType_;
+       return (com.google.maps.routing.v2.Location) locationType_;
     }
     return com.google.maps.routing.v2.Location.getDefaultInstance();
   }
 
   public static final int PLACE_ID_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The placeId. */ public java.lang.String getPlaceId() { @@ -201,7 +163,8 @@ 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -210,24 +173,23 @@ public java.lang.String getPlaceId() { } } /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -240,8 +202,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { public static final int VIA_FIELD_NUMBER = 3; private boolean via_; /** - * - * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -257,7 +217,6 @@ public com.google.protobuf.ByteString getPlaceIdBytes() {
    * 
* * bool via = 3; - * * @return The via. */ @java.lang.Override @@ -268,8 +227,6 @@ public boolean getVia() { public static final int VEHICLE_STOPOVER_FIELD_NUMBER = 4; private boolean vehicleStopover_; /** - * - * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -279,7 +236,6 @@ public boolean getVia() {
    * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ @java.lang.Override @@ -290,8 +246,6 @@ public boolean getVehicleStopover() { public static final int SIDE_OF_ROAD_FIELD_NUMBER = 5; private boolean sideOfRoad_; /** - * - * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -302,7 +256,6 @@ public boolean getVehicleStopover() {
    * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ @java.lang.Override @@ -311,7 +264,6 @@ public boolean getSideOfRoad() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +275,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 (locationTypeCase_ == 1) { output.writeMessage(1, (com.google.maps.routing.v2.Location) locationType_); } @@ -349,21 +302,23 @@ public int getSerializedSize() { size = 0; if (locationTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.maps.routing.v2.Location) locationType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.maps.routing.v2.Location) locationType_); } if (locationTypeCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationType_); } if (via_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, via_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, via_); } if (vehicleStopover_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, vehicleStopover_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, vehicleStopover_); } if (sideOfRoad_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, sideOfRoad_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, sideOfRoad_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,23 +328,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.routing.v2.Waypoint)) { return super.equals(obj); } com.google.maps.routing.v2.Waypoint other = (com.google.maps.routing.v2.Waypoint) obj; - if (getVia() != other.getVia()) return false; - if (getVehicleStopover() != other.getVehicleStopover()) return false; - if (getSideOfRoad() != other.getSideOfRoad()) return false; + if (getVia() + != other.getVia()) return false; + if (getVehicleStopover() + != other.getVehicleStopover()) return false; + if (getSideOfRoad() + != other.getSideOfRoad()) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; break; case 2: - if (!getPlaceId().equals(other.getPlaceId())) return false; + if (!getPlaceId() + .equals(other.getPlaceId())) return false; break; case 0: default: @@ -406,11 +366,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVia()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVia()); hash = (37 * hash) + VEHICLE_STOPOVER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVehicleStopover()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVehicleStopover()); hash = (37 * hash) + SIDE_OF_ROAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSideOfRoad()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSideOfRoad()); switch (locationTypeCase_) { case 1: hash = (37 * hash) + LOCATION_FIELD_NUMBER; @@ -428,103 +391,97 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Waypoint parseFrom(java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Waypoint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(com.google.protobuf.ByteString data) + public static com.google.maps.routing.v2.Waypoint parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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; } /** - * - * *
    * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
    * route, and include intermediate stops along the route.
@@ -532,32 +489,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.maps.routing.v2.Waypoint}
    */
-  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.routing.v2.Waypoint)
       com.google.maps.routing.v2.WaypointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Waypoint.class,
-              com.google.maps.routing.v2.Waypoint.Builder.class);
+              com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Waypoint.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();
@@ -576,9 +534,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.maps.routing.v2.WaypointProto
-          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
@@ -620,39 +578,38 @@ public com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint) {
-        return mergeFrom((com.google.maps.routing.v2.Waypoint) other);
+        return mergeFrom((com.google.maps.routing.v2.Waypoint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -671,22 +628,19 @@ public Builder mergeFrom(com.google.maps.routing.v2.Waypoint other) {
         setSideOfRoad(other.getSideOfRoad());
       }
       switch (other.getLocationTypeCase()) {
-        case LOCATION:
-          {
-            mergeLocation(other.getLocation());
-            break;
-          }
-        case PLACE_ID:
-          {
-            locationTypeCase_ = 2;
-            locationType_ = other.locationType_;
-            onChanged();
-            break;
-          }
-        case LOCATIONTYPE_NOT_SET:
-          {
-            break;
-          }
+        case LOCATION: {
+          mergeLocation(other.getLocation());
+          break;
+        }
+        case PLACE_ID: {
+          locationTypeCase_ = 2;
+          locationType_ = other.locationType_;
+          onChanged();
+          break;
+        }
+        case LOCATIONTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -714,44 +668,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry);
-                locationTypeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                locationTypeCase_ = 2;
-                locationType_ = s;
-                break;
-              } // case 18
-            case 24:
-              {
-                via_ = input.readBool();
+            case 10: {
+              input.readMessage(
+                  getLocationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              locationTypeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              locationTypeCase_ = 2;
+              locationType_ = s;
+              break;
+            } // case 18
+            case 24: {
+              via_ = input.readBool();
 
-                break;
-              } // case 24
-            case 32:
-              {
-                vehicleStopover_ = input.readBool();
+              break;
+            } // case 24
+            case 32: {
+              vehicleStopover_ = input.readBool();
 
-                break;
-              } // case 32
-            case 40:
-              {
-                sideOfRoad_ = input.readBool();
+              break;
+            } // case 32
+            case 40: {
+              sideOfRoad_ = input.readBool();
 
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 40
+            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) {
@@ -761,12 +711,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int locationTypeCase_ = 0;
     private java.lang.Object locationType_;
-
-    public LocationTypeCase getLocationTypeCase() {
-      return LocationTypeCase.forNumber(locationTypeCase_);
+    public LocationTypeCase
+        getLocationTypeCase() {
+      return LocationTypeCase.forNumber(
+          locationTypeCase_);
     }
 
     public Builder clearLocationType() {
@@ -776,21 +726,16 @@ public Builder clearLocationType() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
-        locationBuilder_;
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> locationBuilder_;
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -798,15 +743,12 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** - * - * *
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ @java.lang.Override @@ -824,8 +766,6 @@ public com.google.maps.routing.v2.Location getLocation() { } } /** - * - * *
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -847,8 +787,6 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -856,7 +794,8 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location location = 1;
      */
-    public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setLocation(
+        com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (locationBuilder_ == null) {
         locationType_ = builderForValue.build();
         onChanged();
@@ -867,8 +806,6 @@ public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -878,13 +815,10 @@ public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderFo
      */
     public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       if (locationBuilder_ == null) {
-        if (locationTypeCase_ == 1
-            && locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
-          locationType_ =
-              com.google.maps.routing.v2.Location.newBuilder(
-                      (com.google.maps.routing.v2.Location) locationType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (locationTypeCase_ == 1 &&
+            locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
+          locationType_ = com.google.maps.routing.v2.Location.newBuilder((com.google.maps.routing.v2.Location) locationType_)
+              .mergeFrom(value).buildPartial();
         } else {
           locationType_ = value;
         }
@@ -900,8 +834,6 @@ public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -926,8 +858,6 @@ public Builder clearLocation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -939,8 +869,6 @@ public com.google.maps.routing.v2.Location.Builder getLocationBuilder() {
       return getLocationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -960,8 +888,6 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -970,39 +896,30 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
      * .google.maps.routing.v2.Location location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location,
-            com.google.maps.routing.v2.Location.Builder,
-            com.google.maps.routing.v2.LocationOrBuilder>
+        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
         if (!(locationTypeCase_ == 1)) {
           locationType_ = com.google.maps.routing.v2.Location.getDefaultInstance();
         }
-        locationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.maps.routing.v2.Location,
-                com.google.maps.routing.v2.Location.Builder,
-                com.google.maps.routing.v2.LocationOrBuilder>(
+        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
                 (com.google.maps.routing.v2.Location) locationType_,
                 getParentForChildren(),
                 isClean());
         locationType_ = null;
       }
       locationTypeCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return locationBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ @java.lang.Override @@ -1010,14 +927,11 @@ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return The placeId. */ @java.lang.Override @@ -1027,7 +941,8 @@ public java.lang.String getPlaceId() { ref = locationType_; } 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -1038,25 +953,24 @@ public java.lang.String getPlaceId() { } } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString getPlaceIdBytes() { + public com.google.protobuf.ByteString + getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -1066,35 +980,30 @@ public com.google.protobuf.ByteString getPlaceIdBytes() { } } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @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(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @return This builder for chaining. */ public Builder clearPlaceId() { @@ -1106,32 +1015,28 @@ public Builder clearPlaceId() { return this; } /** - * - * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; - * * @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); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private boolean via_; + private boolean via_ ; /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1147,7 +1052,6 @@ public Builder setPlaceIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool via = 3; - * * @return The via. */ @java.lang.Override @@ -1155,8 +1059,6 @@ public boolean getVia() { return via_; } /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1172,19 +1074,16 @@ public boolean getVia() {
      * 
* * bool via = 3; - * * @param value The via to set. * @return This builder for chaining. */ public Builder setVia(boolean value) { - + via_ = value; onChanged(); return this; } /** - * - * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1200,20 +1099,17 @@ public Builder setVia(boolean value) {
      * 
* * bool via = 3; - * * @return This builder for chaining. */ public Builder clearVia() { - + via_ = false; onChanged(); return this; } - private boolean vehicleStopover_; + private boolean vehicleStopover_ ; /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1223,7 +1119,6 @@ public Builder clearVia() {
      * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ @java.lang.Override @@ -1231,8 +1126,6 @@ public boolean getVehicleStopover() { return vehicleStopover_; } /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1242,19 +1135,16 @@ public boolean getVehicleStopover() {
      * 
* * bool vehicle_stopover = 4; - * * @param value The vehicleStopover to set. * @return This builder for chaining. */ public Builder setVehicleStopover(boolean value) { - + vehicleStopover_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1264,20 +1154,17 @@ public Builder setVehicleStopover(boolean value) {
      * 
* * bool vehicle_stopover = 4; - * * @return This builder for chaining. */ public Builder clearVehicleStopover() { - + vehicleStopover_ = false; onChanged(); return this; } - private boolean sideOfRoad_; + private boolean sideOfRoad_ ; /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1288,7 +1175,6 @@ public Builder clearVehicleStopover() {
      * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ @java.lang.Override @@ -1296,8 +1182,6 @@ public boolean getSideOfRoad() { return sideOfRoad_; } /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1308,19 +1192,16 @@ public boolean getSideOfRoad() {
      * 
* * bool side_of_road = 5; - * * @param value The sideOfRoad to set. * @return This builder for chaining. */ public Builder setSideOfRoad(boolean value) { - + sideOfRoad_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1331,18 +1212,17 @@ public Builder setSideOfRoad(boolean value) {
      * 
* * bool side_of_road = 5; - * * @return This builder for chaining. */ public Builder clearSideOfRoad() { - + sideOfRoad_ = 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); } @@ -1352,12 +1232,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Waypoint) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Waypoint) private static final com.google.maps.routing.v2.Waypoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Waypoint(); } @@ -1366,27 +1246,27 @@ public static com.google.maps.routing.v2.Waypoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Waypoint 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 Waypoint 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; @@ -1401,4 +1281,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Waypoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java similarity index 81% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java index 01e9e24bfa2b..b5fe89a563b7 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java @@ -1,57 +1,33 @@ -/* - * 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/routing/v2/waypoint.proto package com.google.maps.routing.v2; -public interface WaypointOrBuilder - extends +public interface WaypointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Waypoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; - * * @return The location. */ com.google.maps.routing.v2.Location getLocation(); /** - * - * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -62,45 +38,35 @@ public interface WaypointOrBuilder
   com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return Whether the placeId field is set. */ boolean hasPlaceId(); /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The placeId. */ java.lang.String getPlaceId(); /** - * - * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; - * * @return The bytes for placeId. */ - com.google.protobuf.ByteString getPlaceIdBytes(); + com.google.protobuf.ByteString + getPlaceIdBytes(); /** - * - * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -116,14 +82,11 @@ public interface WaypointOrBuilder
    * 
* * bool via = 3; - * * @return The via. */ boolean getVia(); /** - * - * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -133,14 +96,11 @@ public interface WaypointOrBuilder
    * 
* * bool vehicle_stopover = 4; - * * @return The vehicleStopover. */ boolean getVehicleStopover(); /** - * - * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -151,7 +111,6 @@ public interface WaypointOrBuilder
    * 
* * bool side_of_road = 5; - * * @return The sideOfRoad. */ boolean getSideOfRoad(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java new file mode 100644 index 000000000000..06d30c201f06 --- /dev/null +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java @@ -0,0 +1,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/maps/routing/v2/waypoint.proto + +package com.google.maps.routing.v2; + +public final class WaypointProto { + private WaypointProto() {} + 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_routing_v2_Waypoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + + "\026google.maps.routing.v2\032%google/maps/rou" + + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + + "gle.golang.org/genproto/googleapis/maps/" + + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + + "\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.LocationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Waypoint_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Waypoint_descriptor, + new java.lang.String[] { "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", }); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto similarity index 96% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto index 3a904ef8995a..d2d241c05eb7 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto +++ b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto @@ -160,10 +160,8 @@ message ComputeRoutesRequest { // Optional. Specifies how to compute the route. The server // attempts to use the selected routing preference to compute the route. If // the routing preference results in an error or an extra long latency, then - // an error is returned. In the future, we might implement a fallback - // mechanism to use a different option when the preferred option does not give - // a valid result. You can specify this option only when the `travel_mode` is - // `DRIVE` or `TWO_WHEELER`, otherwise the request fails. + // an error is returned. You can specify this option only when the + // `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails. RoutingPreference routing_preference = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -254,10 +252,8 @@ message ComputeRouteMatrixRequest { // Optional. Specifies how to compute the route. The server attempts to use // the selected routing preference to compute the route. If the routing // preference results in an error or an extra long latency, an error is - // returned. In the future, we might implement a fallback mechanism to use a - // different option when the preferred option does not give a valid result. - // You can specify this option only when the `travel_mode` is `DRIVE` or - // `TWO_WHEELER`, otherwise the request fails. + // returned. You can specify this option only when the `travel_mode` is + // `DRIVE` or `TWO_WHEELER`, otherwise the request fails. RoutingPreference routing_preference = 4 [(google.api.field_behavior) = OPTIONAL]; diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto similarity index 100% rename from java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto rename to owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto From e59b02285e389c680c48264300ba70bc0041d861 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 14 Dec 2022 00:59:21 +0000 Subject: [PATCH 4/4] =?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 --- .../google/maps/routing/v2/RoutesClient.java | 0 .../maps/routing/v2/RoutesSettings.java | 1 - .../maps/routing/v2/gapic_metadata.json | 0 .../google/maps/routing/v2/package-info.java | 0 .../v2/stub/GrpcRoutesCallableFactory.java | 0 .../maps/routing/v2/stub/GrpcRoutesStub.java | 0 .../stub/HttpJsonRoutesCallableFactory.java | 0 .../routing/v2/stub/HttpJsonRoutesStub.java | 0 .../maps/routing/v2/stub/RoutesStub.java | 0 .../routing/v2/stub/RoutesStubSettings.java | 0 .../google/maps/routing/v2/MockRoutes.java | 0 .../maps/routing/v2/MockRoutesImpl.java | 0 .../routing/v2/RoutesClientHttpJsonTest.java | 0 .../maps/routing/v2/RoutesClientTest.java | 0 .../google/maps/routing/v2/RoutesGrpc.java | 327 +-- .../routing/v2/ComputeRouteMatrixRequest.java | 1039 +++++++--- .../ComputeRouteMatrixRequestOrBuilder.java | 139 +- .../maps/routing/v2/ComputeRoutesRequest.java | 1838 +++++++++++------ .../v2/ComputeRoutesRequestOrBuilder.java | 254 ++- .../routing/v2/ComputeRoutesResponse.java | 494 +++-- .../v2/ComputeRoutesResponseOrBuilder.java | 45 +- .../google/maps/routing/v2/FallbackInfo.java | 364 ++-- .../routing/v2/FallbackInfoOrBuilder.java | 30 +- .../maps/routing/v2/FallbackInfoProto.java | 74 + .../maps/routing/v2/FallbackReason.java | 82 +- .../maps/routing/v2/FallbackRoutingMode.java | 77 +- .../com/google/maps/routing/v2/Location.java | 387 ++-- .../maps/routing/v2/LocationOrBuilder.java | 34 +- .../google/maps/routing/v2/LocationProto.java | 75 + .../com/google/maps/routing/v2/Maneuver.java | 192 +- .../google/maps/routing/v2/ManeuverProto.java | 61 + .../routing/v2/NavigationInstruction.java | 383 ++-- .../v2/NavigationInstructionOrBuilder.java | 33 +- .../v2/NavigationInstructionProto.java | 73 + .../com/google/maps/routing/v2/Polyline.java | 472 +++-- .../maps/routing/v2/PolylineEncoding.java | 82 +- .../maps/routing/v2/PolylineOrBuilder.java | 38 +- .../google/maps/routing/v2/PolylineProto.java | 78 + .../maps/routing/v2/PolylineQuality.java | 82 +- .../com/google/maps/routing/v2/Route.java | 1232 +++++++---- .../google/maps/routing/v2/RouteLabel.java | 89 +- .../maps/routing/v2/RouteLabelProto.java | 55 + .../com/google/maps/routing/v2/RouteLeg.java | 941 ++++++--- .../maps/routing/v2/RouteLegOrBuilder.java | 87 +- .../google/maps/routing/v2/RouteLegStep.java | 829 +++++--- .../routing/v2/RouteLegStepOrBuilder.java | 69 +- .../v2/RouteLegStepTravelAdvisory.java | 457 ++-- .../RouteLegStepTravelAdvisoryOrBuilder.java | 33 +- .../routing/v2/RouteLegTravelAdvisory.java | 537 +++-- .../v2/RouteLegTravelAdvisoryOrBuilder.java | 41 +- .../routing/v2/RouteMatrixDestination.java | 381 ++-- .../v2/RouteMatrixDestinationOrBuilder.java | 35 +- .../maps/routing/v2/RouteMatrixElement.java | 836 +++++--- .../v2/RouteMatrixElementCondition.java | 77 +- .../v2/RouteMatrixElementOrBuilder.java | 79 +- .../maps/routing/v2/RouteMatrixOrigin.java | 508 +++-- .../v2/RouteMatrixOriginOrBuilder.java | 55 +- .../maps/routing/v2/RouteModifiers.java | 605 ++++-- .../routing/v2/RouteModifiersOrBuilder.java | 56 +- .../maps/routing/v2/RouteModifiersProto.java | 84 + .../maps/routing/v2/RouteOrBuilder.java | 134 +- .../google/maps/routing/v2/RouteProto.java | 219 ++ .../maps/routing/v2/RouteTravelAdvisory.java | 567 +++-- .../v2/RouteTravelAdvisoryOrBuilder.java | 44 +- .../maps/routing/v2/RouteTravelMode.java | 96 +- .../maps/routing/v2/RouteTravelModeProto.java | 55 + .../maps/routing/v2/RoutesServiceProto.java | 263 +++ .../maps/routing/v2/RoutingPreference.java | 87 +- .../routing/v2/RoutingPreferenceProto.java | 56 + .../maps/routing/v2/SpeedReadingInterval.java | 458 ++-- .../v2/SpeedReadingIntervalOrBuilder.java | 36 +- .../routing/v2/SpeedReadingIntervalProto.java | 77 + .../com/google/maps/routing/v2/TollInfo.java | 387 ++-- .../maps/routing/v2/TollInfoOrBuilder.java | 37 +- .../google/maps/routing/v2/TollInfoProto.java | 71 + .../com/google/maps/routing/v2/TollPass.java | 703 +++++-- .../maps/routing/v2/TollPassesProto.java | 107 + .../com/google/maps/routing/v2/Units.java | 82 +- .../google/maps/routing/v2/UnitsProto.java | 54 + .../maps/routing/v2/VehicleEmissionType.java | 95 +- .../routing/v2/VehicleEmissionTypeProto.java | 56 + .../google/maps/routing/v2/VehicleInfo.java | 298 +-- .../maps/routing/v2/VehicleInfoOrBuilder.java | 24 +- .../maps/routing/v2/VehicleInfoProto.java | 73 + .../com/google/maps/routing/v2/Waypoint.java | 576 ++++-- .../maps/routing/v2/WaypointOrBuilder.java | 47 +- .../google/maps/routing/v2/WaypointProto.java | 74 + .../maps/routing/v2/fallback_info.proto | 0 .../google/maps/routing/v2/location.proto | 0 .../google/maps/routing/v2/maneuver.proto | 0 .../routing/v2/navigation_instruction.proto | 0 .../google/maps/routing/v2/polyline.proto | 0 .../proto/google/maps/routing/v2/route.proto | 0 .../google/maps/routing/v2/route_label.proto | 0 .../maps/routing/v2/route_modifiers.proto | 0 .../maps/routing/v2/route_travel_mode.proto | 0 .../maps/routing/v2/routes_service.proto | 0 .../maps/routing/v2/routing_preference.proto | 0 .../routing/v2/speed_reading_interval.proto | 0 .../google/maps/routing/v2/toll_info.proto | 0 .../google/maps/routing/v2/toll_passes.proto | 0 .../proto/google/maps/routing/v2/units.proto | 0 .../routing/v2/vehicle_emission_type.proto | 0 .../google/maps/routing/v2/vehicle_info.proto | 0 .../google/maps/routing/v2/waypoint.proto | 0 .../maps/routing/v2/FallbackInfoProto.java | 61 - .../google/maps/routing/v2/LocationProto.java | 60 - .../google/maps/routing/v2/ManeuverProto.java | 50 - .../v2/NavigationInstructionProto.java | 58 - .../google/maps/routing/v2/PolylineProto.java | 63 - .../maps/routing/v2/RouteLabelProto.java | 44 - .../maps/routing/v2/RouteModifiersProto.java | 64 - .../google/maps/routing/v2/RouteProto.java | 176 -- .../maps/routing/v2/RouteTravelModeProto.java | 44 - .../maps/routing/v2/RoutesServiceProto.java | 221 -- .../routing/v2/RoutingPreferenceProto.java | 45 - .../routing/v2/SpeedReadingIntervalProto.java | 60 - .../google/maps/routing/v2/TollInfoProto.java | 56 - .../maps/routing/v2/TollPassesProto.java | 96 - .../google/maps/routing/v2/UnitsProto.java | 43 - .../routing/v2/VehicleEmissionTypeProto.java | 45 - .../maps/routing/v2/VehicleInfoProto.java | 58 - .../google/maps/routing/v2/WaypointProto.java | 59 - 123 files changed, 13018 insertions(+), 6901 deletions(-) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java (99%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java (68%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java (68%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java (68%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java (81%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java (72%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java (73%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java (77%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java (74%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java (63%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java (70%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java (69%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java (74%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java (71%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java (80%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java (71%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java (88%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java (73%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java (86%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java (76%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java (83%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java (78%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java (87%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java (61%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java (52%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java (71%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java (88%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java (61%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java (54%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java (85%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java (89%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java (78%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java (87%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java (71%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java (77%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java (72%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java (70%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java (77%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java (75%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java (80%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java (66%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java (70%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java (65%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java (57%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java (74%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java (81%) create mode 100644 java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto (100%) rename {owl-bot-staging/java-maps-routing/v2 => java-maps-routing}/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto (100%) delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java delete mode 100644 owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesClient.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java similarity index 99% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java index 385c731cf93f..1e4eae9ddd14 100644 --- a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java +++ b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/RoutesSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; -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.routing.v2.stub.RoutesStubSettings; diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/gapic_metadata.json diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/package-info.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesCallableFactory.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/GrpcRoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesCallableFactory.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/HttpJsonRoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStub.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java rename to java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/RoutesStubSettings.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutes.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/MockRoutesImpl.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientHttpJsonTest.java diff --git a/owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java b/java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java rename to java-maps-routing/google-maps-routing/src/test/java/com/google/maps/routing/v2/RoutesClientTest.java diff --git a/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java b/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java similarity index 68% rename from owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java rename to java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java index 15ebf2b95ac9..c58e60777cda 100644 --- a/owl-bot-staging/java-maps-routing/v2/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java +++ b/java-maps-routing/grpc-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesGrpc.java @@ -1,8 +1,25 @@ +/* + * 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.routing.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Routes API.
  * 
@@ -18,120 +35,148 @@ private RoutesGrpc() {} public static final String SERVICE_NAME = "google.maps.routing.v2.Routes"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getComputeRoutesMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRoutes", requestType = com.google.maps.routing.v2.ComputeRoutesRequest.class, responseType = com.google.maps.routing.v2.ComputeRoutesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getComputeRoutesMethod() { - io.grpc.MethodDescriptor getComputeRoutesMethod; + public static io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse> + getComputeRoutesMethod; if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRoutesMethod = RoutesGrpc.getComputeRoutesMethod) == null) { - RoutesGrpc.getComputeRoutesMethod = getComputeRoutesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) - .build(); + RoutesGrpc.getComputeRoutesMethod = + getComputeRoutesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRoutes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRoutesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRoutes")) + .build(); } } } return getComputeRoutesMethod; } - private static volatile io.grpc.MethodDescriptor getComputeRouteMatrixMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComputeRouteMatrix", requestType = com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, responseType = com.google.maps.routing.v2.RouteMatrixElement.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getComputeRouteMatrixMethod() { - io.grpc.MethodDescriptor getComputeRouteMatrixMethod; + public static io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod() { + io.grpc.MethodDescriptor< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement> + getComputeRouteMatrixMethod; if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { synchronized (RoutesGrpc.class) { if ((getComputeRouteMatrixMethod = RoutesGrpc.getComputeRouteMatrixMethod) == null) { - RoutesGrpc.getComputeRouteMatrixMethod = getComputeRouteMatrixMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) - .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) - .build(); + RoutesGrpc.getComputeRouteMatrixMethod = + getComputeRouteMatrixMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComputeRouteMatrix")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.ComputeRouteMatrixRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.maps.routing.v2.RouteMatrixElement.getDefaultInstance())) + .setSchemaDescriptor(new RoutesMethodDescriptorSupplier("ComputeRouteMatrix")) + .build(); } } } return getComputeRouteMatrixMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static RoutesStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesStub(channel, callOptions); + } + }; return RoutesStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static RoutesBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static RoutesBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesBlockingStub(channel, callOptions); + } + }; return RoutesBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static RoutesFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static RoutesFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RoutesFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RoutesFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RoutesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RoutesFutureStub(channel, callOptions); + } + }; return RoutesFutureStub.newStub(factory, channel); } /** + * + * *
    * The Routes API.
    * 
*/ - public static abstract class RoutesImplBase implements io.grpc.BindableService { + public abstract static class RoutesImplBase implements io.grpc.BindableService { /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -165,12 +210,17 @@ public static abstract class RoutesImplBase implements io.grpc.BindableService {
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRoutesMethod(), responseObserver); + public void computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getComputeRoutesMethod(), responseObserver); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -204,49 +254,55 @@ public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest reques
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getComputeRouteMatrixMethod(), responseObserver); + public void computeRouteMatrix( + com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getComputeRouteMatrixMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getComputeRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRoutesRequest, - com.google.maps.routing.v2.ComputeRoutesResponse>( - this, METHODID_COMPUTE_ROUTES))) + getComputeRoutesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRoutesRequest, + com.google.maps.routing.v2.ComputeRoutesResponse>( + this, METHODID_COMPUTE_ROUTES))) .addMethod( - getComputeRouteMatrixMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.maps.routing.v2.ComputeRouteMatrixRequest, - com.google.maps.routing.v2.RouteMatrixElement>( - this, METHODID_COMPUTE_ROUTE_MATRIX))) + getComputeRouteMatrixMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.maps.routing.v2.ComputeRouteMatrixRequest, + com.google.maps.routing.v2.RouteMatrixElement>( + this, METHODID_COMPUTE_ROUTE_MATRIX))) .build(); } } /** + * + * *
    * The Routes API.
    * 
*/ public static final class RoutesStub extends io.grpc.stub.AbstractAsyncStub { - private RoutesStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private RoutesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -280,13 +336,19 @@ protected RoutesStub build(
      * size, and thus higher network throughput.
      * 
*/ - public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -320,31 +382,38 @@ public void computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest reques
      * size, and thus higher network throughput.
      * 
*/ - public void computeRouteMatrix(com.google.maps.routing.v2.ComputeRouteMatrixRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void computeRouteMatrix( + com.google.maps.routing.v2.ComputeRouteMatrixRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getComputeRouteMatrixMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * The Routes API.
    * 
*/ - public static final class RoutesBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private RoutesBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private RoutesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesBlockingStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -378,12 +447,15 @@ protected RoutesBlockingStub build(
      * size, and thus higher network throughput.
      * 
*/ - public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.maps.routing.v2.ComputeRoutesResponse computeRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getComputeRoutesMethod(), getCallOptions(), request); } /** + * + * *
      * Takes in a list of origins and destinations and returns a stream containing
      * route information for each combination of origin and destination.
@@ -425,23 +497,26 @@ public java.util.Iterator compute
   }
 
   /**
+   *
+   *
    * 
    * The Routes API.
    * 
*/ - public static final class RoutesFutureStub extends io.grpc.stub.AbstractFutureStub { - private RoutesFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class RoutesFutureStub + extends io.grpc.stub.AbstractFutureStub { + private RoutesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected RoutesFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected RoutesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RoutesFutureStub(channel, callOptions); } /** + * + * *
      * Returns the primary route along with optional alternate routes, given a set
      * of terminal and intermediate waypoints.
@@ -475,8 +550,9 @@ protected RoutesFutureStub build(
      * size, and thus higher network throughput.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture computeRoutes( - com.google.maps.routing.v2.ComputeRoutesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.maps.routing.v2.ComputeRoutesResponse> + computeRoutes(com.google.maps.routing.v2.ComputeRoutesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getComputeRoutesMethod(), getCallOptions()), request); } @@ -485,11 +561,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + 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 RoutesImplBase serviceImpl; private final int methodId; @@ -503,12 +579,16 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPUTE_ROUTES: - serviceImpl.computeRoutes((com.google.maps.routing.v2.ComputeRoutesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.computeRoutes( + (com.google.maps.routing.v2.ComputeRoutesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_COMPUTE_ROUTE_MATRIX: - serviceImpl.computeRouteMatrix((com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.computeRouteMatrix( + (com.google.maps.routing.v2.ComputeRouteMatrixRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -526,8 +606,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class RoutesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class RoutesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { RoutesBaseDescriptorSupplier() {} @java.lang.Override @@ -541,13 +622,11 @@ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() } } - private static final class RoutesFileDescriptorSupplier - extends RoutesBaseDescriptorSupplier { + private static final class RoutesFileDescriptorSupplier extends RoutesBaseDescriptorSupplier { RoutesFileDescriptorSupplier() {} } - private static final class RoutesMethodDescriptorSupplier - extends RoutesBaseDescriptorSupplier + private static final class RoutesMethodDescriptorSupplier extends RoutesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; @@ -569,11 +648,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (RoutesGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) - .addMethod(getComputeRoutesMethod()) - .addMethod(getComputeRouteMatrixMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RoutesFileDescriptorSupplier()) + .addMethod(getComputeRoutesMethod()) + .addMethod(getComputeRouteMatrixMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java similarity index 69% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java index 88a8453e8a0f..57b858d4fd12 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRouteMatrix request message
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ -public final class ComputeRouteMatrixRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRouteMatrixRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRouteMatrixRequest) ComputeRouteMatrixRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRouteMatrixRequest.newBuilder() to construct. private ComputeRouteMatrixRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRouteMatrixRequest() { origins_ = java.util.Collections.emptyList(); destinations_ = java.util.Collections.emptyList(); @@ -28,32 +46,35 @@ private ComputeRouteMatrixRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRouteMatrixRequest(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, + com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } public static final int ORIGINS_FIELD_NUMBER = 1; private java.util.List origins_; /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -66,13 +87,17 @@ protected java.lang.Object newInstance(
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getOriginsList() { return origins_; } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -85,14 +110,18 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getOriginsOrBuilderList() { return origins_; } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -105,13 +134,17 @@ public java.util.List getOriginsLi
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getOriginsCount() { return origins_.size(); } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -124,13 +157,17 @@ public int getOriginsCount() {
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { return origins_.get(index); } /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -143,72 +180,93 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { return origins_.get(index); } public static final int DESTINATIONS_FIELD_NUMBER = 2; private java.util.List destinations_; /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getDestinationsList() { return destinations_; } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getDestinationsOrBuilderList() { return destinations_; } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getDestinationsCount() { return destinations_.size(); } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { return destinations_.get(index); } /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( @@ -219,33 +277,48 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination public static final int TRAVEL_MODE_FIELD_NUMBER = 3; private int travelMode_; /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ - @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override + public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 4; private int routingPreference_; /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -254,13 +327,19 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -269,25 +348,34 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ - @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override + public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp departureTime_; /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -295,27 +383,36 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -323,6 +420,7 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,18 +432,20 @@ 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 { for (int i = 0; i < origins_.size(); i++) { output.writeMessage(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { output.writeMessage(2, destinations_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, routingPreference_); } if (departureTime_ != null) { @@ -361,24 +461,22 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < origins_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, origins_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, origins_.get(i)); } for (int i = 0; i < destinations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, destinations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, destinations_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, travelMode_); + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, routingPreference_); + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, routingPreference_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDepartureTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -388,23 +486,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.routing.v2.ComputeRouteMatrixRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRouteMatrixRequest other = (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; + com.google.maps.routing.v2.ComputeRouteMatrixRequest other = + (com.google.maps.routing.v2.ComputeRouteMatrixRequest) obj; - if (!getOriginsList() - .equals(other.getOriginsList())) return false; - if (!getDestinationsList() - .equals(other.getDestinationsList())) return false; + if (!getOriginsList().equals(other.getOriginsList())) return false; + if (!getDestinationsList().equals(other.getDestinationsList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime() - .equals(other.getDepartureTime())) return false; + if (!getDepartureTime().equals(other.getDepartureTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -439,129 +535,135 @@ public int hashCode() { } public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest 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; } /** + * + * *
    * ComputeRouteMatrix request message
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRouteMatrixRequest} */ - 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.routing.v2.ComputeRouteMatrixRequest) com.google.maps.routing.v2.ComputeRouteMatrixRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); + com.google.maps.routing.v2.ComputeRouteMatrixRequest.class, + com.google.maps.routing.v2.ComputeRouteMatrixRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRouteMatrixRequest.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(); @@ -593,9 +695,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; } @java.lang.Override @@ -614,7 +716,8 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRouteMatrixRequest buildPartial() { - com.google.maps.routing.v2.ComputeRouteMatrixRequest result = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); + com.google.maps.routing.v2.ComputeRouteMatrixRequest result = + new com.google.maps.routing.v2.ComputeRouteMatrixRequest(this); int from_bitField0_ = bitField0_; if (originsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -649,38 +752,39 @@ public com.google.maps.routing.v2.ComputeRouteMatrixRequest 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.routing.v2.ComputeRouteMatrixRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRouteMatrixRequest) other); } else { super.mergeFrom(other); return this; @@ -688,7 +792,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest other) { - if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRouteMatrixRequest.getDefaultInstance()) + return this; if (originsBuilder_ == null) { if (!other.origins_.isEmpty()) { if (origins_.isEmpty()) { @@ -707,9 +812,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot originsBuilder_ = null; origins_ = other.origins_; bitField0_ = (bitField0_ & ~0x00000001); - originsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOriginsFieldBuilder() : null; + originsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOriginsFieldBuilder() + : null; } else { originsBuilder_.addAllMessages(other.origins_); } @@ -733,9 +839,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRouteMatrixRequest ot destinationsBuilder_ = null; destinations_ = other.destinations_; bitField0_ = (bitField0_ & ~0x00000002); - destinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDestinationsFieldBuilder() : null; + destinationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDestinationsFieldBuilder() + : null; } else { destinationsBuilder_.addAllMessages(other.destinations_); } @@ -776,55 +883,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.maps.routing.v2.RouteMatrixOrigin m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixOrigin.parser(), - extensionRegistry); - if (originsBuilder_ == null) { - ensureOriginsIsMutable(); - origins_.add(m); - } else { - originsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.maps.routing.v2.RouteMatrixDestination m = - input.readMessage( - com.google.maps.routing.v2.RouteMatrixDestination.parser(), - extensionRegistry); - if (destinationsBuilder_ == null) { - ensureDestinationsIsMutable(); - destinations_.add(m); - } else { - destinationsBuilder_.addMessage(m); - } - break; - } // case 18 - case 24: { - travelMode_ = input.readEnum(); + case 10: + { + com.google.maps.routing.v2.RouteMatrixOrigin m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixOrigin.parser(), extensionRegistry); + if (originsBuilder_ == null) { + ensureOriginsIsMutable(); + origins_.add(m); + } else { + originsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.maps.routing.v2.RouteMatrixDestination m = + input.readMessage( + com.google.maps.routing.v2.RouteMatrixDestination.parser(), + extensionRegistry); + if (destinationsBuilder_ == null) { + ensureDestinationsIsMutable(); + destinations_.add(m); + } else { + destinationsBuilder_.addMessage(m); + } + break; + } // case 18 + case 24: + { + travelMode_ = input.readEnum(); - break; - } // case 24 - case 32: { - routingPreference_ = input.readEnum(); + break; + } // case 24 + case 32: + { + routingPreference_ = input.readEnum(); - break; - } // case 32 - case 42: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 42: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -834,21 +944,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List origins_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOriginsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { origins_ = new java.util.ArrayList(origins_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> originsBuilder_; + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + originsBuilder_; /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -861,7 +978,9 @@ private void ensureOriginsIsMutable() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getOriginsList() { if (originsBuilder_ == null) { @@ -871,6 +990,8 @@ public java.util.List getOriginsLi } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -883,7 +1004,9 @@ public java.util.List getOriginsLi
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getOriginsCount() { if (originsBuilder_ == null) { @@ -893,6 +1016,8 @@ public int getOriginsCount() { } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -905,7 +1030,9 @@ public int getOriginsCount() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { if (originsBuilder_ == null) { @@ -915,6 +1042,8 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) { } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -927,10 +1056,11 @@ public com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOrigins( - int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder setOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -944,6 +1074,8 @@ public Builder setOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -956,7 +1088,9 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -970,6 +1104,8 @@ public Builder setOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -982,7 +1118,9 @@ public Builder setOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { @@ -998,6 +1136,8 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1010,10 +1150,11 @@ public Builder addOrigins(com.google.maps.routing.v2.RouteMatrixOrigin value) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addOrigins( - int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { + public Builder addOrigins(int index, com.google.maps.routing.v2.RouteMatrixOrigin value) { if (originsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1027,6 +1168,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1039,7 +1182,9 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins( com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1053,6 +1198,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1065,7 +1212,9 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addOrigins( int index, com.google.maps.routing.v2.RouteMatrixOrigin.Builder builderForValue) { @@ -1079,6 +1228,8 @@ public Builder addOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1091,14 +1242,15 @@ public Builder addOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllOrigins( java.lang.Iterable values) { if (originsBuilder_ == null) { ensureOriginsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, origins_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, origins_); onChanged(); } else { originsBuilder_.addAllMessages(values); @@ -1106,6 +1258,8 @@ public Builder addAllOrigins( return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1118,7 +1272,9 @@ public Builder addAllOrigins(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOrigins() { if (originsBuilder_ == null) { @@ -1131,6 +1287,8 @@ public Builder clearOrigins() { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1143,7 +1301,9 @@ public Builder clearOrigins() {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeOrigins(int index) { if (originsBuilder_ == null) { @@ -1156,6 +1316,8 @@ public Builder removeOrigins(int index) { return this; } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1168,13 +1330,16 @@ public Builder removeOrigins(int index) {
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(int index) { return getOriginsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1187,16 +1352,20 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder getOriginsBuilder(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index) { + public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index) { if (originsBuilder_ == null) { - return origins_.get(index); } else { + return origins_.get(index); + } else { return originsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1209,10 +1378,12 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOriginsOrBuilderList() { + public java.util.List + getOriginsOrBuilderList() { if (originsBuilder_ != null) { return originsBuilder_.getMessageOrBuilderList(); } else { @@ -1220,6 +1391,8 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder } } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1232,13 +1405,17 @@ public com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder() { - return getOriginsFieldBuilder().addBuilder( - com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + return getOriginsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1251,14 +1428,17 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder()
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder( - int index) { - return getOriginsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); + public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(int index) { + return getOriginsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.RouteMatrixOrigin.getDefaultInstance()); } /** + * + * *
      * Required. Array of origins, which determines the rows of the response
      * matrix. Several size restrictions apply to the cardinality of origins and
@@ -1271,46 +1451,61 @@ public com.google.maps.routing.v2.RouteMatrixOrigin.Builder addOriginsBuilder(
      * must be no greater than 50.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getOriginsBuilderList() { + public java.util.List + getOriginsBuilderList() { return getOriginsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder> getOriginsFieldBuilder() { if (originsBuilder_ == null) { - originsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixOrigin, com.google.maps.routing.v2.RouteMatrixOrigin.Builder, com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( - origins_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + originsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixOrigin, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder, + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder>( + origins_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); origins_ = null; } return originsBuilder_; } private java.util.List destinations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDestinationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - destinations_ = new java.util.ArrayList(destinations_); + destinations_ = + new java.util.ArrayList( + destinations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> destinationsBuilder_; + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + destinationsBuilder_; /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getDestinationsList() { if (destinationsBuilder_ == null) { @@ -1320,12 +1515,16 @@ public java.util.List getDest } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getDestinationsCount() { if (destinationsBuilder_ == null) { @@ -1335,12 +1534,16 @@ public int getDestinationsCount() { } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1350,12 +1553,16 @@ public com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int ind } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1372,12 +1579,16 @@ public Builder setDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1391,12 +1602,16 @@ public Builder setDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination value) { if (destinationsBuilder_ == null) { @@ -1412,12 +1627,16 @@ public Builder addDestinations(com.google.maps.routing.v2.RouteMatrixDestination return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination value) { @@ -1434,12 +1653,16 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1453,12 +1676,16 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addDestinations( int index, com.google.maps.routing.v2.RouteMatrixDestination.Builder builderForValue) { @@ -1472,19 +1699,22 @@ public Builder addDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllDestinations( java.lang.Iterable values) { if (destinationsBuilder_ == null) { ensureDestinationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, destinations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, destinations_); onChanged(); } else { destinationsBuilder_.addAllMessages(values); @@ -1492,12 +1722,16 @@ public Builder addAllDestinations( return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestinations() { if (destinationsBuilder_ == null) { @@ -1510,12 +1744,16 @@ public Builder clearDestinations() { return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeDestinations(int index) { if (destinationsBuilder_ == null) { @@ -1528,42 +1766,55 @@ public Builder removeDestinations(int index) { return this; } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder getDestinationsBuilder( int index) { return getDestinationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( int index) { if (destinationsBuilder_ == null) { - return destinations_.get(index); } else { + return destinations_.get(index); + } else { return destinationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getDestinationsOrBuilderList() { + public java.util.List + getDestinationsOrBuilderList() { if (destinationsBuilder_ != null) { return destinationsBuilder_.getMessageOrBuilderList(); } else { @@ -1571,52 +1822,68 @@ public com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestination } } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder() { - return getDestinationsFieldBuilder().addBuilder( - com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinationsBuilder( int index) { - return getDestinationsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); + return getDestinationsFieldBuilder() + .addBuilder( + index, com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()); } /** + * + * *
      * Required. Array of destinations, which determines the columns of the
      * response matrix.
      * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getDestinationsBuilderList() { + public java.util.List + getDestinationsBuilderList() { return getDestinationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder> getDestinationsFieldBuilder() { if (destinationsBuilder_ == null) { - destinationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteMatrixDestination, com.google.maps.routing.v2.RouteMatrixDestination.Builder, com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( - destinations_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + destinationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.RouteMatrixDestination, + com.google.maps.routing.v2.RouteMatrixDestination.Builder, + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder>( + destinations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); destinations_ = null; } return destinationsBuilder_; @@ -1624,51 +1891,73 @@ public com.google.maps.routing.v2.RouteMatrixDestination.Builder addDestinations private int travelMode_ = 0; /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The travelMode to set. * @return This builder for chaining. */ @@ -1676,21 +1965,26 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -1698,6 +1992,8 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1706,13 +2002,19 @@ public Builder clearTravelMode() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1721,17 +2023,22 @@ public Builder clearTravelMode() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1740,16 +2047,22 @@ public Builder setRoutingPreferenceValue(int value) {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1758,7 +2071,10 @@ public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() {
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -1766,12 +2082,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server attempts to use
      * the selected routing preference to compute the route. If the routing
@@ -1780,11 +2098,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference
      * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -1792,45 +2113,64 @@ public Builder clearRoutingPreference() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + departureTimeBuilder_; /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -1846,16 +2186,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDepartureTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -1866,19 +2209,25 @@ public Builder setDepartureTime( return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_) + .mergeFrom(value) + .buildPartial(); } else { departureTime_ = value; } @@ -1890,13 +2239,17 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -1910,61 +2263,77 @@ public Builder clearDepartureTime() { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } } /** + * + * *
      * Optional. The departure time. If you don't set this value, this defaults to
      * the time that you made the request. If you set this value to a time that
      * has already occurred, the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), - getParentForChildren(), - isClean()); + departureTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), getParentForChildren(), isClean()); departureTime_ = null; } return departureTimeBuilder_; } + @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); } @@ -1974,12 +2343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRouteMatrixRequest) private static final com.google.maps.routing.v2.ComputeRouteMatrixRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRouteMatrixRequest(); } @@ -1988,27 +2357,27 @@ public static com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRouteMatrixRequest 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 ComputeRouteMatrixRequest 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; @@ -2023,6 +2392,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.ComputeRouteMatrixRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java index 595165584948..6d66db78f4b4 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRouteMatrixRequestOrBuilder.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRouteMatrixRequestOrBuilder extends +public interface ComputeRouteMatrixRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRouteMatrixRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -20,11 +38,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getOriginsList(); + java.util.List getOriginsList(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -37,10 +58,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.RouteMatrixOrigin getOrigins(int index); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -53,10 +78,14 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getOriginsCount(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -69,11 +98,15 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getOriginsOrBuilderList(); /** + * + * *
    * Required. Array of origins, which determines the rows of the response
    * matrix. Several size restrictions apply to the cardinality of origins and
@@ -86,80 +119,111 @@ public interface ComputeRouteMatrixRequestOrBuilder extends
    * must be no greater than 50.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixOrigin origins = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder( - int index); + com.google.maps.routing.v2.RouteMatrixOriginOrBuilder getOriginsOrBuilder(int index); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getDestinationsList(); + java.util.List getDestinationsList(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.RouteMatrixDestination getDestinations(int index); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getDestinationsCount(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getDestinationsOrBuilderList(); /** + * + * *
    * Required. Array of destinations, which determines the columns of the
    * response matrix.
    * 
* - * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.maps.routing.v2.RouteMatrixDestination destinations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder( - int index); + com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuilder(int index); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -168,11 +232,16 @@ com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuil
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** + * + * *
    * Optional. Specifies how to compute the route. The server attempts to use
    * the selected routing preference to compute the route. If the routing
@@ -181,41 +250,55 @@ com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder getDestinationsOrBuil
    * `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, this defaults to
    * the time that you made the request. If you set this value to a time that
    * has already occurred, the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java similarity index 68% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java index ec842b0e3a96..fe4fdb178f8a 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequest.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRoutes request message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ -public final class ComputeRoutesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRoutesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesRequest) ComputeRoutesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRoutesRequest.newBuilder() to construct. private ComputeRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRoutesRequest() { intermediates_ = java.util.Collections.emptyList(); travelMode_ = 0; @@ -32,39 +50,43 @@ private ComputeRoutesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRoutesRequest(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, + com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } /** + * + * *
    * A supported reference route on the ComputeRoutesRequest.
    * 
* * Protobuf enum {@code google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute} */ - public enum ReferenceRoute - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReferenceRoute implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used. Requests containing this value fail.
      * 
@@ -73,6 +95,8 @@ public enum ReferenceRoute */ REFERENCE_ROUTE_UNSPECIFIED(0), /** + * + * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -85,6 +109,8 @@ public enum ReferenceRoute
     ;
 
     /**
+     *
+     *
      * 
      * Not used. Requests containing this value fail.
      * 
@@ -93,6 +119,8 @@ public enum ReferenceRoute */ public static final int REFERENCE_ROUTE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Fuel efficient route. Routes labeled with this value are determined to be
      * optimized for parameters such as fuel consumption.
@@ -102,7 +130,6 @@ public enum ReferenceRoute
      */
     public static final int FUEL_EFFICIENT_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -127,48 +154,47 @@ public static ReferenceRoute valueOf(int value) {
      */
     public static ReferenceRoute forNumber(int value) {
       switch (value) {
-        case 0: return REFERENCE_ROUTE_UNSPECIFIED;
-        case 1: return FUEL_EFFICIENT;
-        default: return null;
+        case 0:
+          return REFERENCE_ROUTE_UNSPECIFIED;
+        case 1:
+          return FUEL_EFFICIENT;
+        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<
-        ReferenceRoute> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ReferenceRoute findValueByNumber(int number) {
-              return ReferenceRoute.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 ReferenceRoute findValueByNumber(int number) {
+            return ReferenceRoute.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.routing.v2.ComputeRoutesRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final ReferenceRoute[] VALUES = values();
 
-    public static ReferenceRoute valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ReferenceRoute 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;
@@ -188,11 +214,15 @@ private ReferenceRoute(int value) {
   public static final int ORIGIN_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.Waypoint origin_;
   /**
+   *
+   *
    * 
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ @java.lang.Override @@ -200,11 +230,15 @@ public boolean hasOrigin() { return origin_ != null; } /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ @java.lang.Override @@ -212,11 +246,14 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { @@ -226,11 +263,16 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { public static final int DESTINATION_FIELD_NUMBER = 2; private com.google.maps.routing.v2.Waypoint destination_; /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ @java.lang.Override @@ -238,23 +280,34 @@ public boolean hasDestination() { return destination_ != null; } /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getDestination() { - return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { @@ -264,103 +317,137 @@ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { public static final int INTERMEDIATES_FIELD_NUMBER = 3; private java.util.List intermediates_; /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getIntermediatesList() { return intermediates_; } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getIntermediatesOrBuilderList() { return intermediates_; } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getIntermediatesCount() { return intermediates_.size(); } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { return intermediates_.get(index); } /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { return intermediates_.get(index); } public static final int TRAVEL_MODE_FIELD_NUMBER = 4; private int travelMode_; /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ - @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { + @java.lang.Override + public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } public static final int ROUTING_PREFERENCE_FIELD_NUMBER = 5; private int routingPreference_; /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -369,13 +456,19 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -384,79 +477,114 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ - @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { + @java.lang.Override + public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } public static final int POLYLINE_QUALITY_FIELD_NUMBER = 6; private int polylineQuality_; /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override public int getPolylineQualityValue() { + @java.lang.Override + public int getPolylineQualityValue() { return polylineQuality_; } /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ - @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { + @java.lang.Override + public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = + com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } public static final int POLYLINE_ENCODING_FIELD_NUMBER = 12; private int polylineEncoding_; /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override public int getPolylineEncodingValue() { + @java.lang.Override + public int getPolylineEncodingValue() { return polylineEncoding_; } /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ - @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { + @java.lang.Override + public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = + com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp departureTime_; /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -464,27 +592,36 @@ public boolean hasDepartureTime() { return departureTime_ != null; } /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ @java.lang.Override public com.google.protobuf.Timestamp getDepartureTime() { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { @@ -494,12 +631,15 @@ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { public static final int COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER = 8; private boolean computeAlternativeRoutes_; /** + * + * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -510,12 +650,17 @@ public boolean getComputeAlternativeRoutes() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -523,25 +668,36 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -551,6 +707,8 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui public static final int LANGUAGE_CODE_FIELD_NUMBER = 10; private volatile java.lang.Object languageCode_; /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -561,6 +719,7 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ @java.lang.Override @@ -569,14 +728,15 @@ 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; } } /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -587,16 +747,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -607,6 +766,8 @@ public java.lang.String getLanguageCode() { public static final int UNITS_FIELD_NUMBER = 11; private int units_; /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -615,13 +776,18 @@ public java.lang.String getLanguageCode() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ - @java.lang.Override public int getUnitsValue() { + @java.lang.Override + public int getUnitsValue() { return units_; } /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -630,10 +796,13 @@ public java.lang.String getLanguageCode() {
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ - @java.lang.Override public com.google.maps.routing.v2.Units getUnits() { + @java.lang.Override + public com.google.maps.routing.v2.Units getUnits() { @SuppressWarnings("deprecation") com.google.maps.routing.v2.Units result = com.google.maps.routing.v2.Units.valueOf(units_); return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; @@ -642,16 +811,23 @@ public java.lang.String getLanguageCode() { public static final int REQUESTED_REFERENCE_ROUTES_FIELD_NUMBER = 14; private java.util.List requestedReferenceRoutes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> requestedReferenceRoutes_converter_ = + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute> + requestedReferenceRoutes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>() { - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(java.lang.Integer from) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); - return result == null ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED : result; + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute result = + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.valueOf(from); + return result == null + ? com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute.UNRECOGNIZED + : result; } }; /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -660,15 +836,22 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute convert(ja
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ @java.lang.Override - public java.util.List getRequestedReferenceRoutesList() { + public java.util.List + getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( + requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -677,7 +860,10 @@ public java.util.List
    *
-   * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   *
    * @return The count of requestedReferenceRoutes.
    */
   @java.lang.Override
@@ -685,6 +871,8 @@ public int getRequestedReferenceRoutesCount() {
     return requestedReferenceRoutes_.size();
   }
   /**
+   *
+   *
    * 
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -693,15 +881,21 @@ public int getRequestedReferenceRoutesCount() {
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ @java.lang.Override - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( + int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -710,15 +904,19 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ @java.lang.Override - public java.util.List - getRequestedReferenceRoutesValueList() { + public java.util.List getRequestedReferenceRoutesValueList() { return requestedReferenceRoutes_; } /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -727,7 +925,10 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -735,9 +936,11 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } + private int requestedReferenceRoutesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,8 +952,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 { getSerializedSize(); if (origin_ != null) { output.writeMessage(1, getOrigin()); @@ -761,13 +963,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < intermediates_.size(); i++) { output.writeMessage(3, intermediates_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(4, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, routingPreference_); } - if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + if (polylineQuality_ + != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { output.writeEnum(6, polylineQuality_); } if (departureTime_ != null) { @@ -785,7 +991,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { output.writeEnum(11, units_); } - if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + if (polylineEncoding_ + != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { output.writeEnum(12, polylineEncoding_); } if (getRequestedReferenceRoutesList().size() > 0) { @@ -805,63 +1012,59 @@ public int getSerializedSize() { size = 0; if (origin_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOrigin()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOrigin()); } if (destination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDestination()); } for (int i = 0; i < intermediates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, intermediates_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, intermediates_.get(i)); } - if (travelMode_ != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, travelMode_); + if (travelMode_ + != com.google.maps.routing.v2.RouteTravelMode.TRAVEL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, travelMode_); } - if (routingPreference_ != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, routingPreference_); + if (routingPreference_ + != com.google.maps.routing.v2.RoutingPreference.ROUTING_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, routingPreference_); } - if (polylineQuality_ != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, polylineQuality_); + if (polylineQuality_ + != com.google.maps.routing.v2.PolylineQuality.POLYLINE_QUALITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, polylineQuality_); } if (departureTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getDepartureTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDepartureTime()); } if (computeAlternativeRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, computeAlternativeRoutes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, computeAlternativeRoutes_); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRouteModifiers()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, languageCode_); } if (units_ != com.google.maps.routing.v2.Units.UNITS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, units_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, units_); } - if (polylineEncoding_ != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, polylineEncoding_); + if (polylineEncoding_ + != com.google.maps.routing.v2.PolylineEncoding.POLYLINE_ENCODING_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, polylineEncoding_); } { int dataSize = 0; for (int i = 0; i < requestedReferenceRoutes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(requestedReferenceRoutes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + requestedReferenceRoutes_.get(i)); } size += dataSize; - if (!getRequestedReferenceRoutesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }requestedReferenceRoutesMemoizedSerializedSize = dataSize; + if (!getRequestedReferenceRoutesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + requestedReferenceRoutesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -871,43 +1074,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.routing.v2.ComputeRoutesRequest)) { return super.equals(obj); } - com.google.maps.routing.v2.ComputeRoutesRequest other = (com.google.maps.routing.v2.ComputeRoutesRequest) obj; + com.google.maps.routing.v2.ComputeRoutesRequest other = + (com.google.maps.routing.v2.ComputeRoutesRequest) obj; if (hasOrigin() != other.hasOrigin()) return false; if (hasOrigin()) { - if (!getOrigin() - .equals(other.getOrigin())) return false; + if (!getOrigin().equals(other.getOrigin())) return false; } if (hasDestination() != other.hasDestination()) return false; if (hasDestination()) { - if (!getDestination() - .equals(other.getDestination())) return false; + if (!getDestination().equals(other.getDestination())) return false; } - if (!getIntermediatesList() - .equals(other.getIntermediatesList())) return false; + if (!getIntermediatesList().equals(other.getIntermediatesList())) return false; if (travelMode_ != other.travelMode_) return false; if (routingPreference_ != other.routingPreference_) return false; if (polylineQuality_ != other.polylineQuality_) return false; if (polylineEncoding_ != other.polylineEncoding_) return false; if (hasDepartureTime() != other.hasDepartureTime()) return false; if (hasDepartureTime()) { - if (!getDepartureTime() - .equals(other.getDepartureTime())) return false; + if (!getDepartureTime().equals(other.getDepartureTime())) return false; } - if (getComputeAlternativeRoutes() - != other.getComputeAlternativeRoutes()) return false; + if (getComputeAlternativeRoutes() != other.getComputeAlternativeRoutes()) return false; if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers() - .equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; } - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (units_ != other.units_) return false; if (!requestedReferenceRoutes_.equals(other.requestedReferenceRoutes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -946,8 +1143,7 @@ public int hashCode() { hash = (53 * hash) + getDepartureTime().hashCode(); } hash = (37 * hash) + COMPUTE_ALTERNATIVE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getComputeAlternativeRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getComputeAlternativeRoutes()); if (hasRouteModifiers()) { hash = (37 * hash) + ROUTE_MODIFIERS_FIELD_NUMBER; hash = (53 * hash) + getRouteModifiers().hashCode(); @@ -965,130 +1161,136 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.ComputeRoutesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.ComputeRoutesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest 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; } /** + * + * *
    * ComputeRoutes request message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesRequest} */ - 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.routing.v2.ComputeRoutesRequest) com.google.maps.routing.v2.ComputeRoutesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesRequest.class, com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); + com.google.maps.routing.v2.ComputeRoutesRequest.class, + com.google.maps.routing.v2.ComputeRoutesRequest.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesRequest.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(); @@ -1143,9 +1345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor; } @java.lang.Override @@ -1164,7 +1366,8 @@ public com.google.maps.routing.v2.ComputeRoutesRequest build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { - com.google.maps.routing.v2.ComputeRoutesRequest result = new com.google.maps.routing.v2.ComputeRoutesRequest(this); + com.google.maps.routing.v2.ComputeRoutesRequest result = + new com.google.maps.routing.v2.ComputeRoutesRequest(this); int from_bitField0_ = bitField0_; if (originBuilder_ == null) { result.origin_ = origin_; @@ -1203,7 +1406,8 @@ public com.google.maps.routing.v2.ComputeRoutesRequest buildPartial() { result.languageCode_ = languageCode_; result.units_ = units_; if (((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = java.util.Collections.unmodifiableList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = + java.util.Collections.unmodifiableList(requestedReferenceRoutes_); bitField0_ = (bitField0_ & ~0x00000002); } result.requestedReferenceRoutes_ = requestedReferenceRoutes_; @@ -1215,38 +1419,39 @@ public com.google.maps.routing.v2.ComputeRoutesRequest 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.routing.v2.ComputeRoutesRequest) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesRequest) other); } else { super.mergeFrom(other); return this; @@ -1254,7 +1459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) { - if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRoutesRequest.getDefaultInstance()) + return this; if (other.hasOrigin()) { mergeOrigin(other.getOrigin()); } @@ -1279,9 +1485,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesRequest other) intermediatesBuilder_ = null; intermediates_ = other.intermediates_; bitField0_ = (bitField0_ & ~0x00000001); - intermediatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIntermediatesFieldBuilder() : null; + intermediatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIntermediatesFieldBuilder() + : null; } else { intermediatesBuilder_.addAllMessages(other.intermediates_); } @@ -1351,105 +1558,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getDestinationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - com.google.maps.routing.v2.Waypoint m = - input.readMessage( - com.google.maps.routing.v2.Waypoint.parser(), - extensionRegistry); - if (intermediatesBuilder_ == null) { - ensureIntermediatesIsMutable(); - intermediates_.add(m); - } else { - intermediatesBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - travelMode_ = input.readEnum(); - - break; - } // case 32 - case 40: { - routingPreference_ = input.readEnum(); - - break; - } // case 40 - case 48: { - polylineQuality_ = input.readEnum(); - - break; - } // case 48 - case 58: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 58 - case 64: { - computeAlternativeRoutes_ = input.readBool(); - - break; - } // case 64 - case 74: { - input.readMessage( - getRouteModifiersFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 74 - case 82: { - languageCode_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 88: { - units_ = input.readEnum(); - - break; - } // case 88 - case 96: { - polylineEncoding_ = input.readEnum(); - - break; - } // case 96 - case 112: { - int tmpRaw = input.readEnum(); - ensureRequestedReferenceRoutesIsMutable(); - requestedReferenceRoutes_.add(tmpRaw); - break; - } // case 112 - case 114: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + input.readMessage(getOriginFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + com.google.maps.routing.v2.Waypoint m = + input.readMessage( + com.google.maps.routing.v2.Waypoint.parser(), extensionRegistry); + if (intermediatesBuilder_ == null) { + ensureIntermediatesIsMutable(); + intermediates_.add(m); + } else { + intermediatesBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + travelMode_ = input.readEnum(); + + break; + } // case 32 + case 40: + { + routingPreference_ = input.readEnum(); + + break; + } // case 40 + case 48: + { + polylineQuality_ = input.readEnum(); + + break; + } // case 48 + case 58: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 64: + { + computeAlternativeRoutes_ = input.readBool(); + + break; + } // case 64 + case 74: + { + input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + case 82: + { + languageCode_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 88: + { + units_ = input.readEnum(); + + break; + } // case 88 + case 96: + { + polylineEncoding_ = input.readEnum(); + + break; + } // case 96 + case 112: + { int tmpRaw = input.readEnum(); ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 112 + case 114: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureRequestedReferenceRoutesIsMutable(); + requestedReferenceRoutes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 114 + 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) { @@ -1459,28 +1672,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.maps.routing.v2.Waypoint origin_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> originBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + originBuilder_; /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ public boolean hasOrigin() { return originBuilder_ != null || origin_ != null; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ public com.google.maps.routing.v2.Waypoint getOrigin() { @@ -1491,11 +1716,14 @@ public com.google.maps.routing.v2.Waypoint getOrigin() { } } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { @@ -1511,14 +1739,16 @@ public Builder setOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOrigin( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setOrigin(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (originBuilder_ == null) { origin_ = builderForValue.build(); onChanged(); @@ -1529,17 +1759,22 @@ public Builder setOrigin( return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { if (originBuilder_ == null) { if (origin_ != null) { origin_ = - com.google.maps.routing.v2.Waypoint.newBuilder(origin_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(origin_) + .mergeFrom(value) + .buildPartial(); } else { origin_ = value; } @@ -1551,11 +1786,14 @@ public Builder mergeOrigin(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOrigin() { if (originBuilder_ == null) { @@ -1569,48 +1807,59 @@ public Builder clearOrigin() { return this; } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getOriginBuilder() { - + onChanged(); return getOriginFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { if (originBuilder_ != null) { return originBuilder_.getMessageOrBuilder(); } else { - return origin_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; + return origin_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : origin_; } } /** + * + * *
      * Required. Origin waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { - originBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getOrigin(), - getParentForChildren(), - isClean()); + originBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getOrigin(), getParentForChildren(), isClean()); origin_ = null; } return originBuilder_; @@ -1618,39 +1867,58 @@ public com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder() { private com.google.maps.routing.v2.Waypoint destination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> destinationBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + destinationBuilder_; /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ public boolean hasDestination() { return destinationBuilder_ != null || destination_ != null; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ public com.google.maps.routing.v2.Waypoint getDestination() { if (destinationBuilder_ == null) { - return destination_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } else { return destinationBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { @@ -1666,14 +1934,17 @@ public Builder setDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDestination( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setDestination(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (destinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1684,17 +1955,23 @@ public Builder setDestination( return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { if (destinationBuilder_ == null) { if (destination_ != null) { destination_ = - com.google.maps.routing.v2.Waypoint.newBuilder(destination_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -1706,11 +1983,15 @@ public Builder mergeDestination(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDestination() { if (destinationBuilder_ == null) { @@ -1724,73 +2005,98 @@ public Builder clearDestination() { return this; } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getDestinationBuilder() { - + onChanged(); return getDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder() { if (destinationBuilder_ != null) { return destinationBuilder_.getMessageOrBuilder(); } else { - return destination_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : destination_; + return destination_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : destination_; } } /** + * + * *
      * Required. Destination waypoint.
      * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { - destinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getDestination(), - getParentForChildren(), - isClean()); + destinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getDestination(), getParentForChildren(), isClean()); destination_ = null; } return destinationBuilder_; } private java.util.List intermediates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIntermediatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - intermediates_ = new java.util.ArrayList(intermediates_); + intermediates_ = + new java.util.ArrayList(intermediates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> intermediatesBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + intermediatesBuilder_; /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getIntermediatesList() { if (intermediatesBuilder_ == null) { @@ -1800,13 +2106,17 @@ public java.util.List getIntermediatesList( } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getIntermediatesCount() { if (intermediatesBuilder_ == null) { @@ -1816,13 +2126,17 @@ public int getIntermediatesCount() { } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -1832,16 +2146,19 @@ public com.google.maps.routing.v2.Waypoint getIntermediates(int index) { } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIntermediates( - int index, com.google.maps.routing.v2.Waypoint value) { + public Builder setIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1855,13 +2172,17 @@ public Builder setIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -1875,13 +2196,17 @@ public Builder setIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { @@ -1897,16 +2222,19 @@ public Builder addIntermediates(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addIntermediates( - int index, com.google.maps.routing.v2.Waypoint value) { + public Builder addIntermediates(int index, com.google.maps.routing.v2.Waypoint value) { if (intermediatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1920,16 +2248,19 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addIntermediates( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder addIntermediates(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); intermediates_.add(builderForValue.build()); @@ -1940,13 +2271,17 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addIntermediates( int index, com.google.maps.routing.v2.Waypoint.Builder builderForValue) { @@ -1960,20 +2295,23 @@ public Builder addIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllIntermediates( java.lang.Iterable values) { if (intermediatesBuilder_ == null) { ensureIntermediatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, intermediates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, intermediates_); onChanged(); } else { intermediatesBuilder_.addAllMessages(values); @@ -1981,13 +2319,17 @@ public Builder addAllIntermediates( return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIntermediates() { if (intermediatesBuilder_ == null) { @@ -2000,13 +2342,17 @@ public Builder clearIntermediates() { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeIntermediates(int index) { if (intermediatesBuilder_ == null) { @@ -2019,45 +2365,56 @@ public Builder removeIntermediates(int index) { return this; } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder( - int index) { + public com.google.maps.routing.v2.Waypoint.Builder getIntermediatesBuilder(int index) { return getIntermediatesFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index) { + public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index) { if (intermediatesBuilder_ == null) { - return intermediates_.get(index); } else { + return intermediates_.get(index); + } else { return intermediatesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIntermediatesOrBuilderList() { + public java.util.List + getIntermediatesOrBuilderList() { if (intermediatesBuilder_ != null) { return intermediatesBuilder_.getMessageOrBuilderList(); } else { @@ -2065,51 +2422,68 @@ public com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( } } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder() { - return getIntermediatesFieldBuilder().addBuilder( - com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + return getIntermediatesFieldBuilder() + .addBuilder(com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( - int index) { - return getIntermediatesFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); + public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder(int index) { + return getIntermediatesFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.Waypoint.getDefaultInstance()); } /** + * + * *
      * Optional. A set of waypoints along the route (excluding terminal points),
      * for either stopping at or passing by. Up to 25 intermediate waypoints are
      * supported.
      * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getIntermediatesBuilderList() { + public java.util.List + getIntermediatesBuilderList() { return getIntermediatesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getIntermediatesFieldBuilder() { if (intermediatesBuilder_ == null) { - intermediatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( + intermediatesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( intermediates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2121,51 +2495,73 @@ public com.google.maps.routing.v2.Waypoint.Builder addIntermediatesBuilder( private int travelMode_ = 0; /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ - @java.lang.Override public int getTravelModeValue() { + @java.lang.Override + public int getTravelModeValue() { return travelMode_; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for travelMode to set. * @return This builder for chaining. */ public Builder setTravelModeValue(int value) { - + travelMode_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelMode getTravelMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteTravelMode result = com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); + com.google.maps.routing.v2.RouteTravelMode result = + com.google.maps.routing.v2.RouteTravelMode.valueOf(travelMode_); return result == null ? com.google.maps.routing.v2.RouteTravelMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The travelMode to set. * @return This builder for chaining. */ @@ -2173,21 +2569,26 @@ public Builder setTravelMode(com.google.maps.routing.v2.RouteTravelMode value) { if (value == null) { throw new NullPointerException(); } - + travelMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the mode of transportation.
      * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearTravelMode() { - + travelMode_ = 0; onChanged(); return this; @@ -2195,6 +2596,8 @@ public Builder clearTravelMode() { private int routingPreference_ = 0; /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2203,13 +2606,19 @@ public Builder clearTravelMode() {
      * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ - @java.lang.Override public int getRoutingPreferenceValue() { + @java.lang.Override + public int getRoutingPreferenceValue() { return routingPreference_; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2218,17 +2627,22 @@ public Builder clearTravelMode() {
      * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for routingPreference to set. * @return This builder for chaining. */ public Builder setRoutingPreferenceValue(int value) { - + routingPreference_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2237,16 +2651,22 @@ public Builder setRoutingPreferenceValue(int value) {
      * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ @java.lang.Override public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RoutingPreference result = com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); + com.google.maps.routing.v2.RoutingPreference result = + com.google.maps.routing.v2.RoutingPreference.valueOf(routingPreference_); return result == null ? com.google.maps.routing.v2.RoutingPreference.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2255,7 +2675,10 @@ public com.google.maps.routing.v2.RoutingPreference getRoutingPreference() {
      * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The routingPreference to set. * @return This builder for chaining. */ @@ -2263,12 +2686,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference if (value == null) { throw new NullPointerException(); } - + routingPreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies how to compute the route. The server
      * attempts to use the selected routing preference to compute the route. If
@@ -2277,11 +2702,14 @@ public Builder setRoutingPreference(com.google.maps.routing.v2.RoutingPreference
      * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
      * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRoutingPreference() { - + routingPreference_ = 0; onChanged(); return this; @@ -2289,51 +2717,73 @@ public Builder clearRoutingPreference() { private int polylineQuality_ = 0; /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ - @java.lang.Override public int getPolylineQualityValue() { + @java.lang.Override + public int getPolylineQualityValue() { return polylineQuality_; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for polylineQuality to set. * @return This builder for chaining. */ public Builder setPolylineQualityValue(int value) { - + polylineQuality_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ @java.lang.Override public com.google.maps.routing.v2.PolylineQuality getPolylineQuality() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineQuality result = com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); + com.google.maps.routing.v2.PolylineQuality result = + com.google.maps.routing.v2.PolylineQuality.valueOf(polylineQuality_); return result == null ? com.google.maps.routing.v2.PolylineQuality.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The polylineQuality to set. * @return This builder for chaining. */ @@ -2341,21 +2791,26 @@ public Builder setPolylineQuality(com.google.maps.routing.v2.PolylineQuality val if (value == null) { throw new NullPointerException(); } - + polylineQuality_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies your preference for the quality of the polyline.
      * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPolylineQuality() { - + polylineQuality_ = 0; onChanged(); return this; @@ -2363,51 +2818,73 @@ public Builder clearPolylineQuality() { private int polylineEncoding_ = 0; /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ - @java.lang.Override public int getPolylineEncodingValue() { + @java.lang.Override + public int getPolylineEncodingValue() { return polylineEncoding_; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for polylineEncoding to set. * @return This builder for chaining. */ public Builder setPolylineEncodingValue(int value) { - + polylineEncoding_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ @java.lang.Override public com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.PolylineEncoding result = com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); + com.google.maps.routing.v2.PolylineEncoding result = + com.google.maps.routing.v2.PolylineEncoding.valueOf(polylineEncoding_); return result == null ? com.google.maps.routing.v2.PolylineEncoding.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The polylineEncoding to set. * @return This builder for chaining. */ @@ -2415,21 +2892,26 @@ public Builder setPolylineEncoding(com.google.maps.routing.v2.PolylineEncoding v if (value == null) { throw new NullPointerException(); } - + polylineEncoding_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the preferred encoding for the polyline.
      * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPolylineEncoding() { - + polylineEncoding_ = 0; onChanged(); return this; @@ -2437,45 +2919,64 @@ public Builder clearPolylineEncoding() { private com.google.protobuf.Timestamp departureTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> departureTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + departureTimeBuilder_; /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ public boolean hasDepartureTime() { return departureTimeBuilder_ != null || departureTime_ != null; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ public com.google.protobuf.Timestamp getDepartureTime() { if (departureTimeBuilder_ == null) { - return departureTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } else { return departureTimeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { @@ -2491,16 +2992,19 @@ public Builder setDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDepartureTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (departureTimeBuilder_ == null) { departureTime_ = builderForValue.build(); onChanged(); @@ -2511,19 +3015,25 @@ public Builder setDepartureTime( return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { if (departureTimeBuilder_ == null) { if (departureTime_ != null) { departureTime_ = - com.google.protobuf.Timestamp.newBuilder(departureTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(departureTime_) + .mergeFrom(value) + .buildPartial(); } else { departureTime_ = value; } @@ -2535,13 +3045,17 @@ public Builder mergeDepartureTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDepartureTime() { if (departureTimeBuilder_ == null) { @@ -2555,67 +3069,86 @@ public Builder clearDepartureTime() { return this; } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder() { - + onChanged(); return getDepartureTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder() { if (departureTimeBuilder_ != null) { return departureTimeBuilder_.getMessageOrBuilder(); } else { - return departureTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : departureTime_; + return departureTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : departureTime_; } } /** + * + * *
      * Optional. The departure time. If you don't set this value, then this value
      * defaults to the time that you made the request. If you set this value to a
      * time that has already occurred, then the request fails.
      * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getDepartureTimeFieldBuilder() { if (departureTimeBuilder_ == null) { - departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDepartureTime(), - getParentForChildren(), - isClean()); + departureTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDepartureTime(), getParentForChildren(), isClean()); departureTime_ = null; } return departureTimeBuilder_; } - private boolean computeAlternativeRoutes_ ; + private boolean computeAlternativeRoutes_; /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ @java.lang.Override @@ -2623,32 +3156,38 @@ public boolean getComputeAlternativeRoutes() { return computeAlternativeRoutes_; } /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The computeAlternativeRoutes to set. * @return This builder for chaining. */ public Builder setComputeAlternativeRoutes(boolean value) { - + computeAlternativeRoutes_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies whether to calculate alternate routes in addition to
      * the route.
      * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearComputeAlternativeRoutes() { - + computeAlternativeRoutes_ = false; onChanged(); return this; @@ -2656,42 +3195,61 @@ public Builder clearComputeAlternativeRoutes() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> + routeModifiersBuilder_; /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -2707,12 +3265,16 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -2726,18 +3288,24 @@ public Builder setRouteModifiers( return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) + .mergeFrom(value) + .buildPartial(); } else { routeModifiers_ = value; } @@ -2749,12 +3317,16 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -2768,51 +3340,67 @@ public Builder clearRouteModifiers() { return this; } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null ? - com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } } /** + * + * *
      * Optional. A set of conditions to satisfy that affect the way routes are
      * calculated.
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), - getParentForChildren(), - isClean()); + routeModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), getParentForChildren(), isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; @@ -2820,6 +3408,8 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui private java.lang.Object languageCode_ = ""; /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2830,13 +3420,13 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2845,6 +3435,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2855,15 +3447,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2871,6 +3462,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2881,20 +3474,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2905,15 +3500,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
      * information, see
@@ -2924,16 +3522,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2941,6 +3539,8 @@ public Builder setLanguageCodeBytes( private int units_ = 0; /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2949,13 +3549,18 @@ public Builder setLanguageCodeBytes(
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ - @java.lang.Override public int getUnitsValue() { + @java.lang.Override + public int getUnitsValue() { return units_; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2964,17 +3569,21 @@ public Builder setLanguageCodeBytes(
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ public Builder setUnitsValue(int value) { - + units_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -2983,7 +3592,9 @@ public Builder setUnitsValue(int value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ @java.lang.Override @@ -2993,6 +3604,8 @@ public com.google.maps.routing.v2.Units getUnits() { return result == null ? com.google.maps.routing.v2.Units.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3001,7 +3614,9 @@ public com.google.maps.routing.v2.Units getUnits() {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The units to set. * @return This builder for chaining. */ @@ -3009,12 +3624,14 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) { if (value == null) { throw new NullPointerException(); } - + units_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. Specifies the units of measure for the display fields. This
      * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -3023,25 +3640,31 @@ public Builder setUnits(com.google.maps.routing.v2.Units value) {
      * units are inferred from the location of the request.
      * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { - + units_ = 0; onChanged(); return this; } private java.util.List requestedReferenceRoutes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRequestedReferenceRoutesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - requestedReferenceRoutes_ = new java.util.ArrayList(requestedReferenceRoutes_); + requestedReferenceRoutes_ = + new java.util.ArrayList(requestedReferenceRoutes_); bitField0_ |= 0x00000002; } } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3050,14 +3673,21 @@ private void ensureRequestedReferenceRoutesIsMutable() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ - public java.util.List getRequestedReferenceRoutesList() { + public java.util.List + getRequestedReferenceRoutesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>(requestedReferenceRoutes_, requestedReferenceRoutes_converter_); + java.lang.Integer, com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute>( + requestedReferenceRoutes_, requestedReferenceRoutes_converter_); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3066,13 +3696,18 @@ public java.util.List
      *
-     * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     *
      * @return The count of requestedReferenceRoutes.
      */
     public int getRequestedReferenceRoutesCount() {
       return requestedReferenceRoutes_.size();
     }
     /**
+     *
+     *
      * 
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3081,14 +3716,20 @@ public int getRequestedReferenceRoutesCount() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index) { + public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute + getRequestedReferenceRoutes(int index) { return requestedReferenceRoutes_converter_.convert(requestedReferenceRoutes_.get(index)); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3097,7 +3738,10 @@ public com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequest
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The requestedReferenceRoutes to set. * @return This builder for chaining. @@ -3113,6 +3757,8 @@ public Builder setRequestedReferenceRoutes( return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3121,11 +3767,15 @@ public Builder setRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The requestedReferenceRoutes to add. * @return This builder for chaining. */ - public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { + public Builder addRequestedReferenceRoutes( + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value) { if (value == null) { throw new NullPointerException(); } @@ -3135,6 +3785,8 @@ public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRou return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3143,12 +3795,16 @@ public Builder addRequestedReferenceRoutes(com.google.maps.routing.v2.ComputeRou
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The requestedReferenceRoutes to add. * @return This builder for chaining. */ public Builder addAllRequestedReferenceRoutes( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureRequestedReferenceRoutesIsMutable(); for (com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute value : values) { requestedReferenceRoutes_.add(value.getNumber()); @@ -3157,6 +3813,8 @@ public Builder addAllRequestedReferenceRoutes( return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3165,7 +3823,10 @@ public Builder addAllRequestedReferenceRoutes(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRequestedReferenceRoutes() { @@ -3175,6 +3836,8 @@ public Builder clearRequestedReferenceRoutes() { return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3183,14 +3846,18 @@ public Builder clearRequestedReferenceRoutes() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - public java.util.List - getRequestedReferenceRoutesValueList() { + public java.util.List getRequestedReferenceRoutesValueList() { return java.util.Collections.unmodifiableList(requestedReferenceRoutes_); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3199,7 +3866,10 @@ public Builder clearRequestedReferenceRoutes() {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ @@ -3207,6 +3877,8 @@ public int getRequestedReferenceRoutesValue(int index) { return requestedReferenceRoutes_.get(index); } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3215,19 +3887,23 @@ public int getRequestedReferenceRoutesValue(int index) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for requestedReferenceRoutes to set. * @return This builder for chaining. */ - public Builder setRequestedReferenceRoutesValue( - int index, int value) { + public Builder setRequestedReferenceRoutesValue(int index, int value) { ensureRequestedReferenceRoutesIsMutable(); requestedReferenceRoutes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3236,7 +3912,10 @@ public Builder setRequestedReferenceRoutesValue(
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3247,6 +3926,8 @@ public Builder addRequestedReferenceRoutesValue(int value) { return this; } /** + * + * *
      * Optional. Specifies what reference routes to calculate as part of the
      * request in addition to the default route. A reference route is a route with
@@ -3255,7 +3936,10 @@ public Builder addRequestedReferenceRoutesValue(int value) {
      * parameters that would generate an optimal fuel efficient route.
      * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The enum numeric values on the wire for requestedReferenceRoutes to add. * @return This builder for chaining. */ @@ -3268,9 +3952,9 @@ public Builder addAllRequestedReferenceRoutesValue( 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); } @@ -3280,12 +3964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesRequest) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesRequest) private static final com.google.maps.routing.v2.ComputeRoutesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesRequest(); } @@ -3294,27 +3978,27 @@ public static com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComputeRoutesRequest 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 ComputeRoutesRequest 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; @@ -3329,6 +4013,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.ComputeRoutesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java index 2128020ce5da..35780b38fcc4 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesRequestOrBuilder.java @@ -1,140 +1,211 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface ComputeRoutesRequestOrBuilder extends +public interface ComputeRoutesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the origin field is set. */ boolean hasOrigin(); /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The origin. */ com.google.maps.routing.v2.Waypoint getOrigin(); /** + * + * *
    * Required. Origin waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint origin = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getOriginOrBuilder(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the destination field is set. */ boolean hasDestination(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The destination. */ com.google.maps.routing.v2.Waypoint getDestination(); /** + * + * *
    * Required. Destination waypoint.
    * 
* - * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint destination = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getDestinationOrBuilder(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getIntermediatesList(); + java.util.List getIntermediatesList(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.Waypoint getIntermediates(int index); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getIntermediatesCount(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getIntermediatesOrBuilderList(); /** + * + * *
    * Optional. A set of waypoints along the route (excluding terminal points),
    * for either stopping at or passing by. Up to 25 intermediate waypoints are
    * supported.
    * 
* - * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.Waypoint intermediates = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder( - int index); + com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(int index); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for travelMode. */ int getTravelModeValue(); /** + * + * *
    * Optional. Specifies the mode of transportation.
    * 
* - * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteTravelMode travel_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The travelMode. */ com.google.maps.routing.v2.RouteTravelMode getTravelMode(); /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -143,11 +214,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for routingPreference. */ int getRoutingPreferenceValue(); /** + * + * *
    * Optional. Specifies how to compute the route. The server
    * attempts to use the selected routing preference to compute the route. If
@@ -156,124 +232,177 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * `travel_mode` is `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
    * 
* - * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RoutingPreference routing_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routingPreference. */ com.google.maps.routing.v2.RoutingPreference getRoutingPreference(); /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineQuality. */ int getPolylineQualityValue(); /** + * + * *
    * Optional. Specifies your preference for the quality of the polyline.
    * 
* - * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineQuality polyline_quality = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineQuality. */ com.google.maps.routing.v2.PolylineQuality getPolylineQuality(); /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for polylineEncoding. */ int getPolylineEncodingValue(); /** + * + * *
    * Optional. Specifies the preferred encoding for the polyline.
    * 
* - * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.PolylineEncoding polyline_encoding = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The polylineEncoding. */ com.google.maps.routing.v2.PolylineEncoding getPolylineEncoding(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The departureTime. */ com.google.protobuf.Timestamp getDepartureTime(); /** + * + * *
    * Optional. The departure time. If you don't set this value, then this value
    * defaults to the time that you made the request. If you set this value to a
    * time that has already occurred, then the request fails.
    * 
* - * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Timestamp departure_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder(); /** + * + * *
    * Optional. Specifies whether to calculate alternate routes in addition to
    * the route.
    * 
* * bool compute_alternative_routes = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The computeAlternativeRoutes. */ boolean getComputeAlternativeRoutes(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** + * + * *
    * Optional. A set of conditions to satisfy that affect the way routes are
    * calculated.
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -284,10 +413,13 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    * information, see
@@ -298,12 +430,14 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * 
* * string language_code = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -312,11 +446,15 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for units. */ int getUnitsValue(); /** + * + * *
    * Optional. Specifies the units of measure for the display fields. This
    * includes the `instruction` field in `NavigationInstruction`. The units of
@@ -325,12 +463,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * units are inferred from the location of the request.
    * 
* - * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.maps.routing.v2.Units units = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The units. */ com.google.maps.routing.v2.Units getUnits(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -339,11 +481,17 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requestedReferenceRoutes. */ - java.util.List getRequestedReferenceRoutesList(); + java.util.List + getRequestedReferenceRoutesList(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -352,11 +500,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requestedReferenceRoutes. */ int getRequestedReferenceRoutesCount(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -365,12 +518,18 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requestedReferenceRoutes at the given index. */ - com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes(int index); + com.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute getRequestedReferenceRoutes( + int index); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -379,12 +538,16 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the enum numeric values on the wire for requestedReferenceRoutes. */ - java.util.List - getRequestedReferenceRoutesValueList(); + java.util.List getRequestedReferenceRoutesValueList(); /** + * + * *
    * Optional. Specifies what reference routes to calculate as part of the
    * request in addition to the default route. A reference route is a route with
@@ -393,7 +556,10 @@ com.google.maps.routing.v2.WaypointOrBuilder getIntermediatesOrBuilder(
    * parameters that would generate an optimal fuel efficient route.
    * 
* - * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute requested_reference_routes = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of requestedReferenceRoutes at the given index. */ diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java index 32283f083a49..79b113ddb84e 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponse.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * ComputeRoutes the response message.
  * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ -public final class ComputeRoutesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComputeRoutesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.ComputeRoutesResponse) ComputeRoutesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComputeRoutesResponse.newBuilder() to construct. private ComputeRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComputeRoutesResponse() { routes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComputeRoutesResponse(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, + com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } public static final int ROUTES_FIELD_NUMBER = 1; private java.util.List routes_; /** + * + * *
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -66,6 +87,8 @@ public java.util.List getRoutesList() {
     return routes_;
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -77,11 +100,13 @@ public java.util.List getRoutesList() {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRoutesOrBuilderList() {
     return routes_;
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -97,6 +122,8 @@ public int getRoutesCount() {
     return routes_.size();
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -112,6 +139,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
     return routes_.get(index);
   }
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -123,14 +152,15 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
     return routes_.get(index);
   }
 
   public static final int FALLBACK_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -139,6 +169,7 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -146,6 +177,8 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -154,13 +187,18 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -176,6 +214,7 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,8 +226,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 {
     for (int i = 0; i < routes_.size(); i++) {
       output.writeMessage(1, routes_.get(i));
     }
@@ -205,12 +243,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < routes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, routes_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFallbackInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,19 +256,18 @@ 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.routing.v2.ComputeRoutesResponse)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.ComputeRoutesResponse other = (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
+    com.google.maps.routing.v2.ComputeRoutesResponse other =
+        (com.google.maps.routing.v2.ComputeRoutesResponse) obj;
 
-    if (!getRoutesList()
-        .equals(other.getRoutesList())) return false;
+    if (!getRoutesList().equals(other.getRoutesList())) return false;
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo()
-          .equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -258,130 +293,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.ComputeRoutesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse 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;
   }
   /**
+   *
+   *
    * 
    * ComputeRoutes the response message.
    * 
* * Protobuf type {@code google.maps.routing.v2.ComputeRoutesResponse} */ - 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.routing.v2.ComputeRoutesResponse) com.google.maps.routing.v2.ComputeRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.ComputeRoutesResponse.class, com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); + com.google.maps.routing.v2.ComputeRoutesResponse.class, + com.google.maps.routing.v2.ComputeRoutesResponse.Builder.class); } // Construct using com.google.maps.routing.v2.ComputeRoutesResponse.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(); @@ -402,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; } @java.lang.Override @@ -423,7 +464,8 @@ public com.google.maps.routing.v2.ComputeRoutesResponse build() { @java.lang.Override public com.google.maps.routing.v2.ComputeRoutesResponse buildPartial() { - com.google.maps.routing.v2.ComputeRoutesResponse result = new com.google.maps.routing.v2.ComputeRoutesResponse(this); + com.google.maps.routing.v2.ComputeRoutesResponse result = + new com.google.maps.routing.v2.ComputeRoutesResponse(this); int from_bitField0_ = bitField0_; if (routesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -447,38 +489,39 @@ public com.google.maps.routing.v2.ComputeRoutesResponse 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.routing.v2.ComputeRoutesResponse) { - return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse)other); + return mergeFrom((com.google.maps.routing.v2.ComputeRoutesResponse) other); } else { super.mergeFrom(other); return this; @@ -486,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) { - if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.ComputeRoutesResponse.getDefaultInstance()) + return this; if (routesBuilder_ == null) { if (!other.routes_.isEmpty()) { if (routes_.isEmpty()) { @@ -505,9 +549,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.ComputeRoutesResponse other) routesBuilder_ = null; routes_ = other.routes_; bitField0_ = (bitField0_ & ~0x00000001); - routesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRoutesFieldBuilder() : null; + routesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRoutesFieldBuilder() + : null; } else { routesBuilder_.addAllMessages(other.routes_); } @@ -542,32 +587,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.maps.routing.v2.Route m = - input.readMessage( - com.google.maps.routing.v2.Route.parser(), - extensionRegistry); - if (routesBuilder_ == null) { - ensureRoutesIsMutable(); - routes_.add(m); - } else { - routesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getFallbackInfoFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.maps.routing.v2.Route m = + input.readMessage(com.google.maps.routing.v2.Route.parser(), extensionRegistry); + if (routesBuilder_ == null) { + ensureRoutesIsMutable(); + routes_.add(m); + } else { + routesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry); - 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) { @@ -577,21 +621,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List routes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRoutesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routes_ = new java.util.ArrayList(routes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> routesBuilder_; + com.google.maps.routing.v2.Route, + com.google.maps.routing.v2.Route.Builder, + com.google.maps.routing.v2.RouteOrBuilder> + routesBuilder_; /** + * + * *
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -610,6 +661,8 @@ public java.util.List getRoutesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -628,6 +681,8 @@ public int getRoutesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -646,6 +701,8 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -656,8 +713,7 @@ public com.google.maps.routing.v2.Route getRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(
-        int index, com.google.maps.routing.v2.Route value) {
+    public Builder setRoutes(int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -671,6 +727,8 @@ public Builder setRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -681,8 +739,7 @@ public Builder setRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder setRoutes(
-        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder setRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.set(index, builderForValue.build());
@@ -693,6 +750,8 @@ public Builder setRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -717,6 +776,8 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -727,8 +788,7 @@ public Builder addRoutes(com.google.maps.routing.v2.Route value) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        int index, com.google.maps.routing.v2.Route value) {
+    public Builder addRoutes(int index, com.google.maps.routing.v2.Route value) {
       if (routesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -742,6 +802,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -752,8 +814,7 @@ public Builder addRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(builderForValue.build());
@@ -764,6 +825,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -774,8 +837,7 @@ public Builder addRoutes(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public Builder addRoutes(
-        int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
+    public Builder addRoutes(int index, com.google.maps.routing.v2.Route.Builder builderForValue) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
         routes_.add(index, builderForValue.build());
@@ -786,6 +848,8 @@ public Builder addRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -800,8 +864,7 @@ public Builder addAllRoutes(
         java.lang.Iterable values) {
       if (routesBuilder_ == null) {
         ensureRoutesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, routes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routes_);
         onChanged();
       } else {
         routesBuilder_.addAllMessages(values);
@@ -809,6 +872,8 @@ public Builder addAllRoutes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -830,6 +895,8 @@ public Builder clearRoutes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -851,6 +918,8 @@ public Builder removeRoutes(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -861,11 +930,12 @@ public Builder removeRoutes(int index) {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
-        int index) {
+    public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(int index) {
       return getRoutesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -876,14 +946,16 @@ public com.google.maps.routing.v2.Route.Builder getRoutesBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index) {
       if (routesBuilder_ == null) {
-        return routes_.get(index);  } else {
+        return routes_.get(index);
+      } else {
         return routesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -894,8 +966,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List 
-         getRoutesOrBuilderList() {
+    public java.util.List
+        getRoutesOrBuilderList() {
       if (routesBuilder_ != null) {
         return routesBuilder_.getMessageOrBuilderList();
       } else {
@@ -903,6 +975,8 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -914,10 +988,12 @@ public com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
     public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
-      return getRoutesFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.Route.getDefaultInstance());
+      return getRoutesFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -928,12 +1004,13 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder() {
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
-        int index) {
-      return getRoutesFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.Route.getDefaultInstance());
+    public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(int index) {
+      return getRoutesFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.Route.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains an array of computed routes (up to three) when you specify
      * compute_alternatives_routes, and contains just one route when you don't.
@@ -944,20 +1021,22 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
      *
      * repeated .google.maps.routing.v2.Route routes = 1;
      */
-    public java.util.List 
-         getRoutesBuilderList() {
+    public java.util.List getRoutesBuilderList() {
       return getRoutesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder> 
+            com.google.maps.routing.v2.Route,
+            com.google.maps.routing.v2.Route.Builder,
+            com.google.maps.routing.v2.RouteOrBuilder>
         getRoutesFieldBuilder() {
       if (routesBuilder_ == null) {
-        routesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.Route, com.google.maps.routing.v2.Route.Builder, com.google.maps.routing.v2.RouteOrBuilder>(
-                routes_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        routesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.Route,
+                com.google.maps.routing.v2.Route.Builder,
+                com.google.maps.routing.v2.RouteOrBuilder>(
+                routes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         routes_ = null;
       }
       return routesBuilder_;
@@ -965,8 +1044,13 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        fallbackInfoBuilder_;
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -975,12 +1059,15 @@ public com.google.maps.routing.v2.Route.Builder addRoutesBuilder(
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** + * + * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -989,16 +1076,21 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** + * + * *
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1022,6 +1114,8 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1043,6 +1137,8 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1056,7 +1152,9 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1068,6 +1166,8 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1089,6 +1189,8 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1099,11 +1201,13 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-      
+
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1117,11 +1221,14 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null ?
-            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
+        return fallbackInfo_ == null
+            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
+            : fallbackInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route results with
      * all of the input preferences, it may fallback to using a different way of
@@ -1132,21 +1239,24 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(),
-                getParentForChildren(),
-                isClean());
+        fallbackInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.FallbackInfo,
+                com.google.maps.routing.v2.FallbackInfo.Builder,
+                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(), getParentForChildren(), isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
+
     @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);
     }
 
@@ -1156,12 +1266,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.ComputeRoutesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.ComputeRoutesResponse)
   private static final com.google.maps.routing.v2.ComputeRoutesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.ComputeRoutesResponse();
   }
@@ -1170,27 +1280,27 @@ public static com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ComputeRoutesResponse 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 ComputeRoutesResponse 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;
@@ -1205,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.ComputeRoutesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
index 49e6d8b70374..aacbe14e3748 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ComputeRoutesResponseOrBuilder.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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface ComputeRoutesResponseOrBuilder extends
+public interface ComputeRoutesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.ComputeRoutesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -18,9 +36,10 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List 
-      getRoutesList();
+  java.util.List getRoutesList();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -33,6 +52,8 @@ public interface ComputeRoutesResponseOrBuilder extends
    */
   com.google.maps.routing.v2.Route getRoutes(int index);
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -45,6 +66,8 @@ public interface ComputeRoutesResponseOrBuilder extends
    */
   int getRoutesCount();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -55,9 +78,10 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  java.util.List 
-      getRoutesOrBuilderList();
+  java.util.List getRoutesOrBuilderList();
   /**
+   *
+   *
    * 
    * Contains an array of computed routes (up to three) when you specify
    * compute_alternatives_routes, and contains just one route when you don't.
@@ -68,10 +92,11 @@ public interface ComputeRoutesResponseOrBuilder extends
    *
    * repeated .google.maps.routing.v2.Route routes = 1;
    */
-  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -80,10 +105,13 @@ com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
@@ -92,10 +120,13 @@ com.google.maps.routing.v2.RouteOrBuilder getRoutesOrBuilder(
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 2; + * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route results with
    * all of the input preferences, it may fallback to using a different way of
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
similarity index 69%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
index 3b5f07f7ec1d..81f93112455e 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfo.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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Information related to how and why a fallback result was used. If this field
  * is set, then it means the server used a different routing mode from your
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
  */
-public final class FallbackInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FallbackInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.FallbackInfo)
     FallbackInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FallbackInfo.newBuilder() to construct.
   private FallbackInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FallbackInfo() {
     routingMode_ = 0;
     reason_ = 0;
@@ -28,32 +46,35 @@ private FallbackInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FallbackInfo();
   }
 
   @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.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.FallbackInfoProto
+        .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.FallbackInfoProto
+        .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
+            com.google.maps.routing.v2.FallbackInfo.class,
+            com.google.maps.routing.v2.FallbackInfo.Builder.class);
   }
 
   public static final int ROUTING_MODE_FIELD_NUMBER = 1;
   private int routingMode_;
   /**
+   *
+   *
    * 
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -61,12 +82,16 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override public int getRoutingModeValue() { + @java.lang.Override + public int getRoutingModeValue() { return routingMode_; } /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -74,17 +99,22 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ - @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { + @java.lang.Override + public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = + com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } public static final int REASON_FIELD_NUMBER = 2; private int reason_; /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -92,12 +122,16 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -105,15 +139,19 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ - @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { + @java.lang.Override + public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = + com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,12 +163,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (routingMode_ + != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, routingMode_); } - if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + if (reason_ + != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { output.writeEnum(2, reason_); } getUnknownFields().writeTo(output); @@ -142,13 +182,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (routingMode_ != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, routingMode_); + if (routingMode_ + != com.google.maps.routing.v2.FallbackRoutingMode.FALLBACK_ROUTING_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routingMode_); } - if (reason_ != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reason_); + if (reason_ + != com.google.maps.routing.v2.FallbackReason.FALLBACK_REASON_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -158,7 +199,7 @@ 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.routing.v2.FallbackInfo)) { return super.equals(obj); @@ -187,97 +228,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.FallbackInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.FallbackInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.FallbackInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo 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; } /** + * + * *
    * Information related to how and why a fallback result was used. If this field
    * is set, then it means the server used a different routing mode from your
@@ -286,33 +334,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.FallbackInfo}
    */
-  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.routing.v2.FallbackInfo)
       com.google.maps.routing.v2.FallbackInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.FallbackInfo.class, com.google.maps.routing.v2.FallbackInfo.Builder.class);
+              com.google.maps.routing.v2.FallbackInfo.class,
+              com.google.maps.routing.v2.FallbackInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.FallbackInfo.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();
@@ -324,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.FallbackInfoProto.internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.FallbackInfoProto
+          .internal_static_google_maps_routing_v2_FallbackInfo_descriptor;
     }
 
     @java.lang.Override
@@ -345,7 +392,8 @@ public com.google.maps.routing.v2.FallbackInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.FallbackInfo buildPartial() {
-      com.google.maps.routing.v2.FallbackInfo result = new com.google.maps.routing.v2.FallbackInfo(this);
+      com.google.maps.routing.v2.FallbackInfo result =
+          new com.google.maps.routing.v2.FallbackInfo(this);
       result.routingMode_ = routingMode_;
       result.reason_ = reason_;
       onBuilt();
@@ -356,38 +404,39 @@ public com.google.maps.routing.v2.FallbackInfo 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.routing.v2.FallbackInfo) {
-        return mergeFrom((com.google.maps.routing.v2.FallbackInfo)other);
+        return mergeFrom((com.google.maps.routing.v2.FallbackInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -428,22 +477,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              routingMode_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 16: {
-              reason_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                routingMode_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                reason_ = input.readEnum();
+
+                break;
+              } // case 16
+            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) {
@@ -456,6 +508,8 @@ public Builder mergeFrom(
 
     private int routingMode_ = 0;
     /**
+     *
+     *
      * 
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -463,12 +517,16 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ - @java.lang.Override public int getRoutingModeValue() { + @java.lang.Override + public int getRoutingModeValue() { return routingMode_; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -476,16 +534,19 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @param value The enum numeric value on the wire for routingMode to set. * @return This builder for chaining. */ public Builder setRoutingModeValue(int value) { - + routingMode_ = value; onChanged(); return this; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -493,15 +554,19 @@ public Builder setRoutingModeValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ @java.lang.Override public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackRoutingMode result = com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); + com.google.maps.routing.v2.FallbackRoutingMode result = + com.google.maps.routing.v2.FallbackRoutingMode.valueOf(routingMode_); return result == null ? com.google.maps.routing.v2.FallbackRoutingMode.UNRECOGNIZED : result; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -509,6 +574,7 @@ public com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @param value The routingMode to set. * @return This builder for chaining. */ @@ -516,12 +582,14 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val if (value == null) { throw new NullPointerException(); } - + routingMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Routing mode used for the response. If fallback was triggered, the mode
      * may be different from routing preference set in the original client
@@ -529,10 +597,11 @@ public Builder setRoutingMode(com.google.maps.routing.v2.FallbackRoutingMode val
      * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return This builder for chaining. */ public Builder clearRoutingMode() { - + routingMode_ = 0; onChanged(); return this; @@ -540,6 +609,8 @@ public Builder clearRoutingMode() { private int reason_ = 0; /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -547,12 +618,16 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -560,16 +635,19 @@ public Builder clearRoutingMode() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { - + reason_ = value; onChanged(); return this; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -577,15 +655,19 @@ public Builder setReasonValue(int value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ @java.lang.Override public com.google.maps.routing.v2.FallbackReason getReason() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.FallbackReason result = com.google.maps.routing.v2.FallbackReason.valueOf(reason_); + com.google.maps.routing.v2.FallbackReason result = + com.google.maps.routing.v2.FallbackReason.valueOf(reason_); return result == null ? com.google.maps.routing.v2.FallbackReason.UNRECOGNIZED : result; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -593,6 +675,7 @@ public com.google.maps.routing.v2.FallbackReason getReason() {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @param value The reason to set. * @return This builder for chaining. */ @@ -600,12 +683,14 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) { if (value == null) { throw new NullPointerException(); } - + reason_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The reason why fallback response was used instead of the original response.
      * This field is only populated when the fallback mode is triggered and the
@@ -613,17 +698,18 @@ public Builder setReason(com.google.maps.routing.v2.FallbackReason value) {
      * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; 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); } @@ -633,12 +719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.FallbackInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.FallbackInfo) private static final com.google.maps.routing.v2.FallbackInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.FallbackInfo(); } @@ -647,27 +733,27 @@ public static com.google.maps.routing.v2.FallbackInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FallbackInfo 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 FallbackInfo 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; @@ -682,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.FallbackInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java similarity index 72% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java index eab36a068616..109280a99d17 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoOrBuilder.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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; -public interface FallbackInfoOrBuilder extends +public interface FallbackInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.FallbackInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -15,10 +33,13 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The enum numeric value on the wire for routingMode. */ int getRoutingModeValue(); /** + * + * *
    * Routing mode used for the response. If fallback was triggered, the mode
    * may be different from routing preference set in the original client
@@ -26,11 +47,14 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1; + * * @return The routingMode. */ com.google.maps.routing.v2.FallbackRoutingMode getRoutingMode(); /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -38,10 +62,13 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** + * + * *
    * The reason why fallback response was used instead of the original response.
    * This field is only populated when the fallback mode is triggered and the
@@ -49,6 +76,7 @@ public interface FallbackInfoOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackReason reason = 2; + * * @return The reason. */ com.google.maps.routing.v2.FallbackReason getReason(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java new file mode 100644 index 000000000000..a7ea937c97bb --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java @@ -0,0 +1,74 @@ +/* + * 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/routing/v2/fallback_info.proto + +package com.google.maps.routing.v2; + +public final class FallbackInfoProto { + private FallbackInfoProto() {} + + 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_routing_v2_FallbackInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + + "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + + "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + + "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + + "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + + "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + + "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + + "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + + "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + + "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + + "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + + "routing.v2B\021FallbackInfoProtoP\001Z=google." + + "golang.org/genproto/googleapis/maps/rout" + + "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + + "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + + "ogle::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_routing_v2_FallbackInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_FallbackInfo_descriptor, + new java.lang.String[] { + "RoutingMode", "Reason", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java index c9b91da581c9..4c4557ffaed8 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackReason.java @@ -1,18 +1,36 @@ +/* + * 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/routing/v2/fallback_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Reasons for using fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackReason} */ -public enum FallbackReason - implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackReason implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No fallback reason specified.
    * 
@@ -21,6 +39,8 @@ public enum FallbackReason */ FALLBACK_REASON_UNSPECIFIED(0), /** + * + * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -31,6 +51,8 @@ public enum FallbackReason
    */
   SERVER_ERROR(1),
   /**
+   *
+   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -44,6 +66,8 @@ public enum FallbackReason
   ;
 
   /**
+   *
+   *
    * 
    * No fallback reason specified.
    * 
@@ -52,6 +76,8 @@ public enum FallbackReason */ public static final int FALLBACK_REASON_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A server error happened while calculating routes with your preferred
    * routing mode, but we were able to return a result calculated by an
@@ -62,6 +88,8 @@ public enum FallbackReason
    */
   public static final int SERVER_ERROR_VALUE = 1;
   /**
+   *
+   *
    * 
    * We were not able to finish the calculation with your preferred routing mode
    * on time, but we were able to return a result calculated by an alternative
@@ -72,7 +100,6 @@ public enum FallbackReason
    */
   public static final int LATENCY_EXCEEDED_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -97,49 +124,49 @@ public static FallbackReason valueOf(int value) {
    */
   public static FallbackReason forNumber(int value) {
     switch (value) {
-      case 0: return FALLBACK_REASON_UNSPECIFIED;
-      case 1: return SERVER_ERROR;
-      case 2: return LATENCY_EXCEEDED;
-      default: return null;
+      case 0:
+        return FALLBACK_REASON_UNSPECIFIED;
+      case 1:
+        return SERVER_ERROR;
+      case 2:
+        return LATENCY_EXCEEDED;
+      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<
-      FallbackReason> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FallbackReason findValueByNumber(int number) {
-            return FallbackReason.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 FallbackReason findValueByNumber(int number) {
+          return FallbackReason.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final FallbackReason[] VALUES = values();
 
-  public static FallbackReason valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static FallbackReason 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;
@@ -155,4 +182,3 @@ private FallbackReason(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackReason)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
similarity index 70%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
index da291a274980..caa8b5d34cf9 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackRoutingMode.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/fallback_info.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Actual routing mode used for returned fallback response.
  * 
* * Protobuf enum {@code google.maps.routing.v2.FallbackRoutingMode} */ -public enum FallbackRoutingMode - implements com.google.protobuf.ProtocolMessageEnum { +public enum FallbackRoutingMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used.
    * 
@@ -21,6 +39,8 @@ public enum FallbackRoutingMode */ FALLBACK_ROUTING_MODE_UNSPECIFIED(0), /** + * + * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -30,6 +50,8 @@ public enum FallbackRoutingMode
    */
   FALLBACK_TRAFFIC_UNAWARE(1),
   /**
+   *
+   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -42,6 +64,8 @@ public enum FallbackRoutingMode
   ;
 
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -50,6 +74,8 @@ public enum FallbackRoutingMode */ public static final int FALLBACK_ROUTING_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the
    * response.
@@ -59,6 +85,8 @@ public enum FallbackRoutingMode
    */
   public static final int FALLBACK_TRAFFIC_UNAWARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Indicates the "TRAFFIC_AWARE" routing mode was used to compute the
    * response.
@@ -68,7 +96,6 @@ public enum FallbackRoutingMode
    */
   public static final int FALLBACK_TRAFFIC_AWARE_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,10 +120,14 @@ public static FallbackRoutingMode valueOf(int value) {
    */
   public static FallbackRoutingMode forNumber(int value) {
     switch (value) {
-      case 0: return FALLBACK_ROUTING_MODE_UNSPECIFIED;
-      case 1: return FALLBACK_TRAFFIC_UNAWARE;
-      case 2: return FALLBACK_TRAFFIC_AWARE;
-      default: return null;
+      case 0:
+        return FALLBACK_ROUTING_MODE_UNSPECIFIED;
+      case 1:
+        return FALLBACK_TRAFFIC_UNAWARE;
+      case 2:
+        return FALLBACK_TRAFFIC_AWARE;
+      default:
+        return null;
     }
   }
 
@@ -104,28 +135,28 @@ public static FallbackRoutingMode forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      FallbackRoutingMode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FallbackRoutingMode findValueByNumber(int number) {
-            return FallbackRoutingMode.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 FallbackRoutingMode findValueByNumber(int number) {
+              return FallbackRoutingMode.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.routing.v2.FallbackInfoProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -134,8 +165,7 @@ public FallbackRoutingMode findValueByNumber(int number) {
   public static FallbackRoutingMode 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;
@@ -151,4 +181,3 @@ private FallbackRoutingMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.FallbackRoutingMode)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
similarity index 73%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
index a5edc9ef18bc..dfde9cbbf63c 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Location.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a location (a geographic point, and an optional heading).
  * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { - } + + private Location() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @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.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, + com.google.maps.routing.v2.Location.Builder.class); } public static final int LAT_LNG_FIELD_NUMBER = 1; private com.google.type.LatLng latLng_; /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The waypoint's geographic coordinates.
    * 
@@ -88,6 +114,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int HEADING_FIELD_NUMBER = 2; private com.google.protobuf.Int32Value heading_; /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -97,6 +125,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ @java.lang.Override @@ -104,6 +133,8 @@ public boolean hasHeading() { return heading_ != null; } /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -113,6 +144,7 @@ public boolean hasHeading() {
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ @java.lang.Override @@ -120,6 +152,8 @@ public com.google.protobuf.Int32Value getHeading() { return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_; } /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -136,6 +170,7 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,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 (latLng_ != null) {
       output.writeMessage(1, getLatLng());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (latLng_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getLatLng());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLatLng());
     }
     if (heading_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getHeading());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getHeading());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,7 +212,7 @@ 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.routing.v2.Location)) {
       return super.equals(obj);
@@ -189,13 +221,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasLatLng() != other.hasLatLng()) return false;
     if (hasLatLng()) {
-      if (!getLatLng()
-          .equals(other.getLatLng())) return false;
+      if (!getLatLng().equals(other.getLatLng())) return false;
     }
     if (hasHeading() != other.hasHeading()) return false;
     if (hasHeading()) {
-      if (!getHeading()
-          .equals(other.getHeading())) return false;
+      if (!getHeading().equals(other.getHeading())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +251,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Location parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Location parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.Location parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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.routing.v2.Location 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a location (a geographic point, and an optional heading).
    * 
* * Protobuf type {@code google.maps.routing.v2.Location} */ - 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.routing.v2.Location) com.google.maps.routing.v2.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_fieldAccessorTable + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Location.class, com.google.maps.routing.v2.Location.Builder.class); + com.google.maps.routing.v2.Location.class, + com.google.maps.routing.v2.Location.Builder.class); } // Construct using com.google.maps.routing.v2.Location.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(); @@ -364,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.LocationProto.internal_static_google_maps_routing_v2_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.LocationProto + .internal_static_google_maps_routing_v2_Location_descriptor; } @java.lang.Override @@ -404,38 +439,39 @@ public com.google.maps.routing.v2.Location 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.routing.v2.Location) { - return mergeFrom((com.google.maps.routing.v2.Location)other); + return mergeFrom((com.google.maps.routing.v2.Location) other); } else { super.mergeFrom(other); return this; @@ -476,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getHeadingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getHeadingFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -508,24 +543,31 @@ public Builder mergeFrom( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -536,6 +578,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -556,14 +600,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
* * .google.type.LatLng lat_lng = 1; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -574,6 +619,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -583,8 +630,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -596,6 +642,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -614,6 +662,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -621,11 +671,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 1; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -636,11 +688,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * The waypoint's geographic coordinates.
      * 
@@ -648,14 +701,14 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 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> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; @@ -663,8 +716,13 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { private com.google.protobuf.Int32Value heading_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> headingBuilder_; + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + headingBuilder_; /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -674,12 +732,15 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ public boolean hasHeading() { return headingBuilder_ != null || heading_ != null; } /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -689,6 +750,7 @@ public boolean hasHeading() {
      * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ public com.google.protobuf.Int32Value getHeading() { @@ -699,6 +761,8 @@ public com.google.protobuf.Int32Value getHeading() { } } /** + * + * *
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -723,6 +787,8 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -733,8 +799,7 @@ public Builder setHeading(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value heading = 2;
      */
-    public Builder setHeading(
-        com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setHeading(com.google.protobuf.Int32Value.Builder builderForValue) {
       if (headingBuilder_ == null) {
         heading_ = builderForValue.build();
         onChanged();
@@ -745,6 +810,8 @@ public Builder setHeading(
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -759,7 +826,7 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       if (headingBuilder_ == null) {
         if (heading_ != null) {
           heading_ =
-            com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int32Value.newBuilder(heading_).mergeFrom(value).buildPartial();
         } else {
           heading_ = value;
         }
@@ -771,6 +838,8 @@ public Builder mergeHeading(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -793,6 +862,8 @@ public Builder clearHeading() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -804,11 +875,13 @@ public Builder clearHeading() {
      * .google.protobuf.Int32Value heading = 2;
      */
     public com.google.protobuf.Int32Value.Builder getHeadingBuilder() {
-      
+
       onChanged();
       return getHeadingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -823,11 +896,12 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
       if (headingBuilder_ != null) {
         return headingBuilder_.getMessageOrBuilder();
       } else {
-        return heading_ == null ?
-            com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
+        return heading_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : heading_;
       }
     }
     /**
+     *
+     *
      * 
      * The compass heading associated with the direction of the flow of traffic.
      * This value is used to specify the side of the road to use for pickup and
@@ -839,21 +913,24 @@ public com.google.protobuf.Int32ValueOrBuilder getHeadingOrBuilder() {
      * .google.protobuf.Int32Value heading = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
+            com.google.protobuf.Int32Value,
+            com.google.protobuf.Int32Value.Builder,
+            com.google.protobuf.Int32ValueOrBuilder>
         getHeadingFieldBuilder() {
       if (headingBuilder_ == null) {
-        headingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
-                getHeading(),
-                getParentForChildren(),
-                isClean());
+        headingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int32Value,
+                com.google.protobuf.Int32Value.Builder,
+                com.google.protobuf.Int32ValueOrBuilder>(
+                getHeading(), getParentForChildren(), isClean());
         heading_ = null;
       }
       return headingBuilder_;
     }
+
     @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);
     }
 
@@ -863,12 +940,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Location)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Location)
   private static final com.google.maps.routing.v2.Location DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Location();
   }
@@ -877,27 +954,27 @@ public static com.google.maps.routing.v2.Location getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Location 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 Location 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;
@@ -912,6 +989,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Location getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
index 6e984768bab2..58e544a661c5 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationOrBuilder.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/routing/v2/location.proto
 
 package com.google.maps.routing.v2;
 
-public interface LocationOrBuilder extends
+public interface LocationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Location)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The waypoint's geographic coordinates.
    * 
* * .google.type.LatLng lat_lng = 1; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The waypoint's geographic coordinates.
    * 
@@ -35,6 +59,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -44,10 +70,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return Whether the heading field is set. */ boolean hasHeading(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
@@ -57,10 +86,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.protobuf.Int32Value heading = 2; + * * @return The heading. */ com.google.protobuf.Int32Value getHeading(); /** + * + * *
    * The compass heading associated with the direction of the flow of traffic.
    * This value is used to specify the side of the road to use for pickup and
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
new file mode 100644
index 000000000000..6c97294ff432
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java
@@ -0,0 +1,75 @@
+/*
+ * 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/routing/v2/location.proto
+
+package com.google.maps.routing.v2;
+
+public final class LocationProto {
+  private LocationProto() {}
+
+  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_routing_v2_Location_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022"
+          + "\026google.maps.routing.v2\032\036google/protobuf"
+          + "/wrappers.proto\032\030google/type/latlng.prot"
+          + "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google."
+          + "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr"
+          + "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro"
+          + "uting.v2B\rLocationProtoP\001Z=google.golang"
+          + ".org/genproto/googleapis/maps/routing/v2"
+          + ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin"
+          + "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::"
+          + "Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.WrappersProto.getDescriptor(),
+              com.google.type.LatLngProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_Location_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Location_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_Location_descriptor,
+            new java.lang.String[] {
+              "LatLng", "Heading",
+            });
+    com.google.protobuf.WrappersProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
similarity index 74%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
index e4e986514923..912c04595aa0 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Maneuver.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/routing/v2/maneuver.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify the navigation action to take for the current
  * step (e.g., turn left, merge, straight, etc.).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.Maneuver}
  */
-public enum Maneuver
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum Maneuver implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Not used.
    * 
@@ -22,6 +40,8 @@ public enum Maneuver */ MANEUVER_UNSPECIFIED(0), /** + * + * *
    * Turn slightly to the left.
    * 
@@ -30,6 +50,8 @@ public enum Maneuver */ TURN_SLIGHT_LEFT(1), /** + * + * *
    * Turn sharply to the left.
    * 
@@ -38,6 +60,8 @@ public enum Maneuver */ TURN_SHARP_LEFT(2), /** + * + * *
    * Make a left u-turn.
    * 
@@ -46,6 +70,8 @@ public enum Maneuver */ UTURN_LEFT(3), /** + * + * *
    * Turn left.
    * 
@@ -54,6 +80,8 @@ public enum Maneuver */ TURN_LEFT(4), /** + * + * *
    * Turn slightly to the right.
    * 
@@ -62,6 +90,8 @@ public enum Maneuver */ TURN_SLIGHT_RIGHT(5), /** + * + * *
    * Turn sharply to the right.
    * 
@@ -70,6 +100,8 @@ public enum Maneuver */ TURN_SHARP_RIGHT(6), /** + * + * *
    * Make a right u-turn.
    * 
@@ -78,6 +110,8 @@ public enum Maneuver */ UTURN_RIGHT(7), /** + * + * *
    * Turn right.
    * 
@@ -86,6 +120,8 @@ public enum Maneuver */ TURN_RIGHT(8), /** + * + * *
    * Go straight.
    * 
@@ -94,6 +130,8 @@ public enum Maneuver */ STRAIGHT(9), /** + * + * *
    * Take the left ramp.
    * 
@@ -102,6 +140,8 @@ public enum Maneuver */ RAMP_LEFT(10), /** + * + * *
    * Take the right ramp.
    * 
@@ -110,6 +150,8 @@ public enum Maneuver */ RAMP_RIGHT(11), /** + * + * *
    * Merge into traffic.
    * 
@@ -118,6 +160,8 @@ public enum Maneuver */ MERGE(12), /** + * + * *
    * Take the left fork.
    * 
@@ -126,6 +170,8 @@ public enum Maneuver */ FORK_LEFT(13), /** + * + * *
    * Take the right fork.
    * 
@@ -134,6 +180,8 @@ public enum Maneuver */ FORK_RIGHT(14), /** + * + * *
    * Take the ferry.
    * 
@@ -142,6 +190,8 @@ public enum Maneuver */ FERRY(15), /** + * + * *
    * Take the train leading onto the ferry.
    * 
@@ -150,6 +200,8 @@ public enum Maneuver */ FERRY_TRAIN(16), /** + * + * *
    * Turn left at the roundabout.
    * 
@@ -158,6 +210,8 @@ public enum Maneuver */ ROUNDABOUT_LEFT(17), /** + * + * *
    * Turn right at the roundabout.
    * 
@@ -169,6 +223,8 @@ public enum Maneuver ; /** + * + * *
    * Not used.
    * 
@@ -177,6 +233,8 @@ public enum Maneuver */ public static final int MANEUVER_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Turn slightly to the left.
    * 
@@ -185,6 +243,8 @@ public enum Maneuver */ public static final int TURN_SLIGHT_LEFT_VALUE = 1; /** + * + * *
    * Turn sharply to the left.
    * 
@@ -193,6 +253,8 @@ public enum Maneuver */ public static final int TURN_SHARP_LEFT_VALUE = 2; /** + * + * *
    * Make a left u-turn.
    * 
@@ -201,6 +263,8 @@ public enum Maneuver */ public static final int UTURN_LEFT_VALUE = 3; /** + * + * *
    * Turn left.
    * 
@@ -209,6 +273,8 @@ public enum Maneuver */ public static final int TURN_LEFT_VALUE = 4; /** + * + * *
    * Turn slightly to the right.
    * 
@@ -217,6 +283,8 @@ public enum Maneuver */ public static final int TURN_SLIGHT_RIGHT_VALUE = 5; /** + * + * *
    * Turn sharply to the right.
    * 
@@ -225,6 +293,8 @@ public enum Maneuver */ public static final int TURN_SHARP_RIGHT_VALUE = 6; /** + * + * *
    * Make a right u-turn.
    * 
@@ -233,6 +303,8 @@ public enum Maneuver */ public static final int UTURN_RIGHT_VALUE = 7; /** + * + * *
    * Turn right.
    * 
@@ -241,6 +313,8 @@ public enum Maneuver */ public static final int TURN_RIGHT_VALUE = 8; /** + * + * *
    * Go straight.
    * 
@@ -249,6 +323,8 @@ public enum Maneuver */ public static final int STRAIGHT_VALUE = 9; /** + * + * *
    * Take the left ramp.
    * 
@@ -257,6 +333,8 @@ public enum Maneuver */ public static final int RAMP_LEFT_VALUE = 10; /** + * + * *
    * Take the right ramp.
    * 
@@ -265,6 +343,8 @@ public enum Maneuver */ public static final int RAMP_RIGHT_VALUE = 11; /** + * + * *
    * Merge into traffic.
    * 
@@ -273,6 +353,8 @@ public enum Maneuver */ public static final int MERGE_VALUE = 12; /** + * + * *
    * Take the left fork.
    * 
@@ -281,6 +363,8 @@ public enum Maneuver */ public static final int FORK_LEFT_VALUE = 13; /** + * + * *
    * Take the right fork.
    * 
@@ -289,6 +373,8 @@ public enum Maneuver */ public static final int FORK_RIGHT_VALUE = 14; /** + * + * *
    * Take the ferry.
    * 
@@ -297,6 +383,8 @@ public enum Maneuver */ public static final int FERRY_VALUE = 15; /** + * + * *
    * Take the train leading onto the ferry.
    * 
@@ -305,6 +393,8 @@ public enum Maneuver */ public static final int FERRY_TRAIN_VALUE = 16; /** + * + * *
    * Turn left at the roundabout.
    * 
@@ -313,6 +403,8 @@ public enum Maneuver */ public static final int ROUNDABOUT_LEFT_VALUE = 17; /** + * + * *
    * Turn right at the roundabout.
    * 
@@ -321,7 +413,6 @@ public enum Maneuver */ public static final int ROUNDABOUT_RIGHT_VALUE = 18; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -346,65 +437,81 @@ public static Maneuver valueOf(int value) { */ public static Maneuver forNumber(int value) { switch (value) { - case 0: return MANEUVER_UNSPECIFIED; - case 1: return TURN_SLIGHT_LEFT; - case 2: return TURN_SHARP_LEFT; - case 3: return UTURN_LEFT; - case 4: return TURN_LEFT; - case 5: return TURN_SLIGHT_RIGHT; - case 6: return TURN_SHARP_RIGHT; - case 7: return UTURN_RIGHT; - case 8: return TURN_RIGHT; - case 9: return STRAIGHT; - case 10: return RAMP_LEFT; - case 11: return RAMP_RIGHT; - case 12: return MERGE; - case 13: return FORK_LEFT; - case 14: return FORK_RIGHT; - case 15: return FERRY; - case 16: return FERRY_TRAIN; - case 17: return ROUNDABOUT_LEFT; - case 18: return ROUNDABOUT_RIGHT; - default: return null; + case 0: + return MANEUVER_UNSPECIFIED; + case 1: + return TURN_SLIGHT_LEFT; + case 2: + return TURN_SHARP_LEFT; + case 3: + return UTURN_LEFT; + case 4: + return TURN_LEFT; + case 5: + return TURN_SLIGHT_RIGHT; + case 6: + return TURN_SHARP_RIGHT; + case 7: + return UTURN_RIGHT; + case 8: + return TURN_RIGHT; + case 9: + return STRAIGHT; + case 10: + return RAMP_LEFT; + case 11: + return RAMP_RIGHT; + case 12: + return MERGE; + case 13: + return FORK_LEFT; + case 14: + return FORK_RIGHT; + case 15: + return FERRY; + case 16: + return FERRY_TRAIN; + case 17: + return ROUNDABOUT_LEFT; + case 18: + return ROUNDABOUT_RIGHT; + 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< - Maneuver> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Maneuver findValueByNumber(int number) { - return Maneuver.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 Maneuver findValueByNumber(int number) { + return Maneuver.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.routing.v2.ManeuverProto.getDescriptor().getEnumTypes().get(0); } private static final Maneuver[] VALUES = values(); - public static Maneuver valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Maneuver 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; @@ -420,4 +527,3 @@ private Maneuver(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Maneuver) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java new file mode 100644 index 000000000000..f6c50fb87124 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java @@ -0,0 +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/routing/v2/maneuver.proto + +package com.google.maps.routing.v2; + +public final class ManeuverProto { + private ManeuverProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/maneuver.proto\022" + + "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + + "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + + "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + + "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + + "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + + "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + + "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + + "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + + "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + + "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + + ".v2B\rManeuverProtoP\001Z=google.golang.org/" + + "genproto/googleapis/maps/routing/v2;rout" + + "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + + "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + + ":Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java similarity index 69% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java index a819b44fb188..fd64ff5e1778 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstruction.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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates navigation instructions for a
  * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
  */
-public final class NavigationInstruction extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NavigationInstruction extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.NavigationInstruction)
     NavigationInstructionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NavigationInstruction.newBuilder() to construct.
   private NavigationInstruction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NavigationInstruction() {
     maneuver_ = 0;
     instructions_ = "";
@@ -27,66 +45,79 @@ private NavigationInstruction() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NavigationInstruction();
   }
 
   @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.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.NavigationInstructionProto
+        .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+    return com.google.maps.routing.v2.NavigationInstructionProto
+        .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+            com.google.maps.routing.v2.NavigationInstruction.class,
+            com.google.maps.routing.v2.NavigationInstruction.Builder.class);
   }
 
   public static final int MANEUVER_FIELD_NUMBER = 1;
   private int maneuver_;
   /**
+   *
+   *
    * 
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override public int getManeuverValue() { + @java.lang.Override + public int getManeuverValue() { return maneuver_; } /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ - @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { + @java.lang.Override + public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = + com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } public static final int INSTRUCTIONS_FIELD_NUMBER = 2; private volatile java.lang.Object instructions_; /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The instructions. */ @java.lang.Override @@ -95,29 +126,29 @@ public java.lang.String getInstructions() { 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(); instructions_ = s; return s; } } /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The bytes for instructions. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionsBytes() { + public com.google.protobuf.ByteString getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -126,6 +157,7 @@ public java.lang.String getInstructions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +169,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 (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { output.writeEnum(1, maneuver_); } @@ -155,8 +186,7 @@ public int getSerializedSize() { size = 0; if (maneuver_ != com.google.maps.routing.v2.Maneuver.MANEUVER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, maneuver_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, maneuver_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instructions_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instructions_); @@ -169,16 +199,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.routing.v2.NavigationInstruction)) { return super.equals(obj); } - com.google.maps.routing.v2.NavigationInstruction other = (com.google.maps.routing.v2.NavigationInstruction) obj; + com.google.maps.routing.v2.NavigationInstruction other = + (com.google.maps.routing.v2.NavigationInstruction) obj; if (maneuver_ != other.maneuver_) return false; - if (!getInstructions() - .equals(other.getInstructions())) return false; + if (!getInstructions().equals(other.getInstructions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -199,97 +229,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.NavigationInstruction parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.NavigationInstruction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.NavigationInstruction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.NavigationInstruction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction 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; } /** + * + * *
    * Encapsulates navigation instructions for a
    * [RouteLegStep][google.maps.routing.v2.RouteLegStep]
@@ -297,33 +334,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.NavigationInstruction}
    */
-  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.routing.v2.NavigationInstruction)
       com.google.maps.routing.v2.NavigationInstructionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.NavigationInstruction.class, com.google.maps.routing.v2.NavigationInstruction.Builder.class);
+              com.google.maps.routing.v2.NavigationInstruction.class,
+              com.google.maps.routing.v2.NavigationInstruction.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.NavigationInstruction.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();
@@ -335,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.NavigationInstructionProto.internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.NavigationInstructionProto
+          .internal_static_google_maps_routing_v2_NavigationInstruction_descriptor;
     }
 
     @java.lang.Override
@@ -356,7 +392,8 @@ public com.google.maps.routing.v2.NavigationInstruction build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.NavigationInstruction buildPartial() {
-      com.google.maps.routing.v2.NavigationInstruction result = new com.google.maps.routing.v2.NavigationInstruction(this);
+      com.google.maps.routing.v2.NavigationInstruction result =
+          new com.google.maps.routing.v2.NavigationInstruction(this);
       result.maneuver_ = maneuver_;
       result.instructions_ = instructions_;
       onBuilt();
@@ -367,38 +404,39 @@ public com.google.maps.routing.v2.NavigationInstruction 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.routing.v2.NavigationInstruction) {
-        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction)other);
+        return mergeFrom((com.google.maps.routing.v2.NavigationInstruction) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,7 +444,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.NavigationInstruction other) {
-      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance())
+        return this;
       if (other.maneuver_ != 0) {
         setManeuverValue(other.getManeuverValue());
       }
@@ -440,22 +479,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              maneuver_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              instructions_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                maneuver_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                instructions_ = 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) {
@@ -468,55 +510,69 @@ public Builder mergeFrom(
 
     private int maneuver_ = 0;
     /**
+     *
+     *
      * 
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ - @java.lang.Override public int getManeuverValue() { + @java.lang.Override + public int getManeuverValue() { return maneuver_; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @param value The enum numeric value on the wire for maneuver to set. * @return This builder for chaining. */ public Builder setManeuverValue(int value) { - + maneuver_ = value; onChanged(); return this; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ @java.lang.Override public com.google.maps.routing.v2.Maneuver getManeuver() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.Maneuver result = com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); + com.google.maps.routing.v2.Maneuver result = + com.google.maps.routing.v2.Maneuver.valueOf(maneuver_); return result == null ? com.google.maps.routing.v2.Maneuver.UNRECOGNIZED : result; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @param value The maneuver to set. * @return This builder for chaining. */ @@ -524,22 +580,25 @@ public Builder setManeuver(com.google.maps.routing.v2.Maneuver value) { if (value == null) { throw new NullPointerException(); } - + maneuver_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Encapsulates the navigation instructions for the current step (e.g., turn
      * left, merge, straight, etc.). This field determines which icon to display.
      * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return This builder for chaining. */ public Builder clearManeuver() { - + maneuver_ = 0; onChanged(); return this; @@ -547,18 +606,20 @@ public Builder clearManeuver() { private java.lang.Object instructions_ = ""; /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return The instructions. */ public java.lang.String getInstructions() { java.lang.Object ref = instructions_; 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(); instructions_ = s; return s; @@ -567,20 +628,21 @@ public java.lang.String getInstructions() { } } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return The bytes for instructions. */ - public com.google.protobuf.ByteString - getInstructionsBytes() { + public com.google.protobuf.ByteString getInstructionsBytes() { java.lang.Object ref = instructions_; 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); instructions_ = b; return b; } else { @@ -588,61 +650,68 @@ public java.lang.String getInstructions() { } } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @param value The instructions to set. * @return This builder for chaining. */ - public Builder setInstructions( - java.lang.String value) { + public Builder setInstructions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instructions_ = value; onChanged(); return this; } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @return This builder for chaining. */ public Builder clearInstructions() { - + instructions_ = getDefaultInstance().getInstructions(); onChanged(); return this; } /** + * + * *
      * Instructions for navigating this step.
      * 
* * string instructions = 2; + * * @param value The bytes for instructions to set. * @return This builder for chaining. */ - public Builder setInstructionsBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instructions_ = 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); } @@ -652,12 +721,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.NavigationInstruction) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.NavigationInstruction) private static final com.google.maps.routing.v2.NavigationInstruction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.NavigationInstruction(); } @@ -666,27 +735,27 @@ public static com.google.maps.routing.v2.NavigationInstruction getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NavigationInstruction 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 NavigationInstruction 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; @@ -701,6 +770,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.NavigationInstruction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java similarity index 63% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java index 5cf285ee2a4a..cd4f6086f6cb 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionOrBuilder.java @@ -1,50 +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/routing/v2/navigation_instruction.proto package com.google.maps.routing.v2; -public interface NavigationInstructionOrBuilder extends +public interface NavigationInstructionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.NavigationInstruction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The enum numeric value on the wire for maneuver. */ int getManeuverValue(); /** + * + * *
    * Encapsulates the navigation instructions for the current step (e.g., turn
    * left, merge, straight, etc.). This field determines which icon to display.
    * 
* * .google.maps.routing.v2.Maneuver maneuver = 1; + * * @return The maneuver. */ com.google.maps.routing.v2.Maneuver getManeuver(); /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The instructions. */ java.lang.String getInstructions(); /** + * + * *
    * Instructions for navigating this step.
    * 
* * string instructions = 2; + * * @return The bytes for instructions. */ - com.google.protobuf.ByteString - getInstructionsBytes(); + com.google.protobuf.ByteString getInstructionsBytes(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java new file mode 100644 index 000000000000..13190eb8f396 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java @@ -0,0 +1,73 @@ +/* + * 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/routing/v2/navigation_instruction.proto + +package com.google.maps.routing.v2; + +public final class NavigationInstructionProto { + private NavigationInstructionProto() {} + + 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_routing_v2_NavigationInstruction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/navigation_inst" + + "ruction.proto\022\026google.maps.routing.v2\032%g" + + "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + + "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + + " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + + "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + + "ing.v2B\032NavigationInstructionProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/maps" + + "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + + "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + + "\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.ManeuverProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, + new java.lang.String[] { + "Maneuver", "Instructions", + }); + com.google.maps.routing.v2.ManeuverProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java index 87e94edaaedf..1a249fa90660 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Polyline.java @@ -1,61 +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/routing/v2/polyline.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates an encoded polyline.
  * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ -public final class Polyline extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Polyline extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Polyline) PolylineOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Polyline.newBuilder() to construct. private Polyline(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Polyline() { - } + + private Polyline() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Polyline(); } @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.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, + com.google.maps.routing.v2.Polyline.Builder.class); } private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; + public enum PolylineTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENCODED_POLYLINE(1), GEO_JSON_LINESTRING(2), POLYLINETYPE_NOT_SET(0); private final int value; + private PolylineTypeCase(int value) { this.value = value; } @@ -71,43 +92,52 @@ public static PolylineTypeCase valueOf(int value) { public static PolylineTypeCase forNumber(int value) { switch (value) { - case 1: return ENCODED_POLYLINE; - case 2: return GEO_JSON_LINESTRING; - case 0: return POLYLINETYPE_NOT_SET; - default: return null; + case 1: + return ENCODED_POLYLINE; + case 2: + return GEO_JSON_LINESTRING; + case 0: + return POLYLINETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PolylineTypeCase - getPolylineTypeCase() { - return PolylineTypeCase.forNumber( - polylineTypeCase_); + public PolylineTypeCase getPolylineTypeCase() { + return PolylineTypeCase.forNumber(polylineTypeCase_); } public static final int ENCODED_POLYLINE_FIELD_NUMBER = 1; /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ public java.lang.String getEncodedPolyline() { @@ -118,8 +148,7 @@ public java.lang.String getEncodedPolyline() { 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -128,24 +157,25 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ - public com.google.protobuf.ByteString - getEncodedPolylineBytes() { + public com.google.protobuf.ByteString getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -157,12 +187,15 @@ public java.lang.String getEncodedPolyline() { public static final int GEO_JSON_LINESTRING_FIELD_NUMBER = 2; /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -170,22 +203,27 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ @java.lang.Override public com.google.protobuf.Struct getGeoJsonLinestring() { if (polylineTypeCase_ == 2) { - return (com.google.protobuf.Struct) polylineType_; + return (com.google.protobuf.Struct) polylineType_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -196,12 +234,13 @@ public com.google.protobuf.Struct getGeoJsonLinestring() {
   @java.lang.Override
   public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
     if (polylineTypeCase_ == 2) {
-       return (com.google.protobuf.Struct) polylineType_;
+      return (com.google.protobuf.Struct) polylineType_;
     }
     return com.google.protobuf.Struct.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +252,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 (polylineTypeCase_ == 1) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, polylineType_);
     }
@@ -234,8 +272,9 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, polylineType_);
     }
     if (polylineTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.protobuf.Struct) polylineType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.protobuf.Struct) polylineType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -245,7 +284,7 @@ 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.routing.v2.Polyline)) {
       return super.equals(obj);
@@ -255,12 +294,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getPolylineTypeCase().equals(other.getPolylineTypeCase())) return false;
     switch (polylineTypeCase_) {
       case 1:
-        if (!getEncodedPolyline()
-            .equals(other.getEncodedPolyline())) return false;
+        if (!getEncodedPolyline().equals(other.getEncodedPolyline())) return false;
         break;
       case 2:
-        if (!getGeoJsonLinestring()
-            .equals(other.getGeoJsonLinestring())) return false;
+        if (!getGeoJsonLinestring().equals(other.getGeoJsonLinestring())) return false;
         break;
       case 0:
       default:
@@ -293,130 +330,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.Polyline parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.Polyline parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.Polyline parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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.routing.v2.Polyline 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates an encoded polyline.
    * 
* * Protobuf type {@code google.maps.routing.v2.Polyline} */ - 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.routing.v2.Polyline) com.google.maps.routing.v2.PolylineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.Polyline.class, com.google.maps.routing.v2.Polyline.Builder.class); + com.google.maps.routing.v2.Polyline.class, + com.google.maps.routing.v2.Polyline.Builder.class); } // Construct using com.google.maps.routing.v2.Polyline.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(); @@ -429,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.PolylineProto.internal_static_google_maps_routing_v2_Polyline_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.PolylineProto + .internal_static_google_maps_routing_v2_Polyline_descriptor; } @java.lang.Override @@ -470,38 +512,39 @@ public com.google.maps.routing.v2.Polyline 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.routing.v2.Polyline) { - return mergeFrom((com.google.maps.routing.v2.Polyline)other); + return mergeFrom((com.google.maps.routing.v2.Polyline) other); } else { super.mergeFrom(other); return this; @@ -511,19 +554,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.maps.routing.v2.Polyline other) { if (other == com.google.maps.routing.v2.Polyline.getDefaultInstance()) return this; switch (other.getPolylineTypeCase()) { - case ENCODED_POLYLINE: { - polylineTypeCase_ = 1; - polylineType_ = other.polylineType_; - onChanged(); - break; - } - case GEO_JSON_LINESTRING: { - mergeGeoJsonLinestring(other.getGeoJsonLinestring()); - break; - } - case POLYLINETYPE_NOT_SET: { - break; - } + case ENCODED_POLYLINE: + { + polylineTypeCase_ = 1; + polylineType_ = other.polylineType_; + onChanged(); + break; + } + case GEO_JSON_LINESTRING: + { + mergeGeoJsonLinestring(other.getGeoJsonLinestring()); + break; + } + case POLYLINETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -551,25 +597,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - polylineTypeCase_ = 1; - polylineType_ = s; - break; - } // case 10 - case 18: { - input.readMessage( - getGeoJsonLinestringFieldBuilder().getBuilder(), - extensionRegistry); - polylineTypeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + polylineTypeCase_ = 1; + polylineType_ = s; + break; + } // case 10 + case 18: + { + input.readMessage( + getGeoJsonLinestringFieldBuilder().getBuilder(), extensionRegistry); + polylineTypeCase_ = 2; + 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) { @@ -579,12 +627,12 @@ public Builder mergeFrom( } // finally return this; } + private int polylineTypeCase_ = 0; private java.lang.Object polylineType_; - public PolylineTypeCase - getPolylineTypeCase() { - return PolylineTypeCase.forNumber( - polylineTypeCase_); + + public PolylineTypeCase getPolylineTypeCase() { + return PolylineTypeCase.forNumber(polylineTypeCase_); } public Builder clearPolylineType() { @@ -594,14 +642,16 @@ public Builder clearPolylineType() { return this; } - /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ @java.lang.Override @@ -609,12 +659,15 @@ public boolean hasEncodedPolyline() { return polylineTypeCase_ == 1; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ @java.lang.Override @@ -624,8 +677,7 @@ public java.lang.String getEncodedPolyline() { ref = polylineType_; } 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(); if (polylineTypeCase_ == 1) { polylineType_ = s; @@ -636,25 +688,26 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ @java.lang.Override - public com.google.protobuf.ByteString - getEncodedPolylineBytes() { + public com.google.protobuf.ByteString getEncodedPolylineBytes() { java.lang.Object ref = ""; if (polylineTypeCase_ == 1) { ref = polylineType_; } 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); if (polylineTypeCase_ == 1) { polylineType_ = b; } @@ -664,32 +717,37 @@ public java.lang.String getEncodedPolyline() { } } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @param value The encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolyline( - java.lang.String value) { + public Builder setEncodedPolyline(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - polylineTypeCase_ = 1; + throw new NullPointerException(); + } + polylineTypeCase_ = 1; polylineType_ = value; onChanged(); return this; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @return This builder for chaining. */ public Builder clearEncodedPolyline() { @@ -701,21 +759,23 @@ public Builder clearEncodedPolyline() { return this; } /** + * + * *
      * The string encoding of the polyline using the [polyline encoding
      * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
      * 
* * string encoded_polyline = 1; + * * @param value The bytes for encodedPolyline to set. * @return This builder for chaining. */ - public Builder setEncodedPolylineBytes( - com.google.protobuf.ByteString value) { + public Builder setEncodedPolylineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); polylineTypeCase_ = 1; polylineType_ = value; onChanged(); @@ -723,14 +783,20 @@ public Builder setEncodedPolylineBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> geoJsonLinestringBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + geoJsonLinestringBuilder_; /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ @java.lang.Override @@ -738,12 +804,15 @@ public boolean hasGeoJsonLinestring() { return polylineTypeCase_ == 2; } /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
      * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ @java.lang.Override @@ -761,6 +830,8 @@ public com.google.protobuf.Struct getGeoJsonLinestring() { } } /** + * + * *
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -782,6 +853,8 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -789,8 +862,7 @@ public Builder setGeoJsonLinestring(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
-    public Builder setGeoJsonLinestring(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setGeoJsonLinestring(com.google.protobuf.Struct.Builder builderForValue) {
       if (geoJsonLinestringBuilder_ == null) {
         polylineType_ = builderForValue.build();
         onChanged();
@@ -801,6 +873,8 @@ public Builder setGeoJsonLinestring(
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -810,10 +884,12 @@ public Builder setGeoJsonLinestring(
      */
     public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       if (geoJsonLinestringBuilder_ == null) {
-        if (polylineTypeCase_ == 2 &&
-            polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
-          polylineType_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
-              .mergeFrom(value).buildPartial();
+        if (polylineTypeCase_ == 2
+            && polylineType_ != com.google.protobuf.Struct.getDefaultInstance()) {
+          polylineType_ =
+              com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) polylineType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polylineType_ = value;
         }
@@ -829,6 +905,8 @@ public Builder mergeGeoJsonLinestring(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -853,6 +931,8 @@ public Builder clearGeoJsonLinestring() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -864,6 +944,8 @@ public com.google.protobuf.Struct.Builder getGeoJsonLinestringBuilder() {
       return getGeoJsonLinestringFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -883,6 +965,8 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Specifies a polyline using the [GeoJSON LineString
      * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -891,26 +975,30 @@ public com.google.protobuf.StructOrBuilder getGeoJsonLinestringOrBuilder() {
      * .google.protobuf.Struct geo_json_linestring = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getGeoJsonLinestringFieldBuilder() {
       if (geoJsonLinestringBuilder_ == null) {
         if (!(polylineTypeCase_ == 2)) {
           polylineType_ = com.google.protobuf.Struct.getDefaultInstance();
         }
-        geoJsonLinestringBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                (com.google.protobuf.Struct) polylineType_,
-                getParentForChildren(),
-                isClean());
+        geoJsonLinestringBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                (com.google.protobuf.Struct) polylineType_, getParentForChildren(), isClean());
         polylineType_ = null;
       }
       polylineTypeCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return geoJsonLinestringBuilder_;
     }
+
     @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);
     }
 
@@ -920,12 +1008,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Polyline)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Polyline)
   private static final com.google.maps.routing.v2.Polyline DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.Polyline();
   }
@@ -934,27 +1022,27 @@ public static com.google.maps.routing.v2.Polyline getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Polyline 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 Polyline 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;
@@ -969,6 +1057,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.Polyline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
similarity index 69%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
index e6b196b85fa9..bff0044509ae 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineEncoding.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Specifies the preferred type of polyline to be returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineEncoding} */ -public enum PolylineEncoding - implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineEncoding implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -21,6 +39,8 @@ public enum PolylineEncoding */ POLYLINE_ENCODING_UNSPECIFIED(0), /** + * + * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -30,6 +50,8 @@ public enum PolylineEncoding
    */
   ENCODED_POLYLINE(1),
   /**
+   *
+   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -42,6 +64,8 @@ public enum PolylineEncoding
   ;
 
   /**
+   *
+   *
    * 
    * No polyline type preference specified. Defaults to `ENCODED_POLYLINE`.
    * 
@@ -50,6 +74,8 @@ public enum PolylineEncoding */ public static final int POLYLINE_ENCODING_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Specifies a polyline encoded using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm).
@@ -59,6 +85,8 @@ public enum PolylineEncoding
    */
   public static final int ENCODED_POLYLINE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
@@ -68,7 +96,6 @@ public enum PolylineEncoding
    */
   public static final int GEO_JSON_LINESTRING_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static PolylineEncoding valueOf(int value) {
    */
   public static PolylineEncoding forNumber(int value) {
     switch (value) {
-      case 0: return POLYLINE_ENCODING_UNSPECIFIED;
-      case 1: return ENCODED_POLYLINE;
-      case 2: return GEO_JSON_LINESTRING;
-      default: return null;
+      case 0:
+        return POLYLINE_ENCODING_UNSPECIFIED;
+      case 1:
+        return ENCODED_POLYLINE;
+      case 2:
+        return GEO_JSON_LINESTRING;
+      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<
-      PolylineEncoding> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PolylineEncoding findValueByNumber(int number) {
-            return PolylineEncoding.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 PolylineEncoding findValueByNumber(int number) {
+          return PolylineEncoding.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final PolylineEncoding[] VALUES = values();
 
-  public static PolylineEncoding valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineEncoding 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;
@@ -151,4 +178,3 @@ private PolylineEncoding(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineEncoding)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
index b3fd35f7ece7..815fc261c33d 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineOrBuilder.java
@@ -1,65 +1,97 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
-public interface PolylineOrBuilder extends
+public interface PolylineOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Polyline)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return Whether the encodedPolyline field is set. */ boolean hasEncodedPolyline(); /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The encodedPolyline. */ java.lang.String getEncodedPolyline(); /** + * + * *
    * The string encoding of the polyline using the [polyline encoding
    * algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
    * 
* * string encoded_polyline = 1; + * * @return The bytes for encodedPolyline. */ - com.google.protobuf.ByteString - getEncodedPolylineBytes(); + com.google.protobuf.ByteString getEncodedPolylineBytes(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return Whether the geoJsonLinestring field is set. */ boolean hasGeoJsonLinestring(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
    * 
* * .google.protobuf.Struct geo_json_linestring = 2; + * * @return The geoJsonLinestring. */ com.google.protobuf.Struct getGeoJsonLinestring(); /** + * + * *
    * Specifies a polyline using the [GeoJSON LineString
    * format](https://tools.ietf.org/html/rfc7946#section-3.1.4)
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
new file mode 100644
index 000000000000..a743db5a4a31
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java
@@ -0,0 +1,78 @@
+/*
+ * 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/routing/v2/polyline.proto
+
+package com.google.maps.routing.v2;
+
+public final class PolylineProto {
+  private PolylineProto() {}
+
+  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_routing_v2_Polyline_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022"
+          + "\026google.maps.routing.v2\032\034google/protobuf"
+          + "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol"
+          + "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001"
+          + "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin"
+          + "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU"
+          + "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n"
+          + "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL"
+          + "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO"
+          + "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co"
+          + "m.google.maps.routing.v2B\rPolylineProtoP"
+          + "\001Z=google.golang.org/genproto/googleapis"
+          + "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go"
+          + "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi"
+          + "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto"
+          + "3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.StructProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_Polyline_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_Polyline_descriptor,
+            new java.lang.String[] {
+              "EncodedPolyline", "GeoJsonLinestring", "PolylineType",
+            });
+    com.google.protobuf.StructProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
similarity index 71%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
index ab8ebe80a4f4..abdb1901ca63 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineQuality.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/polyline.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify the quality of the polyline.
  * 
* * Protobuf enum {@code google.maps.routing.v2.PolylineQuality} */ -public enum PolylineQuality - implements com.google.protobuf.ProtocolMessageEnum { +public enum PolylineQuality implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -21,6 +39,8 @@ public enum PolylineQuality */ POLYLINE_QUALITY_UNSPECIFIED(0), /** + * + * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -31,6 +51,8 @@ public enum PolylineQuality
    */
   HIGH_QUALITY(1),
   /**
+   *
+   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -45,6 +67,8 @@ public enum PolylineQuality
   ;
 
   /**
+   *
+   *
    * 
    * No polyline quality preference specified. Defaults to `OVERVIEW`.
    * 
@@ -53,6 +77,8 @@ public enum PolylineQuality */ public static final int POLYLINE_QUALITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Specifies a high-quality polyline - which is composed using more points
    * than `OVERVIEW`, at the cost of increased response size. Use this value
@@ -63,6 +89,8 @@ public enum PolylineQuality
    */
   public static final int HIGH_QUALITY_VALUE = 1;
   /**
+   *
+   *
    * 
    * Specifies an overview polyline - which is composed using a small number of
    * points. Use this value when displaying an overview of the route. Using this
@@ -74,7 +102,6 @@ public enum PolylineQuality
    */
   public static final int OVERVIEW_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -99,49 +126,49 @@ public static PolylineQuality valueOf(int value) {
    */
   public static PolylineQuality forNumber(int value) {
     switch (value) {
-      case 0: return POLYLINE_QUALITY_UNSPECIFIED;
-      case 1: return HIGH_QUALITY;
-      case 2: return OVERVIEW;
-      default: return null;
+      case 0:
+        return POLYLINE_QUALITY_UNSPECIFIED;
+      case 1:
+        return HIGH_QUALITY;
+      case 2:
+        return OVERVIEW;
+      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<
-      PolylineQuality> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PolylineQuality findValueByNumber(int number) {
-            return PolylineQuality.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 PolylineQuality findValueByNumber(int number) {
+          return PolylineQuality.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.routing.v2.PolylineProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final PolylineQuality[] VALUES = values();
 
-  public static PolylineQuality valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PolylineQuality 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;
@@ -157,4 +184,3 @@ private PolylineQuality(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.PolylineQuality)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
similarity index 80%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
index 14395d9fe43b..fab593f4b642 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Route.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a route, which consists of a series of connected road segments
  * that join beginning, ending, and intermediate waypoints.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Route}
  */
-public final class Route extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Route extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Route)
     RouteOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Route.newBuilder() to construct.
   private Route(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Route() {
     routeLabels_ = java.util.Collections.emptyList();
     legs_ = java.util.Collections.emptyList();
@@ -30,25 +48,25 @@ private Route() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Route();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_Route_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
   }
@@ -56,36 +74,45 @@ protected java.lang.Object newInstance(
   public static final int ROUTE_LABELS_FIELD_NUMBER = 13;
   private java.util.List routeLabels_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.maps.routing.v2.RouteLabel> routeLabels_converter_ =
+          java.lang.Integer, com.google.maps.routing.v2.RouteLabel>
+      routeLabels_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.maps.routing.v2.RouteLabel>() {
             public com.google.maps.routing.v2.RouteLabel convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.maps.routing.v2.RouteLabel result = com.google.maps.routing.v2.RouteLabel.valueOf(from);
+              com.google.maps.routing.v2.RouteLabel result =
+                  com.google.maps.routing.v2.RouteLabel.valueOf(from);
               return result == null ? com.google.maps.routing.v2.RouteLabel.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ @java.lang.Override public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( + routeLabels_, routeLabels_converter_); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ @java.lang.Override @@ -93,12 +120,15 @@ public int getRouteLabelsCount() { return routeLabels_.size(); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -107,26 +137,31 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ @java.lang.Override - public java.util.List - getRouteLabelsValueList() { + public java.util.List getRouteLabelsValueList() { return routeLabels_; } /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -134,11 +169,14 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } + private int routeLabelsMemoizedSerializedSize; public static final int LEGS_FIELD_NUMBER = 1; private java.util.List legs_; /** + * + * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -156,6 +194,8 @@ public java.util.List getLegsList() {
     return legs_;
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -169,11 +209,13 @@ public java.util.List getLegsList() {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLegsOrBuilderList() {
     return legs_;
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -191,6 +233,8 @@ public int getLegsCount() {
     return legs_.size();
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -208,6 +252,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
     return legs_.get(index);
   }
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -221,19 +267,21 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
     return legs_.get(index);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 2;
   private int distanceMeters_;
   /**
+   *
+   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ @java.lang.Override @@ -244,6 +292,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -253,6 +303,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -260,6 +311,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -269,6 +322,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ @java.lang.Override @@ -276,6 +330,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -294,12 +350,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -307,19 +366,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -335,12 +401,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -348,12 +417,15 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ @java.lang.Override @@ -361,6 +433,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -376,11 +450,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 6;
   private volatile java.lang.Object description_;
   /**
+   *
+   *
    * 
    * A description of the route.
    * 
* * string description = 6; + * * @return The description. */ @java.lang.Override @@ -389,29 +466,29 @@ public java.lang.String getDescription() { 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(); description_ = s; return s; } } /** + * + * *
    * A description of the route.
    * 
* * string description = 6; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -422,34 +499,42 @@ public java.lang.String getDescription() { public static final int WARNINGS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList warnings_; /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList - getWarningsList() { + public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_; } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -457,27 +542,32 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString - getWarningsBytes(int index) { + public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); } public static final int VIEWPORT_FIELD_NUMBER = 8; private com.google.geo.type.Viewport viewport_; /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ @java.lang.Override @@ -485,11 +575,14 @@ public boolean hasViewport() { return viewport_ != null; } /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ @java.lang.Override @@ -497,6 +590,8 @@ public com.google.geo.type.Viewport getViewport() { return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } /** + * + * *
    * The viewport bounding box of the polyline.
    * 
@@ -511,11 +606,14 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 9; private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -523,18 +621,25 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Additional information about the route.
    * 
@@ -549,6 +654,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory public static final int ROUTE_TOKEN_FIELD_NUMBER = 12; private volatile java.lang.Object routeToken_; /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -562,6 +669,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * string route_token = 12; + * * @return The routeToken. */ @java.lang.Override @@ -570,14 +678,15 @@ public java.lang.String getRouteToken() { 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(); routeToken_ = s; return s; } } /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -591,16 +700,15 @@ public java.lang.String getRouteToken() {
    * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getRouteTokenBytes() { + public com.google.protobuf.ByteString getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -609,6 +717,7 @@ public java.lang.String getRouteToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -620,8 +729,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 { getSerializedSize(); for (int i = 0; i < legs_.size(); i++) { output.writeMessage(1, legs_.get(i)); @@ -670,24 +778,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < legs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, legs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, legs_.get(i)); } if (distanceMeters_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, distanceMeters_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, distanceMeters_); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDuration()); } if (staticDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStaticDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStaticDuration()); } if (polyline_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getPolyline()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPolyline()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -701,12 +804,10 @@ public int getSerializedSize() { size += 1 * getWarningsList().size(); } if (viewport_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getViewport()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getViewport()); } if (travelAdvisory_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getTravelAdvisory()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTravelAdvisory()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeToken_); @@ -714,14 +815,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < routeLabels_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(routeLabels_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(routeLabels_.get(i)); } size += dataSize; - if (!getRouteLabelsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }routeLabelsMemoizedSerializedSize = dataSize; + if (!getRouteLabelsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + routeLabelsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -731,7 +832,7 @@ 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.routing.v2.Route)) { return super.equals(obj); @@ -739,41 +840,31 @@ public boolean equals(final java.lang.Object obj) { com.google.maps.routing.v2.Route other = (com.google.maps.routing.v2.Route) obj; if (!routeLabels_.equals(other.routeLabels_)) return false; - if (!getLegsList() - .equals(other.getLegsList())) return false; - if (getDistanceMeters() - != other.getDistanceMeters()) return false; + if (!getLegsList().equals(other.getLegsList())) return false; + if (getDistanceMeters() != other.getDistanceMeters()) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (hasStaticDuration() != other.hasStaticDuration()) return false; if (hasStaticDuration()) { - if (!getStaticDuration() - .equals(other.getStaticDuration())) return false; + if (!getStaticDuration().equals(other.getStaticDuration())) return false; } if (hasPolyline() != other.hasPolyline()) return false; if (hasPolyline()) { - if (!getPolyline() - .equals(other.getPolyline())) return false; + if (!getPolyline().equals(other.getPolyline())) return false; } - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getWarningsList() - .equals(other.getWarningsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getWarningsList().equals(other.getWarningsList())) return false; if (hasViewport() != other.hasViewport()) return false; if (hasViewport()) { - if (!getViewport() - .equals(other.getViewport())) return false; + if (!getViewport().equals(other.getViewport())) return false; } if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false; if (hasTravelAdvisory()) { - if (!getTravelAdvisory() - .equals(other.getTravelAdvisory())) return false; + if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false; } - if (!getRouteToken() - .equals(other.getRouteToken())) return false; + if (!getRouteToken().equals(other.getRouteToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -828,97 +919,103 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Route parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Route parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.maps.routing.v2.Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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.routing.v2.Route 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; } /** + * + * *
    * Encapsulates a route, which consists of a series of connected road segments
    * that join beginning, ending, and intermediate waypoints.
@@ -926,33 +1023,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.Route}
    */
-  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.routing.v2.Route)
       com.google.maps.routing.v2.RouteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Route.class, com.google.maps.routing.v2.Route.Builder.class);
+              com.google.maps.routing.v2.Route.class,
+              com.google.maps.routing.v2.Route.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Route.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();
@@ -1007,9 +1103,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_Route_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_Route_descriptor;
     }
 
     @java.lang.Override
@@ -1085,38 +1181,39 @@ public com.google.maps.routing.v2.Route 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.routing.v2.Route) {
-        return mergeFrom((com.google.maps.routing.v2.Route)other);
+        return mergeFrom((com.google.maps.routing.v2.Route) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1153,9 +1250,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.Route other) {
             legsBuilder_ = null;
             legs_ = other.legs_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            legsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLegsFieldBuilder() : null;
+            legsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLegsFieldBuilder()
+                    : null;
           } else {
             legsBuilder_.addAllMessages(other.legs_);
           }
@@ -1223,98 +1321,100 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.maps.routing.v2.RouteLeg m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.RouteLeg.parser(),
-                      extensionRegistry);
-              if (legsBuilder_ == null) {
-                ensureLegsIsMutable();
-                legs_.add(m);
-              } else {
-                legsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 16: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getPolylineFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureWarningsIsMutable();
-              warnings_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getViewportFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 74
-            case 98: {
-              routeToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureRouteLabelsIsMutable();
-              routeLabels_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                com.google.maps.routing.v2.RouteLeg m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.RouteLeg.parser(), extensionRegistry);
+                if (legsBuilder_ == null) {
+                  ensureLegsIsMutable();
+                  legs_.add(m);
+                } else {
+                  legsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 16:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureWarningsIsMutable();
+                warnings_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getViewportFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 74
+            case 98:
+              {
+                routeToken_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureRouteLabelsIsMutable();
                 routeLabels_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureRouteLabelsIsMutable();
+                  routeLabels_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            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) {
@@ -1324,10 +1424,11 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List routeLabels_ =
-      java.util.Collections.emptyList();
+    private java.util.List routeLabels_ = java.util.Collections.emptyList();
+
     private void ensureRouteLabelsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         routeLabels_ = new java.util.ArrayList(routeLabels_);
@@ -1335,37 +1436,47 @@ private void ensureRouteLabelsIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ public java.util.List getRouteLabelsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.RouteLabel>(routeLabels_, routeLabels_converter_); + java.lang.Integer, com.google.maps.routing.v2.RouteLabel>( + routeLabels_, routeLabels_converter_); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ public int getRouteLabelsCount() { return routeLabels_.size(); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ @@ -1373,18 +1484,20 @@ public com.google.maps.routing.v2.RouteLabel getRouteLabels(int index) { return routeLabels_converter_.convert(routeLabels_.get(index)); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index to set the value at. * @param value The routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabels( - int index, com.google.maps.routing.v2.RouteLabel value) { + public Builder setRouteLabels(int index, com.google.maps.routing.v2.RouteLabel value) { if (value == null) { throw new NullPointerException(); } @@ -1394,12 +1507,15 @@ public Builder setRouteLabels( return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param value The routeLabels to add. * @return This builder for chaining. */ @@ -1413,12 +1529,15 @@ public Builder addRouteLabels(com.google.maps.routing.v2.RouteLabel value) { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param values The routeLabels to add. * @return This builder for chaining. */ @@ -1432,12 +1551,15 @@ public Builder addAllRouteLabels( return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return This builder for chaining. */ public Builder clearRouteLabels() { @@ -1447,25 +1569,30 @@ public Builder clearRouteLabels() { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ - public java.util.List - getRouteLabelsValueList() { + public java.util.List getRouteLabelsValueList() { return java.util.Collections.unmodifiableList(routeLabels_); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ @@ -1473,30 +1600,35 @@ public int getRouteLabelsValue(int index) { return routeLabels_.get(index); } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for routeLabels to set. * @return This builder for chaining. */ - public Builder setRouteLabelsValue( - int index, int value) { + public Builder setRouteLabelsValue(int index, int value) { ensureRouteLabelsIsMutable(); routeLabels_.set(index, value); onChanged(); return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param value The enum numeric value on the wire for routeLabels to add. * @return This builder for chaining. */ @@ -1507,17 +1639,19 @@ public Builder addRouteLabelsValue(int value) { return this; } /** + * + * *
      * Labels for the `Route` that are useful to identify specific properties
      * of the route to compare against others.
      * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param values The enum numeric values on the wire for routeLabels to add. * @return This builder for chaining. */ - public Builder addAllRouteLabelsValue( - java.lang.Iterable values) { + public Builder addAllRouteLabelsValue(java.lang.Iterable values) { ensureRouteLabelsIsMutable(); for (int value : values) { routeLabels_.add(value); @@ -1527,18 +1661,24 @@ public Builder addAllRouteLabelsValue( } private java.util.List legs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLegsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { legs_ = new java.util.ArrayList(legs_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> legsBuilder_; + com.google.maps.routing.v2.RouteLeg, + com.google.maps.routing.v2.RouteLeg.Builder, + com.google.maps.routing.v2.RouteLegOrBuilder> + legsBuilder_; /** + * + * *
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1559,6 +1699,8 @@ public java.util.List getLegsList() {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1579,6 +1721,8 @@ public int getLegsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1599,6 +1743,8 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1611,8 +1757,7 @@ public com.google.maps.routing.v2.RouteLeg getLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(
-        int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1626,6 +1771,8 @@ public Builder setLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1638,8 +1785,7 @@ public Builder setLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder setLegs(
-        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder setLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.set(index, builderForValue.build());
@@ -1650,6 +1796,8 @@ public Builder setLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1676,6 +1824,8 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1688,8 +1838,7 @@ public Builder addLegs(com.google.maps.routing.v2.RouteLeg value) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        int index, com.google.maps.routing.v2.RouteLeg value) {
+    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg value) {
       if (legsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1703,6 +1852,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1715,8 +1866,7 @@ public Builder addLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(builderForValue.build());
@@ -1727,6 +1877,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1739,8 +1891,7 @@ public Builder addLegs(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public Builder addLegs(
-        int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
+    public Builder addLegs(int index, com.google.maps.routing.v2.RouteLeg.Builder builderForValue) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
         legs_.add(index, builderForValue.build());
@@ -1751,6 +1902,8 @@ public Builder addLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1767,8 +1920,7 @@ public Builder addAllLegs(
         java.lang.Iterable values) {
       if (legsBuilder_ == null) {
         ensureLegsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, legs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, legs_);
         onChanged();
       } else {
         legsBuilder_.addAllMessages(values);
@@ -1776,6 +1928,8 @@ public Builder addAllLegs(
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1799,6 +1953,8 @@ public Builder clearLegs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1822,6 +1978,8 @@ public Builder removeLegs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1834,11 +1992,12 @@ public Builder removeLegs(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(int index) {
       return getLegsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1851,14 +2010,16 @@ public com.google.maps.routing.v2.RouteLeg.Builder getLegsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index) {
       if (legsBuilder_ == null) {
-        return legs_.get(index);  } else {
+        return legs_.get(index);
+      } else {
         return legsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1871,8 +2032,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List 
-         getLegsOrBuilderList() {
+    public java.util.List
+        getLegsOrBuilderList() {
       if (legsBuilder_ != null) {
         return legsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1880,6 +2041,8 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1893,10 +2056,12 @@ public com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
     public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
-      return getLegsFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+      return getLegsFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1909,12 +2074,13 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
-        int index) {
-      return getLegsFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(int index) {
+      return getLegsFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.RouteLeg.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A collection of legs (path segments between waypoints) that make-up the
      * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -1927,32 +2093,37 @@ public com.google.maps.routing.v2.RouteLeg.Builder addLegsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLeg legs = 1;
      */
-    public java.util.List 
-         getLegsBuilderList() {
+    public java.util.List getLegsBuilderList() {
       return getLegsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder> 
+            com.google.maps.routing.v2.RouteLeg,
+            com.google.maps.routing.v2.RouteLeg.Builder,
+            com.google.maps.routing.v2.RouteLegOrBuilder>
         getLegsFieldBuilder() {
       if (legsBuilder_ == null) {
-        legsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLeg, com.google.maps.routing.v2.RouteLeg.Builder, com.google.maps.routing.v2.RouteLegOrBuilder>(
-                legs_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        legsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLeg,
+                com.google.maps.routing.v2.RouteLeg.Builder,
+                com.google.maps.routing.v2.RouteLegOrBuilder>(
+                legs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         legs_ = null;
       }
       return legsBuilder_;
     }
 
-    private int distanceMeters_ ;
+    private int distanceMeters_;
     /**
+     *
+     *
      * 
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ @java.lang.Override @@ -1960,30 +2131,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 2; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1991,8 +2168,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2002,12 +2184,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2017,6 +2202,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -2027,6 +2213,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2051,6 +2239,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2061,8 +2251,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 3;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -2073,6 +2262,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2087,7 +2278,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -2099,6 +2290,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2121,6 +2314,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2132,11 +2327,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 3;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2151,11 +2348,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -2167,14 +2365,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -2182,36 +2383,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2233,6 +2447,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2240,8 +2456,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 4;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -2252,6 +2467,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2263,7 +2480,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -2275,6 +2494,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2294,6 +2515,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2302,11 +2525,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2318,11 +2543,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -2331,14 +2559,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -2346,36 +2577,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
      * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2397,6 +2641,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2404,8 +2650,7 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
-    public Builder setPolyline(
-        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -2416,6 +2661,8 @@ public Builder setPolyline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2427,7 +2674,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polyline_ = value;
         }
@@ -2439,6 +2688,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2458,6 +2709,8 @@ public Builder clearPolyline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2466,11 +2719,13 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-      
+
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2482,11 +2737,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null ?
-            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
+        return polyline_ == null
+            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
+            : polyline_;
       }
     }
     /**
+     *
+     *
      * 
      * The overall route polyline. This polyline will be the combined polyline of
      * all `legs`.
@@ -2495,14 +2753,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(),
-                getParentForChildren(),
-                isClean());
+        polylineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Polyline,
+                com.google.maps.routing.v2.Polyline.Builder,
+                com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(), getParentForChildren(), isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -2510,18 +2771,20 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
+     *
+     *
      * 
      * A description of the route.
      * 
* * string description = 6; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; @@ -2530,20 +2793,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; 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); description_ = b; return b; } else { @@ -2551,95 +2815,112 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of the route.
      * 
* * string description = 6; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList warnings_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList warnings_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureWarningsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - public com.google.protobuf.ProtocolStringList - getWarningsList() { + public com.google.protobuf.ProtocolStringList getWarningsList() { return warnings_.getUnmodifiableView(); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ public int getWarningsCount() { return warnings_.size(); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ @@ -2647,80 +2928,90 @@ public java.lang.String getWarnings(int index) { return warnings_.get(index); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - public com.google.protobuf.ByteString - getWarningsBytes(int index) { + public com.google.protobuf.ByteString getWarningsBytes(int index) { return warnings_.getByteString(index); } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param index The index to set the value at. * @param value The warnings to set. * @return This builder for chaining. */ - public Builder setWarnings( - int index, java.lang.String value) { + public Builder setWarnings(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.set(index, value); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param value The warnings to add. * @return This builder for chaining. */ - public Builder addWarnings( - java.lang.String value) { + public Builder addWarnings(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); + throw new NullPointerException(); + } + ensureWarningsIsMutable(); warnings_.add(value); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param values The warnings to add. * @return This builder for chaining. */ - public Builder addAllWarnings( - java.lang.Iterable values) { + public Builder addAllWarnings(java.lang.Iterable values) { ensureWarningsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, warnings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); onChanged(); return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @return This builder for chaining. */ public Builder clearWarnings() { @@ -2730,20 +3021,22 @@ public Builder clearWarnings() { return this; } /** + * + * *
      * An array of warnings to show when displaying the route.
      * 
* * repeated string warnings = 7; + * * @param value The bytes of the warnings to add. * @return This builder for chaining. */ - public Builder addWarningsBytes( - com.google.protobuf.ByteString value) { + public Builder addWarningsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWarningsIsMutable(); warnings_.add(value); onChanged(); @@ -2752,24 +3045,33 @@ public Builder addWarningsBytes( private com.google.geo.type.Viewport viewport_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder> viewportBuilder_; + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder> + viewportBuilder_; /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ public boolean hasViewport() { return viewportBuilder_ != null || viewport_ != null; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ public com.google.geo.type.Viewport getViewport() { @@ -2780,6 +3082,8 @@ public com.google.geo.type.Viewport getViewport() { } } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2800,14 +3104,15 @@ public Builder setViewport(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
* * .google.geo.type.Viewport viewport = 8; */ - public Builder setViewport( - com.google.geo.type.Viewport.Builder builderForValue) { + public Builder setViewport(com.google.geo.type.Viewport.Builder builderForValue) { if (viewportBuilder_ == null) { viewport_ = builderForValue.build(); onChanged(); @@ -2818,6 +3123,8 @@ public Builder setViewport( return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2828,7 +3135,7 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { if (viewportBuilder_ == null) { if (viewport_ != null) { viewport_ = - com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); + com.google.geo.type.Viewport.newBuilder(viewport_).mergeFrom(value).buildPartial(); } else { viewport_ = value; } @@ -2840,6 +3147,8 @@ public Builder mergeViewport(com.google.geo.type.Viewport value) { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2858,6 +3167,8 @@ public Builder clearViewport() { return this; } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2865,11 +3176,13 @@ public Builder clearViewport() { * .google.geo.type.Viewport viewport = 8; */ public com.google.geo.type.Viewport.Builder getViewportBuilder() { - + onChanged(); return getViewportFieldBuilder().getBuilder(); } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2880,11 +3193,12 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { if (viewportBuilder_ != null) { return viewportBuilder_.getMessageOrBuilder(); } else { - return viewport_ == null ? - com.google.geo.type.Viewport.getDefaultInstance() : viewport_; + return viewport_ == null ? com.google.geo.type.Viewport.getDefaultInstance() : viewport_; } } /** + * + * *
      * The viewport bounding box of the polyline.
      * 
@@ -2892,14 +3206,17 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { * .google.geo.type.Viewport viewport = 8; */ 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> getViewportFieldBuilder() { if (viewportBuilder_ == null) { - viewportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.geo.type.Viewport, com.google.geo.type.Viewport.Builder, com.google.geo.type.ViewportOrBuilder>( - getViewport(), - getParentForChildren(), - isClean()); + viewportBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.geo.type.Viewport, + com.google.geo.type.Viewport.Builder, + com.google.geo.type.ViewportOrBuilder>( + getViewport(), getParentForChildren(), isClean()); viewport_ = null; } return viewportBuilder_; @@ -2907,34 +3224,47 @@ public com.google.geo.type.ViewportOrBuilder getViewportOrBuilder() { private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + travelAdvisoryBuilder_; /** + * + * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Additional information about the route.
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Additional information about the route.
      * 
@@ -2955,6 +3285,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -2973,6 +3305,8 @@ public Builder setTravelAdvisory( return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -2983,7 +3317,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor if (travelAdvisoryBuilder_ == null) { if (travelAdvisory_ != null) { travelAdvisory_ = - com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_) + .mergeFrom(value) + .buildPartial(); } else { travelAdvisory_ = value; } @@ -2995,6 +3331,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -3013,6 +3351,8 @@ public Builder clearTravelAdvisory() { return this; } /** + * + * *
      * Additional information about the route.
      * 
@@ -3020,11 +3360,13 @@ public Builder clearTravelAdvisory() { * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() { - + onChanged(); return getTravelAdvisoryFieldBuilder().getBuilder(); } /** + * + * *
      * Additional information about the route.
      * 
@@ -3035,11 +3377,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory if (travelAdvisoryBuilder_ != null) { return travelAdvisoryBuilder_.getMessageOrBuilder(); } else { - return travelAdvisory_ == null ? - com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } } /** + * + * *
      * Additional information about the route.
      * 
@@ -3047,14 +3392,17 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> getTravelAdvisoryFieldBuilder() { if (travelAdvisoryBuilder_ == null) { - travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( - getTravelAdvisory(), - getParentForChildren(), - isClean()); + travelAdvisoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteTravelAdvisory, + com.google.maps.routing.v2.RouteTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>( + getTravelAdvisory(), getParentForChildren(), isClean()); travelAdvisory_ = null; } return travelAdvisoryBuilder_; @@ -3062,6 +3410,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory private java.lang.Object routeToken_ = ""; /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3075,13 +3425,13 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * string route_token = 12; + * * @return The routeToken. */ public java.lang.String getRouteToken() { java.lang.Object ref = routeToken_; 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(); routeToken_ = s; return s; @@ -3090,6 +3440,8 @@ public java.lang.String getRouteToken() { } } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3103,15 +3455,14 @@ public java.lang.String getRouteToken() {
      * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ - public com.google.protobuf.ByteString - getRouteTokenBytes() { + public com.google.protobuf.ByteString getRouteTokenBytes() { java.lang.Object ref = routeToken_; 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); routeToken_ = b; return b; } else { @@ -3119,6 +3470,8 @@ public java.lang.String getRouteToken() { } } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3132,20 +3485,22 @@ public java.lang.String getRouteToken() {
      * 
* * string route_token = 12; + * * @param value The routeToken to set. * @return This builder for chaining. */ - public Builder setRouteToken( - java.lang.String value) { + public Builder setRouteToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routeToken_ = value; onChanged(); return this; } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3159,15 +3514,18 @@ public Builder setRouteToken(
      * 
* * string route_token = 12; + * * @return This builder for chaining. */ public Builder clearRouteToken() { - + routeToken_ = getDefaultInstance().getRouteToken(); onChanged(); return this; } /** + * + * *
      * Web-safe base64 encoded route token that can be passed to NavigationSDK,
      * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -3181,23 +3539,23 @@ public Builder clearRouteToken() {
      * 
* * string route_token = 12; + * * @param value The bytes for routeToken to set. * @return This builder for chaining. */ - public Builder setRouteTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setRouteTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routeToken_ = 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); } @@ -3207,12 +3565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Route) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Route) private static final com.google.maps.routing.v2.Route DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Route(); } @@ -3221,27 +3579,27 @@ public static com.google.maps.routing.v2.Route getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Route 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 Route 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; @@ -3256,6 +3614,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Route getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java similarity index 71% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java index ac717036ef9a..a6df87ab0bbc 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabel.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/routing/v2/route_label.proto package com.google.maps.routing.v2; /** + * + * *
  * Labels for the `Route` that are useful to identify specific properties
  * of the route to compare against others.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteLabel}
  */
-public enum RouteLabel
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteLabel implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default - not used.
    * 
@@ -22,6 +40,8 @@ public enum RouteLabel */ ROUTE_LABEL_UNSPECIFIED(0), /** + * + * *
    * The default "best" route returned for the route computation.
    * 
@@ -30,6 +50,8 @@ public enum RouteLabel */ DEFAULT_ROUTE(1), /** + * + * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -40,6 +62,8 @@ public enum RouteLabel
    */
   DEFAULT_ROUTE_ALTERNATE(2),
   /**
+   *
+   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -52,6 +76,8 @@ public enum RouteLabel
   ;
 
   /**
+   *
+   *
    * 
    * Default - not used.
    * 
@@ -60,6 +86,8 @@ public enum RouteLabel */ public static final int ROUTE_LABEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The default "best" route returned for the route computation.
    * 
@@ -68,6 +96,8 @@ public enum RouteLabel */ public static final int DEFAULT_ROUTE_VALUE = 1; /** + * + * *
    * An alternative to the default "best" route. Routes like this will be
    * returned when `ComputeRoutesRequest.compute_alternative_routes` is
@@ -78,6 +108,8 @@ public enum RouteLabel
    */
   public static final int DEFAULT_ROUTE_ALTERNATE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Fuel efficient route. Routes labeled with this value are determined to be
    * optimized for Eco parameters such as fuel consumption.
@@ -87,7 +119,6 @@ public enum RouteLabel
    */
   public static final int FUEL_EFFICIENT_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -112,50 +143,51 @@ public static RouteLabel valueOf(int value) {
    */
   public static RouteLabel forNumber(int value) {
     switch (value) {
-      case 0: return ROUTE_LABEL_UNSPECIFIED;
-      case 1: return DEFAULT_ROUTE;
-      case 2: return DEFAULT_ROUTE_ALTERNATE;
-      case 3: return FUEL_EFFICIENT;
-      default: return null;
+      case 0:
+        return ROUTE_LABEL_UNSPECIFIED;
+      case 1:
+        return DEFAULT_ROUTE;
+      case 2:
+        return DEFAULT_ROUTE_ALTERNATE;
+      case 3:
+        return FUEL_EFFICIENT;
+      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<
-      RouteLabel> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteLabel findValueByNumber(int number) {
-            return RouteLabel.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 RouteLabel findValueByNumber(int number) {
+          return RouteLabel.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.routing.v2.RouteLabelProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteLabel[] VALUES = values();
 
-  public static RouteLabel valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteLabel 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;
@@ -171,4 +203,3 @@ private RouteLabel(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteLabel)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
new file mode 100644
index 000000000000..d2d2b74e93af
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java
@@ -0,0 +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/routing/v2/route_label.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteLabelProto {
+  private RouteLabelProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_label.pro"
+          + "to\022\026google.maps.routing.v2*m\n\nRouteLabel"
+          + "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT"
+          + "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n"
+          + "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro"
+          + "uting.v2B\017RouteLabelProtoP\001Z=google.gola"
+          + "ng.org/genproto/googleapis/maps/routing/"
+          + "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout"
+          + "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google"
+          + "::Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
index 4d20e31392ab..ca791c89a53f 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLeg.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a segment between non-`via` waypoints.
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ -public final class RouteLeg extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteLeg extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLeg) RouteLegOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteLeg.newBuilder() to construct. private RouteLeg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RouteLeg() { steps_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteLeg(); } @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, + com.google.maps.routing.v2.RouteLeg.Builder.class); } public static final int DISTANCE_METERS_FIELD_NUMBER = 1; private int distanceMeters_; /** + * + * *
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -66,6 +88,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -75,6 +99,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -82,6 +107,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -91,6 +118,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ @java.lang.Override @@ -98,6 +126,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -116,12 +146,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -129,19 +162,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -157,12 +197,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 4;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -170,12 +213,15 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ @java.lang.Override @@ -183,6 +229,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -198,6 +246,8 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
   public static final int START_LOCATION_FIELD_NUMBER = 5;
   private com.google.maps.routing.v2.Location startLocation_;
   /**
+   *
+   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -205,6 +255,7 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -212,6 +263,8 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -219,13 +272,18 @@ public boolean hasStartLocation() {
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -242,6 +300,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
   public static final int END_LOCATION_FIELD_NUMBER = 6;
   private com.google.maps.routing.v2.Location endLocation_;
   /**
+   *
+   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -249,6 +309,7 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -256,6 +317,8 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -263,13 +326,18 @@ public boolean hasEndLocation() {
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -286,6 +354,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
   public static final int STEPS_FIELD_NUMBER = 7;
   private java.util.List steps_;
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -298,6 +368,8 @@ public java.util.List getStepsList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -306,11 +378,13 @@ public java.util.List getStepsList() {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getStepsOrBuilderList() {
     return steps_;
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -323,6 +397,8 @@ public int getStepsCount() {
     return steps_.size();
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -335,6 +411,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
     return steps_.get(index);
   }
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -343,20 +421,22 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-      int index) {
+  public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
     return steps_.get(index);
   }
 
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -364,19 +444,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -390,6 +477,7 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -401,8 +489,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -437,36 +524,28 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPolyline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEndLocation());
     }
     for (int i = 0; i < steps_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, steps_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, steps_.get(i));
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -476,46 +555,38 @@ 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.routing.v2.RouteLeg)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLeg other = (com.google.maps.routing.v2.RouteLeg) obj;
 
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration()
-          .equals(other.getDuration())) return false;
+      if (!getDuration().equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline()
-          .equals(other.getPolyline())) return false;
+      if (!getPolyline().equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation()
-          .equals(other.getStartLocation())) return false;
+      if (!getStartLocation().equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation()
-          .equals(other.getEndLocation())) return false;
+      if (!getEndLocation().equals(other.getEndLocation())) return false;
     }
-    if (!getStepsList()
-        .equals(other.getStepsList())) return false;
+    if (!getStepsList().equals(other.getStepsList())) return false;
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -563,130 +634,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLeg parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.RouteLeg parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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.routing.v2.RouteLeg 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a segment between non-`via` waypoints.
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteLeg} */ - 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.routing.v2.RouteLeg) com.google.maps.routing.v2.RouteLegOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteLeg.class, com.google.maps.routing.v2.RouteLeg.Builder.class); + com.google.maps.routing.v2.RouteLeg.class, + com.google.maps.routing.v2.RouteLeg.Builder.class); } // Construct using com.google.maps.routing.v2.RouteLeg.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(); @@ -739,9 +815,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLeg_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RouteProto + .internal_static_google_maps_routing_v2_RouteLeg_descriptor; } @java.lang.Override @@ -810,38 +886,39 @@ public com.google.maps.routing.v2.RouteLeg 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.routing.v2.RouteLeg) { - return mergeFrom((com.google.maps.routing.v2.RouteLeg)other); + return mergeFrom((com.google.maps.routing.v2.RouteLeg) other); } else { super.mergeFrom(other); return this; @@ -886,9 +963,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLeg other) { stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000001); - stepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStepsFieldBuilder() : null; + stepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStepsFieldBuilder() + : null; } else { stepsBuilder_.addAllMessages(other.steps_); } @@ -923,72 +1001,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - distanceMeters_ = input.readInt32(); - - break; - } // case 8 - case 18: { - input.readMessage( - getDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getStaticDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getPolylineFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getStartLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - input.readMessage( - getEndLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 50 - case 58: { - com.google.maps.routing.v2.RouteLegStep m = - input.readMessage( - com.google.maps.routing.v2.RouteLegStep.parser(), - extensionRegistry); - if (stepsBuilder_ == null) { - ensureStepsIsMutable(); - steps_.add(m); - } else { - stepsBuilder_.addMessage(m); - } - break; - } // case 58 - case 66: { - input.readMessage( - getTravelAdvisoryFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + distanceMeters_ = input.readInt32(); + + break; + } // case 8 + case 18: + { + input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 50 + case 58: + { + com.google.maps.routing.v2.RouteLegStep m = + input.readMessage( + com.google.maps.routing.v2.RouteLegStep.parser(), extensionRegistry); + if (stepsBuilder_ == null) { + ensureStepsIsMutable(); + steps_.add(m); + } else { + stepsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: + { + input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + 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) { @@ -998,15 +1072,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int distanceMeters_ ; + private int distanceMeters_; /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -1014,30 +1092,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route leg, in meters.
      * 
* * int32 distance_meters = 1; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1045,8 +1129,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1056,12 +1145,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1071,6 +1163,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1081,6 +1174,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1105,6 +1200,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1115,8 +1212,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 2;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1127,6 +1223,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1141,7 +1239,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1153,6 +1251,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1175,6 +1275,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1186,11 +1288,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 2;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1205,11 +1309,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the leg. If the `route_preference`
      * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1221,14 +1326,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1236,36 +1344,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1287,6 +1408,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1294,8 +1417,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 3;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1306,6 +1428,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1317,7 +1441,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1329,6 +1455,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1348,6 +1476,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1356,11 +1486,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1372,11 +1504,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the leg, calculated without taking
      * traffic conditions into consideration.
@@ -1385,14 +1520,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1400,36 +1538,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
      * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1451,6 +1602,8 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1458,8 +1611,7 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) {
      *
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
-    public Builder setPolyline(
-        com.google.maps.routing.v2.Polyline.Builder builderForValue) {
+    public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) {
       if (polylineBuilder_ == null) {
         polyline_ = builderForValue.build();
         onChanged();
@@ -1470,6 +1622,8 @@ public Builder setPolyline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1481,7 +1635,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       if (polylineBuilder_ == null) {
         if (polyline_ != null) {
           polyline_ =
-            com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Polyline.newBuilder(polyline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           polyline_ = value;
         }
@@ -1493,6 +1649,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1512,6 +1670,8 @@ public Builder clearPolyline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1520,11 +1680,13 @@ public Builder clearPolyline() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() {
-      
+
       onChanged();
       return getPolylineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1536,11 +1698,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
       if (polylineBuilder_ != null) {
         return polylineBuilder_.getMessageOrBuilder();
       } else {
-        return polyline_ == null ?
-            com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_;
+        return polyline_ == null
+            ? com.google.maps.routing.v2.Polyline.getDefaultInstance()
+            : polyline_;
       }
     }
     /**
+     *
+     *
      * 
      * The overall polyline for this leg. This includes that each `step`'s
      * polyline.
@@ -1549,14 +1714,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * .google.maps.routing.v2.Polyline polyline = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> 
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
         getPolylineFieldBuilder() {
       if (polylineBuilder_ == null) {
-        polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>(
-                getPolyline(),
-                getParentForChildren(),
-                isClean());
+        polylineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Polyline,
+                com.google.maps.routing.v2.Polyline.Builder,
+                com.google.maps.routing.v2.PolylineOrBuilder>(
+                getPolyline(), getParentForChildren(), isClean());
         polyline_ = null;
       }
       return polylineBuilder_;
@@ -1564,8 +1732,13 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
 
     private com.google.maps.routing.v2.Location startLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        startLocationBuilder_;
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1573,12 +1746,15 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** + * + * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1586,16 +1762,21 @@ public boolean hasStartLocation() {
      * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** + * + * *
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1618,6 +1799,8 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1626,8 +1809,7 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location start_location = 5;
      */
-    public Builder setStartLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (startLocationBuilder_ == null) {
         startLocation_ = builderForValue.build();
         onChanged();
@@ -1638,6 +1820,8 @@ public Builder setStartLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1650,7 +1834,9 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       if (startLocationBuilder_ == null) {
         if (startLocation_ != null) {
           startLocation_ =
-            com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Location.newBuilder(startLocation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startLocation_ = value;
         }
@@ -1662,6 +1848,8 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1682,6 +1870,8 @@ public Builder clearStartLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1691,11 +1881,13 @@ public Builder clearStartLocation() {
      * .google.maps.routing.v2.Location start_location = 5;
      */
     public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() {
-      
+
       onChanged();
       return getStartLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1708,11 +1900,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
       if (startLocationBuilder_ != null) {
         return startLocationBuilder_.getMessageOrBuilder();
       } else {
-        return startLocation_ == null ?
-            com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_;
+        return startLocation_ == null
+            ? com.google.maps.routing.v2.Location.getDefaultInstance()
+            : startLocation_;
       }
     }
     /**
+     *
+     *
      * 
      * The start location of this leg. This might be different from the provided
      * `origin`. For example, when the provided `origin` is not near a road, this
@@ -1722,14 +1917,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * .google.maps.routing.v2.Location start_location = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getStartLocationFieldBuilder() {
       if (startLocationBuilder_ == null) {
-        startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
-                getStartLocation(),
-                getParentForChildren(),
-                isClean());
+        startLocationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
+                getStartLocation(), getParentForChildren(), isClean());
         startLocation_ = null;
       }
       return startLocationBuilder_;
@@ -1737,8 +1935,13 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
 
     private com.google.maps.routing.v2.Location endLocation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        endLocationBuilder_;
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1746,12 +1949,15 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder()
      * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** + * + * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1759,16 +1965,21 @@ public boolean hasEndLocation() {
      * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** + * + * *
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1791,6 +2002,8 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1799,8 +2012,7 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location end_location = 6;
      */
-    public Builder setEndLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (endLocationBuilder_ == null) {
         endLocation_ = builderForValue.build();
         onChanged();
@@ -1811,6 +2023,8 @@ public Builder setEndLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1823,7 +2037,9 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       if (endLocationBuilder_ == null) {
         if (endLocation_ != null) {
           endLocation_ =
-            com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.Location.newBuilder(endLocation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           endLocation_ = value;
         }
@@ -1835,6 +2051,8 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1855,6 +2073,8 @@ public Builder clearEndLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1864,11 +2084,13 @@ public Builder clearEndLocation() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() {
-      
+
       onChanged();
       return getEndLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1881,11 +2103,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
       if (endLocationBuilder_ != null) {
         return endLocationBuilder_.getMessageOrBuilder();
       } else {
-        return endLocation_ == null ?
-            com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_;
+        return endLocation_ == null
+            ? com.google.maps.routing.v2.Location.getDefaultInstance()
+            : endLocation_;
       }
     }
     /**
+     *
+     *
      * 
      * The end location of this leg. This might be different from the provided
      * `destination`. For example, when the provided `destination` is not near a
@@ -1895,32 +2120,41 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() {
      * .google.maps.routing.v2.Location end_location = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getEndLocationFieldBuilder() {
       if (endLocationBuilder_ == null) {
-        endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
-                getEndLocation(),
-                getParentForChildren(),
-                isClean());
+        endLocationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
+                getEndLocation(), getParentForChildren(), isClean());
         endLocation_ = null;
       }
       return endLocationBuilder_;
     }
 
     private java.util.List steps_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStepsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         steps_ = new java.util.ArrayList(steps_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> stepsBuilder_;
+            com.google.maps.routing.v2.RouteLegStep,
+            com.google.maps.routing.v2.RouteLegStep.Builder,
+            com.google.maps.routing.v2.RouteLegStepOrBuilder>
+        stepsBuilder_;
 
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1936,6 +2170,8 @@ public java.util.List getStepsList() {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1951,6 +2187,8 @@ public int getStepsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1966,6 +2204,8 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -1973,8 +2213,7 @@ public com.google.maps.routing.v2.RouteLegStep getSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder setSteps(
-        int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder setSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1988,6 +2227,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2007,6 +2248,8 @@ public Builder setSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2028,6 +2271,8 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2035,8 +2280,7 @@ public Builder addSteps(com.google.maps.routing.v2.RouteLegStep value) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(
-        int index, com.google.maps.routing.v2.RouteLegStep value) {
+    public Builder addSteps(int index, com.google.maps.routing.v2.RouteLegStep value) {
       if (stepsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2050,6 +2294,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2057,8 +2303,7 @@ public Builder addSteps(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public Builder addSteps(
-        com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
+    public Builder addSteps(com.google.maps.routing.v2.RouteLegStep.Builder builderForValue) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
         steps_.add(builderForValue.build());
@@ -2069,6 +2314,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2088,6 +2335,8 @@ public Builder addSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2099,8 +2348,7 @@ public Builder addAllSteps(
         java.lang.Iterable values) {
       if (stepsBuilder_ == null) {
         ensureStepsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, steps_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, steps_);
         onChanged();
       } else {
         stepsBuilder_.addAllMessages(values);
@@ -2108,6 +2356,8 @@ public Builder addAllSteps(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2126,6 +2376,8 @@ public Builder clearSteps() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2144,6 +2396,8 @@ public Builder removeSteps(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2151,11 +2405,12 @@ public Builder removeSteps(int index) {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(int index) {
       return getStepsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2163,14 +2418,16 @@ public com.google.maps.routing.v2.RouteLegStep.Builder getStepsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-        int index) {
+    public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index) {
       if (stepsBuilder_ == null) {
-        return steps_.get(index);  } else {
+        return steps_.get(index);
+      } else {
         return stepsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2178,8 +2435,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List 
-         getStepsOrBuilderList() {
+    public java.util.List
+        getStepsOrBuilderList() {
       if (stepsBuilder_ != null) {
         return stepsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2187,6 +2444,8 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2195,10 +2454,12 @@ public com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
     public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
-      return getStepsFieldBuilder().addBuilder(
-          com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+      return getStepsFieldBuilder()
+          .addBuilder(com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2206,12 +2467,13 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder() {
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
-        int index) {
-      return getStepsFieldBuilder().addBuilder(
-          index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
+    public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(int index) {
+      return getStepsFieldBuilder()
+          .addBuilder(index, com.google.maps.routing.v2.RouteLegStep.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An array of steps denoting segments within this leg. Each step represents
      * one navigation instruction.
@@ -2219,20 +2481,22 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
      *
      * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
      */
-    public java.util.List 
-         getStepsBuilderList() {
+    public java.util.List getStepsBuilderList() {
       return getStepsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder> 
+            com.google.maps.routing.v2.RouteLegStep,
+            com.google.maps.routing.v2.RouteLegStep.Builder,
+            com.google.maps.routing.v2.RouteLegStepOrBuilder>
         getStepsFieldBuilder() {
       if (stepsBuilder_ == null) {
-        stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStep, com.google.maps.routing.v2.RouteLegStep.Builder, com.google.maps.routing.v2.RouteLegStepOrBuilder>(
-                steps_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        stepsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegStep,
+                com.google.maps.routing.v2.RouteLegStep.Builder,
+                com.google.maps.routing.v2.RouteLegStepOrBuilder>(
+                steps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         steps_ = null;
       }
       return stepsBuilder_;
@@ -2240,36 +2504,49 @@ public com.google.maps.routing.v2.RouteLegStep.Builder addStepsBuilder(
 
     private com.google.maps.routing.v2.RouteLegTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
+            com.google.maps.routing.v2.RouteLegTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
+        travelAdvisoryBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
      * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2291,6 +2568,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdviso
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2310,6 +2589,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2321,7 +2602,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -2333,6 +2616,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegTravelAdvi
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2352,6 +2637,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2360,11 +2647,13 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     public com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2376,11 +2665,14 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction etc. on a route leg.
@@ -2389,21 +2681,24 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder getTravelAdvis
      * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteLegTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegTravelAdvisory, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegTravelAdvisory,
+                com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
+
     @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);
     }
 
@@ -2413,12 +2708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLeg)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLeg)
   private static final com.google.maps.routing.v2.RouteLeg DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLeg();
   }
@@ -2427,27 +2722,27 @@ public static com.google.maps.routing.v2.RouteLeg getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteLeg 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 RouteLeg 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;
@@ -2462,6 +2757,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLeg getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
index 60d07ca7ab3a..c08e71a46f81 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegOrBuilder.java
@@ -1,23 +1,44 @@
+/*
+ * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegOrBuilder extends
+public interface RouteLegOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLeg)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The travel distance of the route leg, in meters.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -27,10 +48,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 2; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -40,10 +64,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 2; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the leg. If the `route_preference`
    * is set to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -57,26 +84,34 @@ public interface RouteLegOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 3; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the leg, calculated without taking
    * traffic conditions into consideration.
@@ -87,26 +122,34 @@ public interface RouteLegOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
    * 
* * .google.maps.routing.v2.Polyline polyline = 4; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The overall polyline for this leg. This includes that each `step`'s
    * polyline.
@@ -117,6 +160,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
+   *
+   *
    * 
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -124,10 +169,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -135,10 +183,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location start_location = 5; + * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** + * + * *
    * The start location of this leg. This might be different from the provided
    * `origin`. For example, when the provided `origin` is not near a road, this
@@ -150,6 +201,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -157,10 +210,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -168,10 +224,13 @@ public interface RouteLegOrBuilder extends
    * 
* * .google.maps.routing.v2.Location end_location = 6; + * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** + * + * *
    * The end location of this leg. This might be different from the provided
    * `destination`. For example, when the provided `destination` is not near a
@@ -183,6 +242,8 @@ public interface RouteLegOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -190,9 +251,10 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List 
-      getStepsList();
+  java.util.List getStepsList();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -202,6 +264,8 @@ public interface RouteLegOrBuilder extends
    */
   com.google.maps.routing.v2.RouteLegStep getSteps(int index);
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -211,6 +275,8 @@ public interface RouteLegOrBuilder extends
    */
   int getStepsCount();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -218,9 +284,11 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  java.util.List 
+  java.util.List
       getStepsOrBuilderList();
   /**
+   *
+   *
    * 
    * An array of steps denoting segments within this leg. Each step represents
    * one navigation instruction.
@@ -228,30 +296,37 @@ public interface RouteLegOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLegStep steps = 7;
    */
-  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteLegStepOrBuilder getStepsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
    * 
* * .google.maps.routing.v2.RouteLegTravelAdvisory travel_advisory = 8; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
similarity index 73%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
index 84201efc7c81..67b2489432a8 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStep.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
  * navigation instruction. Route legs are made up of steps.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
  */
-public final class RouteLegStep extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegStep extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStep)
     RouteLegStepOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegStep.newBuilder() to construct.
   private RouteLegStep(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RouteLegStep() {
-  }
+
+  private RouteLegStep() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegStep();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
+            com.google.maps.routing.v2.RouteLegStep.class,
+            com.google.maps.routing.v2.RouteLegStep.Builder.class);
   }
 
   public static final int DISTANCE_METERS_FIELD_NUMBER = 1;
   private int distanceMeters_;
   /**
+   *
+   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -67,6 +88,8 @@ public int getDistanceMeters() { public static final int STATIC_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration staticDuration_; /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -74,6 +97,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -81,6 +105,8 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -88,13 +114,18 @@ public boolean hasStaticDuration() {
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -111,11 +142,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int POLYLINE_FIELD_NUMBER = 3;
   private com.google.maps.routing.v2.Polyline polyline_;
   /**
+   *
+   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ @java.lang.Override @@ -123,11 +157,14 @@ public boolean hasPolyline() { return polyline_ != null; } /** + * + * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ @java.lang.Override @@ -135,6 +172,8 @@ public com.google.maps.routing.v2.Polyline getPolyline() { return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; } /** + * + * *
    * The polyline associated with this step.
    * 
@@ -149,11 +188,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { public static final int START_LOCATION_FIELD_NUMBER = 4; private com.google.maps.routing.v2.Location startLocation_; /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ @java.lang.Override @@ -161,18 +203,25 @@ public boolean hasStartLocation() { return startLocation_ != null; } /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getStartLocation() { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } /** + * + * *
    * The start location of this step.
    * 
@@ -187,11 +236,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() public static final int END_LOCATION_FIELD_NUMBER = 5; private com.google.maps.routing.v2.Location endLocation_; /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ @java.lang.Override @@ -199,18 +251,25 @@ public boolean hasEndLocation() { return endLocation_ != null; } /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ @java.lang.Override public com.google.maps.routing.v2.Location getEndLocation() { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } /** + * + * *
    * The end location of this step.
    * 
@@ -225,11 +284,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { public static final int NAVIGATION_INSTRUCTION_FIELD_NUMBER = 6; private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ @java.lang.Override @@ -237,18 +299,25 @@ public boolean hasNavigationInstruction() { return navigationInstruction_ != null; } /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ @java.lang.Override public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { - return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } /** + * + * *
    * Navigation instructions.
    * 
@@ -256,19 +325,23 @@ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ @java.lang.Override - public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder + getNavigationInstructionOrBuilder() { return getNavigationInstruction(); } public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7; private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -276,19 +349,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -297,11 +377,13 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory()
    * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
    */
   @java.lang.Override
-  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
+  public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
+      getTravelAdvisoryOrBuilder() {
     return getTravelAdvisory();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +395,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 (distanceMeters_ != 0) {
       output.writeInt32(1, distanceMeters_);
     }
@@ -346,32 +427,26 @@ public int getSerializedSize() {
 
     size = 0;
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, distanceMeters_);
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStaticDuration());
     }
     if (polyline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getPolyline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolyline());
     }
     if (startLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getStartLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartLocation());
     }
     if (endLocation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getEndLocation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndLocation());
     }
     if (navigationInstruction_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getNavigationInstruction());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNavigationInstruction());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -381,44 +456,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.routing.v2.RouteLegStep)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.RouteLegStep other = (com.google.maps.routing.v2.RouteLegStep) obj;
 
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasPolyline() != other.hasPolyline()) return false;
     if (hasPolyline()) {
-      if (!getPolyline()
-          .equals(other.getPolyline())) return false;
+      if (!getPolyline().equals(other.getPolyline())) return false;
     }
     if (hasStartLocation() != other.hasStartLocation()) return false;
     if (hasStartLocation()) {
-      if (!getStartLocation()
-          .equals(other.getStartLocation())) return false;
+      if (!getStartLocation().equals(other.getStartLocation())) return false;
     }
     if (hasEndLocation() != other.hasEndLocation()) return false;
     if (hasEndLocation()) {
-      if (!getEndLocation()
-          .equals(other.getEndLocation())) return false;
+      if (!getEndLocation().equals(other.getEndLocation())) return false;
     }
     if (hasNavigationInstruction() != other.hasNavigationInstruction()) return false;
     if (hasNavigationInstruction()) {
-      if (!getNavigationInstruction()
-          .equals(other.getNavigationInstruction())) return false;
+      if (!getNavigationInstruction().equals(other.getNavigationInstruction())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -462,97 +530,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteLegStep parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteLegStep parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStep parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates a segment of a `RouteLeg`. A step corresponds to a single
    * navigation instruction. Route legs are made up of steps.
@@ -560,33 +635,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStep}
    */
-  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.routing.v2.RouteLegStep)
       com.google.maps.routing.v2.RouteLegStepOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStep.class, com.google.maps.routing.v2.RouteLegStep.Builder.class);
+              com.google.maps.routing.v2.RouteLegStep.class,
+              com.google.maps.routing.v2.RouteLegStep.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStep.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();
@@ -632,9 +706,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStep_descriptor;
     }
 
     @java.lang.Override
@@ -653,7 +727,8 @@ public com.google.maps.routing.v2.RouteLegStep build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStep buildPartial() {
-      com.google.maps.routing.v2.RouteLegStep result = new com.google.maps.routing.v2.RouteLegStep(this);
+      com.google.maps.routing.v2.RouteLegStep result =
+          new com.google.maps.routing.v2.RouteLegStep(this);
       result.distanceMeters_ = distanceMeters_;
       if (staticDurationBuilder_ == null) {
         result.staticDuration_ = staticDuration_;
@@ -693,38 +768,39 @@ public com.google.maps.routing.v2.RouteLegStep 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.routing.v2.RouteLegStep) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStep)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStep) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -780,59 +856,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getPolylineFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getStartLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getEndLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getNavigationInstructionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getPolylineFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getStartLocationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getEndLocationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getNavigationInstructionFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -843,14 +916,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int distanceMeters_ ;
+    private int distanceMeters_;
     /**
+     *
+     *
      * 
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ @java.lang.Override @@ -858,32 +934,38 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of this step, in meters. In some circumstances, this
      * field might not have a value.
      * 
* * int32 distance_meters = 1; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -891,8 +973,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration staticDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + staticDurationBuilder_; /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -900,12 +987,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -913,16 +1003,21 @@ public boolean hasStaticDuration() {
      * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -945,6 +1040,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -953,8 +1050,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 2;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -965,6 +1061,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -977,7 +1075,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -989,6 +1089,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1009,6 +1111,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1018,11 +1122,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1035,11 +1141,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of travel through this step without taking traffic conditions
      * into consideration. In some circumstances, this field might not have a
@@ -1049,14 +1158,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1064,34 +1176,47 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.Polyline polyline_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> polylineBuilder_;
+            com.google.maps.routing.v2.Polyline,
+            com.google.maps.routing.v2.Polyline.Builder,
+            com.google.maps.routing.v2.PolylineOrBuilder>
+        polylineBuilder_;
     /**
+     *
+     *
      * 
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ public boolean hasPolyline() { return polylineBuilder_ != null || polyline_ != null; } /** + * + * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ public com.google.maps.routing.v2.Polyline getPolyline() { if (polylineBuilder_ == null) { - return polyline_ == null ? com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } else { return polylineBuilder_.getMessage(); } } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1112,14 +1237,15 @@ public Builder setPolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
* * .google.maps.routing.v2.Polyline polyline = 3; */ - public Builder setPolyline( - com.google.maps.routing.v2.Polyline.Builder builderForValue) { + public Builder setPolyline(com.google.maps.routing.v2.Polyline.Builder builderForValue) { if (polylineBuilder_ == null) { polyline_ = builderForValue.build(); onChanged(); @@ -1130,6 +1256,8 @@ public Builder setPolyline( return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1140,7 +1268,9 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { if (polylineBuilder_ == null) { if (polyline_ != null) { polyline_ = - com.google.maps.routing.v2.Polyline.newBuilder(polyline_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Polyline.newBuilder(polyline_) + .mergeFrom(value) + .buildPartial(); } else { polyline_ = value; } @@ -1152,6 +1282,8 @@ public Builder mergePolyline(com.google.maps.routing.v2.Polyline value) { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1170,6 +1302,8 @@ public Builder clearPolyline() { return this; } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1177,11 +1311,13 @@ public Builder clearPolyline() { * .google.maps.routing.v2.Polyline polyline = 3; */ public com.google.maps.routing.v2.Polyline.Builder getPolylineBuilder() { - + onChanged(); return getPolylineFieldBuilder().getBuilder(); } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1192,11 +1328,14 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { if (polylineBuilder_ != null) { return polylineBuilder_.getMessageOrBuilder(); } else { - return polyline_ == null ? - com.google.maps.routing.v2.Polyline.getDefaultInstance() : polyline_; + return polyline_ == null + ? com.google.maps.routing.v2.Polyline.getDefaultInstance() + : polyline_; } } /** + * + * *
      * The polyline associated with this step.
      * 
@@ -1204,14 +1343,17 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { * .google.maps.routing.v2.Polyline polyline = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder> + com.google.maps.routing.v2.Polyline, + com.google.maps.routing.v2.Polyline.Builder, + com.google.maps.routing.v2.PolylineOrBuilder> getPolylineFieldBuilder() { if (polylineBuilder_ == null) { - polylineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Polyline, com.google.maps.routing.v2.Polyline.Builder, com.google.maps.routing.v2.PolylineOrBuilder>( - getPolyline(), - getParentForChildren(), - isClean()); + polylineBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Polyline, + com.google.maps.routing.v2.Polyline.Builder, + com.google.maps.routing.v2.PolylineOrBuilder>( + getPolyline(), getParentForChildren(), isClean()); polyline_ = null; } return polylineBuilder_; @@ -1219,34 +1361,47 @@ public com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder() { private com.google.maps.routing.v2.Location startLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> startLocationBuilder_; + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> + startLocationBuilder_; /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ public boolean hasStartLocation() { return startLocationBuilder_ != null || startLocation_ != null; } /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ public com.google.maps.routing.v2.Location getStartLocation() { if (startLocationBuilder_ == null) { - return startLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } else { return startLocationBuilder_.getMessage(); } } /** + * + * *
      * The start location of this step.
      * 
@@ -1267,14 +1422,15 @@ public Builder setStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The start location of this step.
      * 
* * .google.maps.routing.v2.Location start_location = 4; */ - public Builder setStartLocation( - com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setStartLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { if (startLocationBuilder_ == null) { startLocation_ = builderForValue.build(); onChanged(); @@ -1285,6 +1441,8 @@ public Builder setStartLocation( return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1295,7 +1453,9 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { if (startLocationBuilder_ == null) { if (startLocation_ != null) { startLocation_ = - com.google.maps.routing.v2.Location.newBuilder(startLocation_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(startLocation_) + .mergeFrom(value) + .buildPartial(); } else { startLocation_ = value; } @@ -1307,6 +1467,8 @@ public Builder mergeStartLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1325,6 +1487,8 @@ public Builder clearStartLocation() { return this; } /** + * + * *
      * The start location of this step.
      * 
@@ -1332,11 +1496,13 @@ public Builder clearStartLocation() { * .google.maps.routing.v2.Location start_location = 4; */ public com.google.maps.routing.v2.Location.Builder getStartLocationBuilder() { - + onChanged(); return getStartLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The start location of this step.
      * 
@@ -1347,11 +1513,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() if (startLocationBuilder_ != null) { return startLocationBuilder_.getMessageOrBuilder(); } else { - return startLocation_ == null ? - com.google.maps.routing.v2.Location.getDefaultInstance() : startLocation_; + return startLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : startLocation_; } } /** + * + * *
      * The start location of this step.
      * 
@@ -1359,14 +1528,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() * .google.maps.routing.v2.Location start_location = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> getStartLocationFieldBuilder() { if (startLocationBuilder_ == null) { - startLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( - getStartLocation(), - getParentForChildren(), - isClean()); + startLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder>( + getStartLocation(), getParentForChildren(), isClean()); startLocation_ = null; } return startLocationBuilder_; @@ -1374,34 +1546,47 @@ public com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder() private com.google.maps.routing.v2.Location endLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> endLocationBuilder_; + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> + endLocationBuilder_; /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ public boolean hasEndLocation() { return endLocationBuilder_ != null || endLocation_ != null; } /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ public com.google.maps.routing.v2.Location getEndLocation() { if (endLocationBuilder_ == null) { - return endLocation_ == null ? com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } else { return endLocationBuilder_.getMessage(); } } /** + * + * *
      * The end location of this step.
      * 
@@ -1422,14 +1607,15 @@ public Builder setEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The end location of this step.
      * 
* * .google.maps.routing.v2.Location end_location = 5; */ - public Builder setEndLocation( - com.google.maps.routing.v2.Location.Builder builderForValue) { + public Builder setEndLocation(com.google.maps.routing.v2.Location.Builder builderForValue) { if (endLocationBuilder_ == null) { endLocation_ = builderForValue.build(); onChanged(); @@ -1440,6 +1626,8 @@ public Builder setEndLocation( return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1450,7 +1638,9 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { if (endLocationBuilder_ == null) { if (endLocation_ != null) { endLocation_ = - com.google.maps.routing.v2.Location.newBuilder(endLocation_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Location.newBuilder(endLocation_) + .mergeFrom(value) + .buildPartial(); } else { endLocation_ = value; } @@ -1462,6 +1652,8 @@ public Builder mergeEndLocation(com.google.maps.routing.v2.Location value) { return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1480,6 +1672,8 @@ public Builder clearEndLocation() { return this; } /** + * + * *
      * The end location of this step.
      * 
@@ -1487,11 +1681,13 @@ public Builder clearEndLocation() { * .google.maps.routing.v2.Location end_location = 5; */ public com.google.maps.routing.v2.Location.Builder getEndLocationBuilder() { - + onChanged(); return getEndLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The end location of this step.
      * 
@@ -1502,11 +1698,14 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { if (endLocationBuilder_ != null) { return endLocationBuilder_.getMessageOrBuilder(); } else { - return endLocation_ == null ? - com.google.maps.routing.v2.Location.getDefaultInstance() : endLocation_; + return endLocation_ == null + ? com.google.maps.routing.v2.Location.getDefaultInstance() + : endLocation_; } } /** + * + * *
      * The end location of this step.
      * 
@@ -1514,14 +1713,17 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { * .google.maps.routing.v2.Location end_location = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder> getEndLocationFieldBuilder() { if (endLocationBuilder_ == null) { - endLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>( - getEndLocation(), - getParentForChildren(), - isClean()); + endLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Location, + com.google.maps.routing.v2.Location.Builder, + com.google.maps.routing.v2.LocationOrBuilder>( + getEndLocation(), getParentForChildren(), isClean()); endLocation_ = null; } return endLocationBuilder_; @@ -1529,41 +1731,55 @@ public com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder() { private com.google.maps.routing.v2.NavigationInstruction navigationInstruction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> navigationInstructionBuilder_; + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder> + navigationInstructionBuilder_; /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ public boolean hasNavigationInstruction() { return navigationInstructionBuilder_ != null || navigationInstruction_ != null; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ public com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction() { if (navigationInstructionBuilder_ == null) { - return navigationInstruction_ == null ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } else { return navigationInstructionBuilder_.getMessage(); } } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { + public Builder setNavigationInstruction( + com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1577,6 +1793,8 @@ public Builder setNavigationInstruction(com.google.maps.routing.v2.NavigationIns return this; } /** + * + * *
      * Navigation instructions.
      * 
@@ -1595,17 +1813,22 @@ public Builder setNavigationInstruction( return this; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationInstruction value) { + public Builder mergeNavigationInstruction( + com.google.maps.routing.v2.NavigationInstruction value) { if (navigationInstructionBuilder_ == null) { if (navigationInstruction_ != null) { navigationInstruction_ = - com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.NavigationInstruction.newBuilder(navigationInstruction_) + .mergeFrom(value) + .buildPartial(); } else { navigationInstruction_ = value; } @@ -1617,6 +1840,8 @@ public Builder mergeNavigationInstruction(com.google.maps.routing.v2.NavigationI return this; } /** + * + * *
      * Navigation instructions.
      * 
@@ -1635,33 +1860,42 @@ public Builder clearNavigationInstruction() { return this; } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstruction.Builder getNavigationInstructionBuilder() { - + public com.google.maps.routing.v2.NavigationInstruction.Builder + getNavigationInstructionBuilder() { + onChanged(); return getNavigationInstructionFieldBuilder().getBuilder(); } /** + * + * *
      * Navigation instructions.
      * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ - public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder() { + public com.google.maps.routing.v2.NavigationInstructionOrBuilder + getNavigationInstructionOrBuilder() { if (navigationInstructionBuilder_ != null) { return navigationInstructionBuilder_.getMessageOrBuilder(); } else { - return navigationInstruction_ == null ? - com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() : navigationInstruction_; + return navigationInstruction_ == null + ? com.google.maps.routing.v2.NavigationInstruction.getDefaultInstance() + : navigationInstruction_; } } /** + * + * *
      * Navigation instructions.
      * 
@@ -1669,14 +1903,17 @@ public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationIn * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder> + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder> getNavigationInstructionFieldBuilder() { if (navigationInstructionBuilder_ == null) { - navigationInstructionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.NavigationInstruction, com.google.maps.routing.v2.NavigationInstruction.Builder, com.google.maps.routing.v2.NavigationInstructionOrBuilder>( - getNavigationInstruction(), - getParentForChildren(), - isClean()); + navigationInstructionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.NavigationInstruction, + com.google.maps.routing.v2.NavigationInstruction.Builder, + com.google.maps.routing.v2.NavigationInstructionOrBuilder>( + getNavigationInstruction(), getParentForChildren(), isClean()); navigationInstruction_ = null; } return navigationInstructionBuilder_; @@ -1684,36 +1921,49 @@ public com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationIn private com.google.maps.routing.v2.RouteLegStepTravelAdvisory travelAdvisory_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> travelAdvisoryBuilder_; + com.google.maps.routing.v2.RouteLegStepTravelAdvisory, + com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, + com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> + travelAdvisoryBuilder_; /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
      * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1735,6 +1985,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAd
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1754,6 +2006,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1761,11 +2015,14 @@ public Builder setTravelAdvisory(
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
+    public Builder mergeTravelAdvisory(
+        com.google.maps.routing.v2.RouteLegStepTravelAdvisory value) {
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -1777,6 +2034,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteLegStepTravel
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1796,6 +2055,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1803,12 +2064,15 @@ public Builder clearTravelAdvisory() {
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder
+        getTravelAdvisoryBuilder() {
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1816,15 +2080,19 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder getTravelAd
      *
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
-    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder() {
+    public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder
+        getTravelAdvisoryOrBuilder() {
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates the additional information that the user should be informed
      * about, such as possible traffic zone restriction on a leg step.
@@ -1833,21 +2101,24 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelA
      * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder, com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisory,
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
     }
+
     @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);
     }
 
@@ -1857,12 +2128,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStep)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStep)
   private static final com.google.maps.routing.v2.RouteLegStep DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStep();
   }
@@ -1871,27 +2142,27 @@ public static com.google.maps.routing.v2.RouteLegStep getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteLegStep 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 RouteLegStep 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;
@@ -1906,6 +2177,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteLegStep getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
similarity index 86%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
index 7bee4d9d94d8..fc9f94c0fb44 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepOrBuilder.java
@@ -1,24 +1,45 @@
+/*
+ * 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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteLegStepOrBuilder extends
+public interface RouteLegStepOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStep)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The travel distance of this step, in meters. In some circumstances, this
    * field might not have a value.
    * 
* * int32 distance_meters = 1; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -26,10 +47,13 @@ public interface RouteLegStepOrBuilder extends
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -37,10 +61,13 @@ public interface RouteLegStepOrBuilder extends
    * 
* * .google.protobuf.Duration static_duration = 2; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of travel through this step without taking traffic conditions
    * into consideration. In some circumstances, this field might not have a
@@ -52,24 +79,32 @@ public interface RouteLegStepOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The polyline associated with this step.
    * 
* * .google.maps.routing.v2.Polyline polyline = 3; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The polyline associated with this step.
    * 
@@ -79,24 +114,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder(); /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return Whether the startLocation field is set. */ boolean hasStartLocation(); /** + * + * *
    * The start location of this step.
    * 
* * .google.maps.routing.v2.Location start_location = 4; + * * @return The startLocation. */ com.google.maps.routing.v2.Location getStartLocation(); /** + * + * *
    * The start location of this step.
    * 
@@ -106,24 +149,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.LocationOrBuilder getStartLocationOrBuilder(); /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return Whether the endLocation field is set. */ boolean hasEndLocation(); /** + * + * *
    * The end location of this step.
    * 
* * .google.maps.routing.v2.Location end_location = 5; + * * @return The endLocation. */ com.google.maps.routing.v2.Location getEndLocation(); /** + * + * *
    * The end location of this step.
    * 
@@ -133,24 +184,32 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.LocationOrBuilder getEndLocationOrBuilder(); /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return Whether the navigationInstruction field is set. */ boolean hasNavigationInstruction(); /** + * + * *
    * Navigation instructions.
    * 
* * .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6; + * * @return The navigationInstruction. */ com.google.maps.routing.v2.NavigationInstruction getNavigationInstruction(); /** + * + * *
    * Navigation instructions.
    * 
@@ -160,26 +219,34 @@ public interface RouteLegStepOrBuilder extends com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
    * 
* * .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
similarity index 76%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
index 8a5b1c099dde..2c5c6c86bd17 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction on a leg step.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
  */
-public final class RouteLegStepTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegStepTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegStepTravelAdvisory)
     RouteLegStepTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegStepTravelAdvisory.newBuilder() to construct.
   private RouteLegStepTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteLegStepTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegStepTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
   }
 
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 1;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -66,10 +87,13 @@ protected java.lang.Object newInstance(
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -84,11 +108,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -107,6 +133,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -125,6 +153,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -145,6 +175,7 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,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 {
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
       output.writeMessage(1, speedReadingIntervals_.get(i));
     }
@@ -171,8 +201,9 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, speedReadingIntervals_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -182,15 +213,15 @@ 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.routing.v2.RouteLegStepTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other = (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegStepTravelAdvisory other =
+        (com.google.maps.routing.v2.RouteLegStepTravelAdvisory) obj;
 
-    if (!getSpeedReadingIntervalsList()
-        .equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -212,96 +243,104 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory prototype) {
+
+  public static Builder newBuilder(
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction on a leg step.
@@ -309,33 +348,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegStepTravelAdvisory}
    */
-  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.routing.v2.RouteLegStepTravelAdvisory)
       com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class, com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteLegStepTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegStepTravelAdvisory.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();
@@ -350,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -371,7 +409,8 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegStepTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegStepTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (speedReadingIntervalsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -390,38 +429,39 @@ public com.google.maps.routing.v2.RouteLegStepTravelAdvisory 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.routing.v2.RouteLegStepTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegStepTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,7 +469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.RouteLegStepTravelAdvisory.getDefaultInstance())
+        return this;
       if (speedReadingIntervalsBuilder_ == null) {
         if (!other.speedReadingIntervals_.isEmpty()) {
           if (speedReadingIntervals_.isEmpty()) {
@@ -448,9 +489,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegStepTravelAdvisory o
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -482,25 +524,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            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) {
@@ -510,21 +554,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -536,9 +589,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -546,6 +601,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -557,7 +614,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -567,6 +625,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -578,7 +638,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -588,6 +649,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -599,7 +662,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -616,6 +680,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -627,7 +693,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -641,6 +708,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -652,7 +721,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -668,6 +738,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -679,7 +751,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -696,6 +769,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -707,7 +782,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -721,6 +797,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -732,7 +810,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -746,6 +825,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -757,14 +838,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -772,6 +853,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -783,7 +866,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -796,6 +880,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -807,7 +893,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -820,6 +907,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -831,13 +920,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -849,16 +941,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -870,10 +966,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -881,6 +978,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -892,13 +991,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -910,14 +1013,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -929,18 +1035,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -949,9 +1062,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } + @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); } @@ -961,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegStepTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegStepTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegStepTravelAdvisory(); } @@ -975,27 +1088,27 @@ public static com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegStepTravelAdvisory 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 RouteLegStepTravelAdvisory 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; @@ -1010,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.maps.routing.v2.RouteLegStepTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java similarity index 83% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java index 87947a0469af..5c758c9b60d7 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegStepTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegStepTravelAdvisoryOrBuilder extends +public interface RouteLegStepTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStepTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -21,9 +39,10 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -39,6 +58,8 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -54,6 +75,8 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -67,9 +90,11 @@ public interface RouteLegStepTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 1;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
similarity index 78%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
index 612028d629ba..41a67bddf090 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisory.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/routing/v2/route.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc. on a route leg.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
  */
-public final class RouteLegTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteLegTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteLegTravelAdvisory)
     RouteLegTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteLegTravelAdvisory.newBuilder() to construct.
   private RouteLegTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteLegTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteLegTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 1;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
+   *
+   *
    * 
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -68,6 +90,8 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -77,6 +101,7 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ @java.lang.Override @@ -84,6 +109,8 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -102,6 +129,8 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 2;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -116,10 +145,13 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -134,11 +166,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -157,6 +191,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,6 +211,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -195,6 +233,7 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +245,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 (tollInfo_ != null) {
       output.writeMessage(1, getTollInfo());
     }
@@ -224,12 +262,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tollInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTollInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTollInfo());
     }
     for (int i = 0; i < speedReadingIntervals_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, speedReadingIntervals_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, speedReadingIntervals_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -239,20 +277,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.routing.v2.RouteLegTravelAdvisory)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteLegTravelAdvisory other = (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
+    com.google.maps.routing.v2.RouteLegTravelAdvisory other =
+        (com.google.maps.routing.v2.RouteLegTravelAdvisory) obj;
 
     if (hasTollInfo() != other.hasTollInfo()) return false;
     if (hasTollInfo()) {
-      if (!getTollInfo()
-          .equals(other.getTollInfo())) return false;
+      if (!getTollInfo().equals(other.getTollInfo())) return false;
     }
-    if (!getSpeedReadingIntervalsList()
-        .equals(other.getSpeedReadingIntervalsList())) return false;
+    if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -278,96 +315,103 @@ public int hashCode() {
   }
 
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteLegTravelAdvisory parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc. on a route leg.
@@ -375,33 +419,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteLegTravelAdvisory}
    */
-  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.routing.v2.RouteLegTravelAdvisory)
       com.google.maps.routing.v2.RouteLegTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteLegTravelAdvisory.class, com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteLegTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteLegTravelAdvisory.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();
@@ -422,9 +465,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +486,8 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteLegTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteLegTravelAdvisory result = new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteLegTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteLegTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -467,38 +511,39 @@ public com.google.maps.routing.v2.RouteLegTravelAdvisory 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.routing.v2.RouteLegTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteLegTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,7 +551,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other) {
-      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.RouteLegTravelAdvisory.getDefaultInstance())
+        return this;
       if (other.hasTollInfo()) {
         mergeTollInfo(other.getTollInfo());
       }
@@ -528,9 +574,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteLegTravelAdvisory other
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -562,32 +609,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTollInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                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) {
@@ -597,12 +645,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
+        tollInfoBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -612,12 +666,15 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** + * + * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -627,16 +684,21 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; + return tollInfo_ == null + ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() + : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -661,6 +723,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -671,8 +735,7 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
-    public Builder setTollInfo(
-        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -683,6 +746,8 @@ public Builder setTollInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -697,7 +762,9 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -709,6 +776,8 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -731,6 +800,8 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -742,11 +813,13 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-      
+
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -761,11 +834,14 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null ?
-            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
+        return tollInfo_ == null
+            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
+            : tollInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the specific RouteLeg.
      * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -777,32 +853,43 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(),
-                getParentForChildren(),
-                isClean());
+        tollInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.TollInfo,
+                com.google.maps.routing.v2.TollInfo.Builder,
+                com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(), getParentForChildren(), isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -814,9 +901,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -824,6 +913,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -835,7 +926,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -845,6 +937,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -856,7 +950,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -866,6 +961,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -877,7 +974,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -894,6 +992,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -905,7 +1005,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -919,6 +1020,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -930,7 +1033,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -946,6 +1050,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -957,7 +1063,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -974,6 +1081,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -985,7 +1094,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -999,6 +1109,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1010,7 +1122,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1024,6 +1137,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1035,14 +1150,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1050,6 +1165,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1061,7 +1178,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1074,6 +1192,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1085,7 +1205,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1098,6 +1219,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1109,13 +1232,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1127,16 +1253,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1148,10 +1278,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1159,6 +1290,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1170,13 +1303,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1188,14 +1325,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1207,18 +1347,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1227,9 +1374,9 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn } return speedReadingIntervalsBuilder_; } + @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); } @@ -1239,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteLegTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteLegTravelAdvisory) private static final com.google.maps.routing.v2.RouteLegTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteLegTravelAdvisory(); } @@ -1253,27 +1400,27 @@ public static com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteLegTravelAdvisory 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 RouteLegTravelAdvisory 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; @@ -1288,6 +1435,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteLegTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java similarity index 87% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java index 9f7adf5452a4..fbe256e0d85f 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLegTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteLegTravelAdvisoryOrBuilder extends +public interface RouteLegTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -17,10 +35,13 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -30,10 +51,13 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 1; + * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the specific RouteLeg.
    * This field is only populated if we expect there are tolls on the RouteLeg.
@@ -47,6 +71,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -60,9 +86,10 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -78,6 +105,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -93,6 +122,8 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -106,9 +137,11 @@ public interface RouteLegTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 2;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
similarity index 61%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
index c7e266e71be1..80beeaa88bb0 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestination.java
@@ -1,60 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A single destination for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ -public final class RouteMatrixDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteMatrixDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixDestination) RouteMatrixDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteMatrixDestination.newBuilder() to construct. private RouteMatrixDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteMatrixDestination() { - } + + private RouteMatrixDestination() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteMatrixDestination(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, + com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -86,6 +115,7 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +127,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -112,8 +141,7 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +151,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.routing.v2.RouteMatrixDestination)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixDestination other = (com.google.maps.routing.v2.RouteMatrixDestination) obj; + com.google.maps.routing.v2.RouteMatrixDestination other = + (com.google.maps.routing.v2.RouteMatrixDestination) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint() - .equals(other.getWaypoint())) return false; + if (!getWaypoint().equals(other.getWaypoint())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,129 +184,135 @@ public int hashCode() { } public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination 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 single destination for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixDestination} */ - 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.routing.v2.RouteMatrixDestination) com.google.maps.routing.v2.RouteMatrixDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixDestination.class, com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); + com.google.maps.routing.v2.RouteMatrixDestination.class, + com.google.maps.routing.v2.RouteMatrixDestination.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixDestination.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(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; } @java.lang.Override @@ -313,7 +347,8 @@ public com.google.maps.routing.v2.RouteMatrixDestination build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixDestination buildPartial() { - com.google.maps.routing.v2.RouteMatrixDestination result = new com.google.maps.routing.v2.RouteMatrixDestination(this); + com.google.maps.routing.v2.RouteMatrixDestination result = + new com.google.maps.routing.v2.RouteMatrixDestination(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -327,38 +362,39 @@ public com.google.maps.routing.v2.RouteMatrixDestination 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.routing.v2.RouteMatrixDestination) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination)other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixDestination) other); } else { super.mergeFrom(other); return this; @@ -366,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.maps.routing.v2.RouteMatrixDestination other) { - if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) return this; + if (other == com.google.maps.routing.v2.RouteMatrixDestination.getDefaultInstance()) + return this; if (other.hasWaypoint()) { mergeWaypoint(other.getWaypoint()); } @@ -396,19 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWaypointFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + 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) { @@ -421,39 +458,58 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + waypointBuilder_; /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -469,14 +525,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWaypoint( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -487,17 +546,23 @@ public Builder setWaypoint( return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) + .mergeFrom(value) + .buildPartial(); } else { waypoint_ = value; } @@ -509,11 +574,15 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -527,55 +596,71 @@ public Builder clearWaypoint() { return this; } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } } /** + * + * *
      * Required. Destination waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), - getParentForChildren(), - isClean()); + waypointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), getParentForChildren(), isClean()); waypoint_ = null; } return waypointBuilder_; } + @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); } @@ -585,12 +670,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixDestination) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixDestination) private static final com.google.maps.routing.v2.RouteMatrixDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixDestination(); } @@ -599,27 +684,27 @@ public static com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixDestination 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 RouteMatrixDestination 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; @@ -634,6 +719,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java similarity index 52% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java index 7be9a7b37ed3..7f309d19082c 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixDestinationOrBuilder.java @@ -1,36 +1,63 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixDestinationOrBuilder extends +public interface RouteMatrixDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** + * + * *
    * Required. Destination waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java index 169ef698c0ec..f1172620cf38 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElement.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/routing/v2/routes_service.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates route information computed for an origin/destination pair in the
  * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
  */
-public final class RouteMatrixElement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteMatrixElement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixElement)
     RouteMatrixElementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteMatrixElement.newBuilder() to construct.
   private RouteMatrixElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteMatrixElement() {
     condition_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteMatrixElement();
   }
 
   @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RoutesServiceProto
+        .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+    return com.google.maps.routing.v2.RoutesServiceProto
+        .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+            com.google.maps.routing.v2.RouteMatrixElement.class,
+            com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
   }
 
   private int bitField0_;
   public static final int ORIGIN_INDEX_FIELD_NUMBER = 1;
   private int originIndex_;
   /**
+   *
+   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -65,11 +87,14 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ @java.lang.Override @@ -80,11 +105,14 @@ public int getOriginIndex() { public static final int DESTINATION_INDEX_FIELD_NUMBER = 2; private int destinationIndex_; /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -92,11 +120,14 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ @java.lang.Override @@ -107,11 +138,14 @@ public int getDestinationIndex() { public static final int STATUS_FIELD_NUMBER = 3; private com.google.rpc.Status status_; /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ @java.lang.Override @@ -119,11 +153,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return The status. */ @java.lang.Override @@ -131,6 +168,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Error status code for this element.
    * 
@@ -145,38 +184,52 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int CONDITION_FIELD_NUMBER = 9; private int condition_; /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override public int getConditionValue() { + @java.lang.Override + public int getConditionValue() { return condition_; } /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ - @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { + @java.lang.Override + public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = + com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null + ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED + : result; } public static final int DISTANCE_METERS_FIELD_NUMBER = 4; private int distanceMeters_; /** + * + * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ @java.lang.Override @@ -187,6 +240,8 @@ public int getDistanceMeters() { public static final int DURATION_FIELD_NUMBER = 5; private com.google.protobuf.Duration duration_; /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -196,6 +251,7 @@ public int getDistanceMeters() {
    * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ @java.lang.Override @@ -203,6 +259,8 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -212,6 +270,7 @@ public boolean hasDuration() {
    * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ @java.lang.Override @@ -219,6 +278,8 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -237,12 +298,15 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
   public static final int STATIC_DURATION_FIELD_NUMBER = 6;
   private com.google.protobuf.Duration staticDuration_;
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ @java.lang.Override @@ -250,19 +314,26 @@ public boolean hasStaticDuration() { return staticDuration_ != null; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ @java.lang.Override public com.google.protobuf.Duration getStaticDuration() { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -278,12 +349,15 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
   public static final int TRAVEL_ADVISORY_FIELD_NUMBER = 7;
   private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
   /**
+   *
+   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ @java.lang.Override @@ -291,19 +365,26 @@ public boolean hasTravelAdvisory() { return travelAdvisory_ != null; } /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ @java.lang.Override public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -319,6 +400,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
   public static final int FALLBACK_INFO_FIELD_NUMBER = 8;
   private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -328,6 +411,7 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ @java.lang.Override @@ -335,6 +419,8 @@ public boolean hasFallbackInfo() { return fallbackInfo_ != null; } /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -344,13 +430,18 @@ public boolean hasFallbackInfo() {
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ @java.lang.Override public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -367,6 +458,7 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -378,8 +470,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.writeInt32(1, originIndex_);
     }
@@ -404,7 +495,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (fallbackInfo_ != null) {
       output.writeMessage(8, getFallbackInfo());
     }
-    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
+    if (condition_
+        != com.google.maps.routing.v2.RouteMatrixElementCondition
+            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(9, condition_);
     }
     getUnknownFields().writeTo(output);
@@ -417,40 +511,34 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(1, originIndex_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, originIndex_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, destinationIndex_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, destinationIndex_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStatus());
     }
     if (distanceMeters_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, distanceMeters_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, distanceMeters_);
     }
     if (duration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration());
     }
     if (staticDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getStaticDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getStaticDuration());
     }
     if (travelAdvisory_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getTravelAdvisory());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTravelAdvisory());
     }
     if (fallbackInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getFallbackInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFallbackInfo());
     }
-    if (condition_ != com.google.maps.routing.v2.RouteMatrixElementCondition.ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(9, condition_);
+    if (condition_
+        != com.google.maps.routing.v2.RouteMatrixElementCondition
+            .ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, condition_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -460,50 +548,43 @@ 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.routing.v2.RouteMatrixElement)) {
       return super.equals(obj);
     }
-    com.google.maps.routing.v2.RouteMatrixElement other = (com.google.maps.routing.v2.RouteMatrixElement) obj;
+    com.google.maps.routing.v2.RouteMatrixElement other =
+        (com.google.maps.routing.v2.RouteMatrixElement) obj;
 
     if (hasOriginIndex() != other.hasOriginIndex()) return false;
     if (hasOriginIndex()) {
-      if (getOriginIndex()
-          != other.getOriginIndex()) return false;
+      if (getOriginIndex() != other.getOriginIndex()) return false;
     }
     if (hasDestinationIndex() != other.hasDestinationIndex()) return false;
     if (hasDestinationIndex()) {
-      if (getDestinationIndex()
-          != other.getDestinationIndex()) return false;
+      if (getDestinationIndex() != other.getDestinationIndex()) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (condition_ != other.condition_) return false;
-    if (getDistanceMeters()
-        != other.getDistanceMeters()) return false;
+    if (getDistanceMeters() != other.getDistanceMeters()) return false;
     if (hasDuration() != other.hasDuration()) return false;
     if (hasDuration()) {
-      if (!getDuration()
-          .equals(other.getDuration())) return false;
+      if (!getDuration().equals(other.getDuration())) return false;
     }
     if (hasStaticDuration() != other.hasStaticDuration()) return false;
     if (hasStaticDuration()) {
-      if (!getStaticDuration()
-          .equals(other.getStaticDuration())) return false;
+      if (!getStaticDuration().equals(other.getStaticDuration())) return false;
     }
     if (hasTravelAdvisory() != other.hasTravelAdvisory()) return false;
     if (hasTravelAdvisory()) {
-      if (!getTravelAdvisory()
-          .equals(other.getTravelAdvisory())) return false;
+      if (!getTravelAdvisory().equals(other.getTravelAdvisory())) return false;
     }
     if (hasFallbackInfo() != other.hasFallbackInfo()) return false;
     if (hasFallbackInfo()) {
-      if (!getFallbackInfo()
-          .equals(other.getFallbackInfo())) return false;
+      if (!getFallbackInfo().equals(other.getFallbackInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -553,97 +634,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.RouteMatrixElement parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.maps.routing.v2.RouteMatrixElement parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates route information computed for an origin/destination pair in the
    * ComputeRouteMatrix API. This proto can be streamed to the client.
@@ -651,33 +739,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteMatrixElement}
    */
-  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.routing.v2.RouteMatrixElement)
       com.google.maps.routing.v2.RouteMatrixElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteMatrixElement.class, com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
+              com.google.maps.routing.v2.RouteMatrixElement.class,
+              com.google.maps.routing.v2.RouteMatrixElement.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteMatrixElement.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();
@@ -723,9 +810,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RoutesServiceProto
+          .internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
     }
 
     @java.lang.Override
@@ -744,7 +831,8 @@ public com.google.maps.routing.v2.RouteMatrixElement build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteMatrixElement buildPartial() {
-      com.google.maps.routing.v2.RouteMatrixElement result = new com.google.maps.routing.v2.RouteMatrixElement(this);
+      com.google.maps.routing.v2.RouteMatrixElement result =
+          new com.google.maps.routing.v2.RouteMatrixElement(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -791,38 +879,39 @@ public com.google.maps.routing.v2.RouteMatrixElement 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.routing.v2.RouteMatrixElement) {
-        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteMatrixElement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -884,67 +973,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              originIndex_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              destinationIndex_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 32: {
-              distanceMeters_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getStaticDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getTravelAdvisoryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getFallbackInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 72: {
-              condition_ = input.readEnum();
-
-              break;
-            } // case 72
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                originIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                destinationIndex_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 32:
+              {
+                distanceMeters_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getStaticDurationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getTravelAdvisoryFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getFallbackInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 72:
+              {
+                condition_ = input.readEnum();
+
+                break;
+              } // case 72
+            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) {
@@ -954,15 +1043,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int originIndex_ ;
+    private int originIndex_;
     /**
+     *
+     *
      * 
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ @java.lang.Override @@ -970,11 +1063,14 @@ public boolean hasOriginIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ @java.lang.Override @@ -982,11 +1078,14 @@ public int getOriginIndex() { return originIndex_; } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @param value The originIndex to set. * @return This builder for chaining. */ @@ -997,11 +1096,14 @@ public Builder setOriginIndex(int value) { return this; } /** + * + * *
      * Zero-based index of the origin in the request.
      * 
* * optional int32 origin_index = 1; + * * @return This builder for chaining. */ public Builder clearOriginIndex() { @@ -1011,13 +1113,16 @@ public Builder clearOriginIndex() { return this; } - private int destinationIndex_ ; + private int destinationIndex_; /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ @java.lang.Override @@ -1025,11 +1130,14 @@ public boolean hasDestinationIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ @java.lang.Override @@ -1037,11 +1145,14 @@ public int getDestinationIndex() { return destinationIndex_; } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @param value The destinationIndex to set. * @return This builder for chaining. */ @@ -1052,11 +1163,14 @@ public Builder setDestinationIndex(int value) { return this; } /** + * + * *
      * Zero-based index of the destination in the request.
      * 
* * optional int32 destination_index = 2; + * * @return This builder for chaining. */ public Builder clearDestinationIndex() { @@ -1068,24 +1182,31 @@ public Builder clearDestinationIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1096,6 +1217,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Error status code for this element.
      * 
@@ -1116,14 +1239,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status code for this element.
      * 
* * .google.rpc.Status status = 3; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -1134,6 +1258,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1143,8 +1269,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -1156,6 +1281,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1174,6 +1301,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Error status code for this element.
      * 
@@ -1181,11 +1310,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 3; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Error status code for this element.
      * 
@@ -1196,11 +1327,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Error status code for this element.
      * 
@@ -1208,14 +1340,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -1223,51 +1355,67 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private int condition_ = 0; /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ - @java.lang.Override public int getConditionValue() { + @java.lang.Override + public int getConditionValue() { return condition_; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @param value The enum numeric value on the wire for condition to set. * @return This builder for chaining. */ public Builder setConditionValue(int value) { - + condition_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ @java.lang.Override public com.google.maps.routing.v2.RouteMatrixElementCondition getCondition() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.RouteMatrixElementCondition result = com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); - return result == null ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED : result; + com.google.maps.routing.v2.RouteMatrixElementCondition result = + com.google.maps.routing.v2.RouteMatrixElementCondition.valueOf(condition_); + return result == null + ? com.google.maps.routing.v2.RouteMatrixElementCondition.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @param value The condition to set. * @return This builder for chaining. */ @@ -1275,33 +1423,39 @@ public Builder setCondition(com.google.maps.routing.v2.RouteMatrixElementConditi if (value == null) { throw new NullPointerException(); } - + condition_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether the route was found or not. Independent of status.
      * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return This builder for chaining. */ public Builder clearCondition() { - + condition_ = 0; onChanged(); return this; } - private int distanceMeters_ ; + private int distanceMeters_; /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ @java.lang.Override @@ -1309,30 +1463,36 @@ public int getDistanceMeters() { return distanceMeters_; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @param value The distanceMeters to set. * @return This builder for chaining. */ public Builder setDistanceMeters(int value) { - + distanceMeters_ = value; onChanged(); return this; } /** + * + * *
      * The travel distance of the route, in meters.
      * 
* * int32 distance_meters = 4; + * * @return This builder for chaining. */ public Builder clearDistanceMeters() { - + distanceMeters_ = 0; onChanged(); return this; @@ -1340,8 +1500,13 @@ public Builder clearDistanceMeters() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1351,12 +1516,15 @@ public Builder clearDistanceMeters() {
      * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1366,6 +1534,7 @@ public boolean hasDuration() {
      * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -1376,6 +1545,8 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1400,6 +1571,8 @@ public Builder setDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1410,8 +1583,7 @@ public Builder setDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration duration = 5;
      */
-    public Builder setDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (durationBuilder_ == null) {
         duration_ = builderForValue.build();
         onChanged();
@@ -1422,6 +1594,8 @@ public Builder setDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1436,7 +1610,7 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       if (durationBuilder_ == null) {
         if (duration_ != null) {
           duration_ =
-            com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial();
         } else {
           duration_ = value;
         }
@@ -1448,6 +1622,8 @@ public Builder mergeDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1470,6 +1646,8 @@ public Builder clearDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1481,11 +1659,13 @@ public Builder clearDuration() {
      * .google.protobuf.Duration duration = 5;
      */
     public com.google.protobuf.Duration.Builder getDurationBuilder() {
-      
+
       onChanged();
       return getDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1500,11 +1680,12 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
       if (durationBuilder_ != null) {
         return durationBuilder_.getMessageOrBuilder();
       } else {
-        return duration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : duration_;
+        return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of time needed to navigate the route. If you set the
      * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -1516,14 +1697,17 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
      * .google.protobuf.Duration duration = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getDurationFieldBuilder() {
       if (durationBuilder_ == null) {
-        durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getDuration(),
-                getParentForChildren(),
-                isClean());
+        durationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getDuration(), getParentForChildren(), isClean());
         duration_ = null;
       }
       return durationBuilder_;
@@ -1531,36 +1715,49 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
 
     private com.google.protobuf.Duration staticDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> staticDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        staticDurationBuilder_;
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ public boolean hasStaticDuration() { return staticDurationBuilder_ != null || staticDuration_ != null; } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
      * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ public com.google.protobuf.Duration getStaticDuration() { if (staticDurationBuilder_ == null) { - return staticDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : staticDuration_; + return staticDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : staticDuration_; } else { return staticDurationBuilder_.getMessage(); } } /** + * + * *
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1582,6 +1779,8 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1589,8 +1788,7 @@ public Builder setStaticDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration static_duration = 6;
      */
-    public Builder setStaticDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (staticDurationBuilder_ == null) {
         staticDuration_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1799,8 @@ public Builder setStaticDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1612,7 +1812,9 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       if (staticDurationBuilder_ == null) {
         if (staticDuration_ != null) {
           staticDuration_ =
-            com.google.protobuf.Duration.newBuilder(staticDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(staticDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           staticDuration_ = value;
         }
@@ -1624,6 +1826,8 @@ public Builder mergeStaticDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1643,6 +1847,8 @@ public Builder clearStaticDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1651,11 +1857,13 @@ public Builder clearStaticDuration() {
      * .google.protobuf.Duration static_duration = 6;
      */
     public com.google.protobuf.Duration.Builder getStaticDurationBuilder() {
-      
+
       onChanged();
       return getStaticDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1667,11 +1875,14 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
       if (staticDurationBuilder_ != null) {
         return staticDurationBuilder_.getMessageOrBuilder();
       } else {
-        return staticDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : staticDuration_;
+        return staticDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : staticDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The duration of traveling through the route without taking traffic
      * conditions into consideration.
@@ -1680,14 +1891,17 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
      * .google.protobuf.Duration static_duration = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getStaticDurationFieldBuilder() {
       if (staticDurationBuilder_ == null) {
-        staticDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getStaticDuration(),
-                getParentForChildren(),
-                isClean());
+        staticDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getStaticDuration(), getParentForChildren(), isClean());
         staticDuration_ = null;
       }
       return staticDurationBuilder_;
@@ -1695,36 +1909,49 @@ public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder() {
 
     private com.google.maps.routing.v2.RouteTravelAdvisory travelAdvisory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> travelAdvisoryBuilder_;
+            com.google.maps.routing.v2.RouteTravelAdvisory,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
+        travelAdvisoryBuilder_;
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ public boolean hasTravelAdvisory() { return travelAdvisoryBuilder_ != null || travelAdvisory_ != null; } /** + * + * *
      * Additional information about the route. For example: restriction
      * information and toll information
      * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ public com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory() { if (travelAdvisoryBuilder_ == null) { - return travelAdvisory_ == null ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_; + return travelAdvisory_ == null + ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() + : travelAdvisory_; } else { return travelAdvisoryBuilder_.getMessage(); } } /** + * + * *
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1746,6 +1973,8 @@ public Builder setTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisory
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1765,6 +1994,8 @@ public Builder setTravelAdvisory(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1776,7 +2007,9 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       if (travelAdvisoryBuilder_ == null) {
         if (travelAdvisory_ != null) {
           travelAdvisory_ =
-            com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.RouteTravelAdvisory.newBuilder(travelAdvisory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           travelAdvisory_ = value;
         }
@@ -1788,6 +2021,8 @@ public Builder mergeTravelAdvisory(com.google.maps.routing.v2.RouteTravelAdvisor
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1807,6 +2042,8 @@ public Builder clearTravelAdvisory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1815,11 +2052,13 @@ public Builder clearTravelAdvisory() {
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     public com.google.maps.routing.v2.RouteTravelAdvisory.Builder getTravelAdvisoryBuilder() {
-      
+
       onChanged();
       return getTravelAdvisoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1831,11 +2070,14 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
       if (travelAdvisoryBuilder_ != null) {
         return travelAdvisoryBuilder_.getMessageOrBuilder();
       } else {
-        return travelAdvisory_ == null ?
-            com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance() : travelAdvisory_;
+        return travelAdvisory_ == null
+            ? com.google.maps.routing.v2.RouteTravelAdvisory.getDefaultInstance()
+            : travelAdvisory_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information about the route. For example: restriction
      * information and toll information
@@ -1844,14 +2086,17 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder> 
+            com.google.maps.routing.v2.RouteTravelAdvisory,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+            com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>
         getTravelAdvisoryFieldBuilder() {
       if (travelAdvisoryBuilder_ == null) {
-        travelAdvisoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.RouteTravelAdvisory, com.google.maps.routing.v2.RouteTravelAdvisory.Builder, com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
-                getTravelAdvisory(),
-                getParentForChildren(),
-                isClean());
+        travelAdvisoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.RouteTravelAdvisory,
+                com.google.maps.routing.v2.RouteTravelAdvisory.Builder,
+                com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder>(
+                getTravelAdvisory(), getParentForChildren(), isClean());
         travelAdvisory_ = null;
       }
       return travelAdvisoryBuilder_;
@@ -1859,8 +2104,13 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
 
     private com.google.maps.routing.v2.FallbackInfo fallbackInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> fallbackInfoBuilder_;
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
+        fallbackInfoBuilder_;
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1870,12 +2120,15 @@ public com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisory
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ public boolean hasFallbackInfo() { return fallbackInfoBuilder_ != null || fallbackInfo_ != null; } /** + * + * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1885,16 +2138,21 @@ public boolean hasFallbackInfo() {
      * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ public com.google.maps.routing.v2.FallbackInfo getFallbackInfo() { if (fallbackInfoBuilder_ == null) { - return fallbackInfo_ == null ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_; + return fallbackInfo_ == null + ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() + : fallbackInfo_; } else { return fallbackInfoBuilder_.getMessage(); } } /** + * + * *
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1919,6 +2177,8 @@ public Builder setFallbackInfo(com.google.maps.routing.v2.FallbackInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1941,6 +2201,8 @@ public Builder setFallbackInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1955,7 +2217,9 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       if (fallbackInfoBuilder_ == null) {
         if (fallbackInfo_ != null) {
           fallbackInfo_ =
-            com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.FallbackInfo.newBuilder(fallbackInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           fallbackInfo_ = value;
         }
@@ -1967,6 +2231,8 @@ public Builder mergeFallbackInfo(com.google.maps.routing.v2.FallbackInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -1989,6 +2255,8 @@ public Builder clearFallbackInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2000,11 +2268,13 @@ public Builder clearFallbackInfo() {
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     public com.google.maps.routing.v2.FallbackInfo.Builder getFallbackInfoBuilder() {
-      
+
       onChanged();
       return getFallbackInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2019,11 +2289,14 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
       if (fallbackInfoBuilder_ != null) {
         return fallbackInfoBuilder_.getMessageOrBuilder();
       } else {
-        return fallbackInfo_ == null ?
-            com.google.maps.routing.v2.FallbackInfo.getDefaultInstance() : fallbackInfo_;
+        return fallbackInfo_ == null
+            ? com.google.maps.routing.v2.FallbackInfo.getDefaultInstance()
+            : fallbackInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * In some cases when the server is not able to compute the route with the
      * given preferences for this particular origin/destination pair, it may
@@ -2035,21 +2308,24 @@ public com.google.maps.routing.v2.FallbackInfoOrBuilder getFallbackInfoOrBuilder
      * .google.maps.routing.v2.FallbackInfo fallback_info = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder> 
+            com.google.maps.routing.v2.FallbackInfo,
+            com.google.maps.routing.v2.FallbackInfo.Builder,
+            com.google.maps.routing.v2.FallbackInfoOrBuilder>
         getFallbackInfoFieldBuilder() {
       if (fallbackInfoBuilder_ == null) {
-        fallbackInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.FallbackInfo, com.google.maps.routing.v2.FallbackInfo.Builder, com.google.maps.routing.v2.FallbackInfoOrBuilder>(
-                getFallbackInfo(),
-                getParentForChildren(),
-                isClean());
+        fallbackInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.FallbackInfo,
+                com.google.maps.routing.v2.FallbackInfo.Builder,
+                com.google.maps.routing.v2.FallbackInfoOrBuilder>(
+                getFallbackInfo(), getParentForChildren(), isClean());
         fallbackInfo_ = null;
       }
       return fallbackInfoBuilder_;
     }
+
     @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);
     }
 
@@ -2059,12 +2335,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixElement)
   private static final com.google.maps.routing.v2.RouteMatrixElement DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixElement();
   }
@@ -2073,27 +2349,27 @@ public static com.google.maps.routing.v2.RouteMatrixElement getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RouteMatrixElement 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 RouteMatrixElement 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;
@@ -2108,6 +2384,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.RouteMatrixElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
similarity index 71%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
index 1b9d70c4950a..462531141ef5 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementCondition.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * The condition of the route being returned.
  * 
* * Protobuf enum {@code google.maps.routing.v2.RouteMatrixElementCondition} */ -public enum RouteMatrixElementCondition - implements com.google.protobuf.ProtocolMessageEnum { +public enum RouteMatrixElementCondition implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Only used when the `status` of the element is not OK.
    * 
@@ -21,6 +39,8 @@ public enum RouteMatrixElementCondition */ ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED(0), /** + * + * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -30,6 +50,8 @@ public enum RouteMatrixElementCondition
    */
   ROUTE_EXISTS(1),
   /**
+   *
+   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -42,6 +64,8 @@ public enum RouteMatrixElementCondition
   ;
 
   /**
+   *
+   *
    * 
    * Only used when the `status` of the element is not OK.
    * 
@@ -50,6 +74,8 @@ public enum RouteMatrixElementCondition */ public static final int ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A route was found, and the corresponding information was filled out for the
    * element.
@@ -59,6 +85,8 @@ public enum RouteMatrixElementCondition
    */
   public static final int ROUTE_EXISTS_VALUE = 1;
   /**
+   *
+   *
    * 
    * No route could be found. Fields containing route information, such as
    * `distance_meters` or `duration`, will not be filled out in the element.
@@ -68,7 +96,6 @@ public enum RouteMatrixElementCondition
    */
   public static final int ROUTE_NOT_FOUND_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,10 +120,14 @@ public static RouteMatrixElementCondition valueOf(int value) {
    */
   public static RouteMatrixElementCondition forNumber(int value) {
     switch (value) {
-      case 0: return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
-      case 1: return ROUTE_EXISTS;
-      case 2: return ROUTE_NOT_FOUND;
-      default: return null;
+      case 0:
+        return ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED;
+      case 1:
+        return ROUTE_EXISTS;
+      case 2:
+        return ROUTE_NOT_FOUND;
+      default:
+        return null;
     }
   }
 
@@ -104,28 +135,28 @@ public static RouteMatrixElementCondition forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      RouteMatrixElementCondition> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteMatrixElementCondition findValueByNumber(int number) {
-            return RouteMatrixElementCondition.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 RouteMatrixElementCondition findValueByNumber(int number) {
+              return RouteMatrixElementCondition.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.routing.v2.RoutesServiceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -134,8 +165,7 @@ public RouteMatrixElementCondition findValueByNumber(int number) {
   public static RouteMatrixElementCondition 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;
@@ -151,4 +181,3 @@ private RouteMatrixElementCondition(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteMatrixElementCondition)
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
index 4a7b3218258f..8158e7da0b77 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixElementOrBuilder.java
@@ -1,69 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
-public interface RouteMatrixElementOrBuilder extends
+public interface RouteMatrixElementOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return Whether the originIndex field is set. */ boolean hasOriginIndex(); /** + * + * *
    * Zero-based index of the origin in the request.
    * 
* * optional int32 origin_index = 1; + * * @return The originIndex. */ int getOriginIndex(); /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return Whether the destinationIndex field is set. */ boolean hasDestinationIndex(); /** + * + * *
    * Zero-based index of the destination in the request.
    * 
* * optional int32 destination_index = 2; + * * @return The destinationIndex. */ int getDestinationIndex(); /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Error status code for this element.
    * 
* * .google.rpc.Status status = 3; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Error status code for this element.
    * 
@@ -73,35 +109,46 @@ public interface RouteMatrixElementOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The enum numeric value on the wire for condition. */ int getConditionValue(); /** + * + * *
    * Indicates whether the route was found or not. Independent of status.
    * 
* * .google.maps.routing.v2.RouteMatrixElementCondition condition = 9; + * * @return The condition. */ com.google.maps.routing.v2.RouteMatrixElementCondition getCondition(); /** + * + * *
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 4; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -111,10 +158,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 5; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -124,10 +174,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.protobuf.Duration duration = 5; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -141,26 +194,34 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 6; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -171,26 +232,34 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Additional information about the route. For example: restriction
    * information and toll information
@@ -201,6 +270,8 @@ public interface RouteMatrixElementOrBuilder extends
   com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder();
 
   /**
+   *
+   *
    * 
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -210,10 +281,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return Whether the fallbackInfo field is set. */ boolean hasFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
@@ -223,10 +297,13 @@ public interface RouteMatrixElementOrBuilder extends
    * 
* * .google.maps.routing.v2.FallbackInfo fallback_info = 8; + * * @return The fallbackInfo. */ com.google.maps.routing.v2.FallbackInfo getFallbackInfo(); /** + * + * *
    * In some cases when the server is not able to compute the route with the
    * given preferences for this particular origin/destination pair, it may
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
similarity index 61%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
index 4ed589c31383..f4b5e7947f0f 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOrigin.java
@@ -1,60 +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/routing/v2/routes_service.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A single origin for ComputeRouteMatrixRequest
  * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ -public final class RouteMatrixOrigin extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RouteMatrixOrigin extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteMatrixOrigin) RouteMatrixOriginOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RouteMatrixOrigin.newBuilder() to construct. private RouteMatrixOrigin(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RouteMatrixOrigin() { - } + + private RouteMatrixOrigin() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RouteMatrixOrigin(); } @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.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } public static final int WAYPOINT_FIELD_NUMBER = 1; private com.google.maps.routing.v2.Waypoint waypoint_; /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasWaypoint() { return waypoint_ != null; } /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.maps.routing.v2.Waypoint getWaypoint() { return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; } /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { @@ -88,11 +117,16 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { public static final int ROUTE_MODIFIERS_FIELD_NUMBER = 2; private com.google.maps.routing.v2.RouteModifiers routeModifiers_; /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ @java.lang.Override @@ -100,23 +134,34 @@ public boolean hasRouteModifiers() { return routeModifiers_ != null; } /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { @@ -124,6 +169,7 @@ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +181,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 (waypoint_ != null) { output.writeMessage(1, getWaypoint()); } @@ -153,12 +198,10 @@ public int getSerializedSize() { size = 0; if (waypoint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWaypoint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWaypoint()); } if (routeModifiers_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRouteModifiers()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRouteModifiers()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +211,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.routing.v2.RouteMatrixOrigin)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteMatrixOrigin other = (com.google.maps.routing.v2.RouteMatrixOrigin) obj; + com.google.maps.routing.v2.RouteMatrixOrigin other = + (com.google.maps.routing.v2.RouteMatrixOrigin) obj; if (hasWaypoint() != other.hasWaypoint()) return false; if (hasWaypoint()) { - if (!getWaypoint() - .equals(other.getWaypoint())) return false; + if (!getWaypoint().equals(other.getWaypoint())) return false; } if (hasRouteModifiers() != other.hasRouteModifiers()) return false; if (hasRouteModifiers()) { - if (!getRouteModifiers() - .equals(other.getRouteModifiers())) return false; + if (!getRouteModifiers().equals(other.getRouteModifiers())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteMatrixOrigin parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteMatrixOrigin parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin 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 single origin for ComputeRouteMatrixRequest
    * 
* * Protobuf type {@code google.maps.routing.v2.RouteMatrixOrigin} */ - 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.routing.v2.RouteMatrixOrigin) com.google.maps.routing.v2.RouteMatrixOriginOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.RouteMatrixOrigin.class, com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); + com.google.maps.routing.v2.RouteMatrixOrigin.class, + com.google.maps.routing.v2.RouteMatrixOrigin.Builder.class); } // Construct using com.google.maps.routing.v2.RouteMatrixOrigin.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(); @@ -352,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.RoutesServiceProto.internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.RoutesServiceProto + .internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; } @java.lang.Override @@ -373,7 +421,8 @@ public com.google.maps.routing.v2.RouteMatrixOrigin build() { @java.lang.Override public com.google.maps.routing.v2.RouteMatrixOrigin buildPartial() { - com.google.maps.routing.v2.RouteMatrixOrigin result = new com.google.maps.routing.v2.RouteMatrixOrigin(this); + com.google.maps.routing.v2.RouteMatrixOrigin result = + new com.google.maps.routing.v2.RouteMatrixOrigin(this); if (waypointBuilder_ == null) { result.waypoint_ = waypoint_; } else { @@ -392,38 +441,39 @@ public com.google.maps.routing.v2.RouteMatrixOrigin 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.routing.v2.RouteMatrixOrigin) { - return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin)other); + return mergeFrom((com.google.maps.routing.v2.RouteMatrixOrigin) other); } else { super.mergeFrom(other); return this; @@ -464,26 +514,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWaypointFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getRouteModifiersFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWaypointFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getRouteModifiersFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -496,39 +545,58 @@ public Builder mergeFrom( private com.google.maps.routing.v2.Waypoint waypoint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> waypointBuilder_; + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> + waypointBuilder_; /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ public boolean hasWaypoint() { return waypointBuilder_ != null || waypoint_ != null; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ public com.google.maps.routing.v2.Waypoint getWaypoint() { if (waypointBuilder_ == null) { - return waypoint_ == null ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } else { return waypointBuilder_.getMessage(); } } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { @@ -544,14 +612,17 @@ public Builder setWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWaypoint( - com.google.maps.routing.v2.Waypoint.Builder builderForValue) { + public Builder setWaypoint(com.google.maps.routing.v2.Waypoint.Builder builderForValue) { if (waypointBuilder_ == null) { waypoint_ = builderForValue.build(); onChanged(); @@ -562,17 +633,23 @@ public Builder setWaypoint( return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { if (waypointBuilder_ == null) { if (waypoint_ != null) { waypoint_ = - com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.Waypoint.newBuilder(waypoint_) + .mergeFrom(value) + .buildPartial(); } else { waypoint_ = value; } @@ -584,11 +661,15 @@ public Builder mergeWaypoint(com.google.maps.routing.v2.Waypoint value) { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWaypoint() { if (waypointBuilder_ == null) { @@ -602,48 +683,64 @@ public Builder clearWaypoint() { return this; } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.Waypoint.Builder getWaypointBuilder() { - + onChanged(); return getWaypointFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { if (waypointBuilder_ != null) { return waypointBuilder_.getMessageOrBuilder(); } else { - return waypoint_ == null ? - com.google.maps.routing.v2.Waypoint.getDefaultInstance() : waypoint_; + return waypoint_ == null + ? com.google.maps.routing.v2.Waypoint.getDefaultInstance() + : waypoint_; } } /** + * + * *
      * Required. Origin waypoint
      * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder> + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder> getWaypointFieldBuilder() { if (waypointBuilder_ == null) { - waypointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.Waypoint, com.google.maps.routing.v2.Waypoint.Builder, com.google.maps.routing.v2.WaypointOrBuilder>( - getWaypoint(), - getParentForChildren(), - isClean()); + waypointBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.Waypoint, + com.google.maps.routing.v2.Waypoint.Builder, + com.google.maps.routing.v2.WaypointOrBuilder>( + getWaypoint(), getParentForChildren(), isClean()); waypoint_ = null; } return waypointBuilder_; @@ -651,39 +748,58 @@ public com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder() { private com.google.maps.routing.v2.RouteModifiers routeModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> routeModifiersBuilder_; + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> + routeModifiersBuilder_; /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ public boolean hasRouteModifiers() { return routeModifiersBuilder_ != null || routeModifiers_ != null; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ public com.google.maps.routing.v2.RouteModifiers getRouteModifiers() { if (routeModifiersBuilder_ == null) { - return routeModifiers_ == null ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } else { return routeModifiersBuilder_.getMessage(); } } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { @@ -699,11 +815,15 @@ public Builder setRouteModifiers(com.google.maps.routing.v2.RouteModifiers value return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRouteModifiers( com.google.maps.routing.v2.RouteModifiers.Builder builderForValue) { @@ -717,17 +837,23 @@ public Builder setRouteModifiers( return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers value) { if (routeModifiersBuilder_ == null) { if (routeModifiers_ != null) { routeModifiers_ = - com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.RouteModifiers.newBuilder(routeModifiers_) + .mergeFrom(value) + .buildPartial(); } else { routeModifiers_ = value; } @@ -739,11 +865,15 @@ public Builder mergeRouteModifiers(com.google.maps.routing.v2.RouteModifiers val return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRouteModifiers() { if (routeModifiersBuilder_ == null) { @@ -757,55 +887,71 @@ public Builder clearRouteModifiers() { return this; } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiers.Builder getRouteModifiersBuilder() { - + onChanged(); return getRouteModifiersFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder() { if (routeModifiersBuilder_ != null) { return routeModifiersBuilder_.getMessageOrBuilder(); } else { - return routeModifiers_ == null ? - com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() : routeModifiers_; + return routeModifiers_ == null + ? com.google.maps.routing.v2.RouteModifiers.getDefaultInstance() + : routeModifiers_; } } /** + * + * *
      * Optional. Modifiers for every route that takes this as the origin
      * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder> + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder> getRouteModifiersFieldBuilder() { if (routeModifiersBuilder_ == null) { - routeModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.RouteModifiers, com.google.maps.routing.v2.RouteModifiers.Builder, com.google.maps.routing.v2.RouteModifiersOrBuilder>( - getRouteModifiers(), - getParentForChildren(), - isClean()); + routeModifiersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.RouteModifiers, + com.google.maps.routing.v2.RouteModifiers.Builder, + com.google.maps.routing.v2.RouteModifiersOrBuilder>( + getRouteModifiers(), getParentForChildren(), isClean()); routeModifiers_ = null; } return routeModifiersBuilder_; } + @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); } @@ -815,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteMatrixOrigin) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteMatrixOrigin) private static final com.google.maps.routing.v2.RouteMatrixOrigin DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteMatrixOrigin(); } @@ -829,27 +975,27 @@ public static com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteMatrixOrigin 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 RouteMatrixOrigin 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; @@ -864,6 +1010,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteMatrixOrigin getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java similarity index 54% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java index 5ed1c2ed8c5d..655dfd269c03 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteMatrixOriginOrBuilder.java @@ -1,63 +1,104 @@ +/* + * 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/routing/v2/routes_service.proto package com.google.maps.routing.v2; -public interface RouteMatrixOriginOrBuilder extends +public interface RouteMatrixOriginOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteMatrixOrigin) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the waypoint field is set. */ boolean hasWaypoint(); /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The waypoint. */ com.google.maps.routing.v2.Waypoint getWaypoint(); /** + * + * *
    * Required. Origin waypoint
    * 
* - * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.maps.routing.v2.WaypointOrBuilder getWaypointOrBuilder(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the routeModifiers field is set. */ boolean hasRouteModifiers(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The routeModifiers. */ com.google.maps.routing.v2.RouteModifiers getRouteModifiers(); /** + * + * *
    * Optional. Modifiers for every route that takes this as the origin
    * 
* - * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.maps.routing.v2.RouteModifiersOrBuilder getRouteModifiersOrBuilder(); } diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java index 67bbba213a5e..c78ff5bae4d1 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiers.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates a set of optional conditions to satisfy when calculating the
  * routes.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
  */
-public final class RouteModifiers extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteModifiers extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteModifiers)
     RouteModifiersOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteModifiers.newBuilder() to construct.
   private RouteModifiers(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteModifiers() {
     tollPasses_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteModifiers();
   }
 
   @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.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteModifiersProto
+        .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteModifiersProto
+        .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
+            com.google.maps.routing.v2.RouteModifiers.class,
+            com.google.maps.routing.v2.RouteModifiers.Builder.class);
   }
 
   public static final int AVOID_TOLLS_FIELD_NUMBER = 1;
   private boolean avoidTolls_;
   /**
+   *
+   *
    * 
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ @java.lang.Override @@ -69,6 +91,8 @@ public boolean getAvoidTolls() { public static final int AVOID_HIGHWAYS_FIELD_NUMBER = 2; private boolean avoidHighways_; /** + * + * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -76,6 +100,7 @@ public boolean getAvoidTolls() {
    * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ @java.lang.Override @@ -86,6 +111,8 @@ public boolean getAvoidHighways() { public static final int AVOID_FERRIES_FIELD_NUMBER = 3; private boolean avoidFerries_; /** + * + * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -93,6 +120,7 @@ public boolean getAvoidHighways() {
    * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ @java.lang.Override @@ -103,6 +131,8 @@ public boolean getAvoidFerries() { public static final int AVOID_INDOOR_FIELD_NUMBER = 4; private boolean avoidIndoor_; /** + * + * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -110,6 +140,7 @@ public boolean getAvoidFerries() {
    * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ @java.lang.Override @@ -120,11 +151,14 @@ public boolean getAvoidIndoor() { public static final int VEHICLE_INFO_FIELD_NUMBER = 5; private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ @java.lang.Override @@ -132,18 +166,25 @@ public boolean hasVehicleInfo() { return vehicleInfo_ != null; } /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ @java.lang.Override public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { - return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } /** + * + * *
    * Specifies the vehicle information.
    * 
@@ -158,16 +199,20 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() public static final int TOLL_PASSES_FIELD_NUMBER = 6; private java.util.List tollPasses_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.maps.routing.v2.TollPass> tollPasses_converter_ = + java.lang.Integer, com.google.maps.routing.v2.TollPass> + tollPasses_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.maps.routing.v2.TollPass>() { public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.TollPass result = com.google.maps.routing.v2.TollPass.valueOf(from); + com.google.maps.routing.v2.TollPass result = + com.google.maps.routing.v2.TollPass.valueOf(from); return result == null ? com.google.maps.routing.v2.TollPass.UNRECOGNIZED : result; } }; /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -177,6 +222,7 @@ public com.google.maps.routing.v2.TollPass convert(java.lang.Integer from) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ @java.lang.Override @@ -185,6 +231,8 @@ public java.util.List getTollPassesList() { java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -194,6 +242,7 @@ public java.util.List getTollPassesList() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ @java.lang.Override @@ -201,6 +250,8 @@ public int getTollPassesCount() { return tollPasses_.size(); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -210,6 +261,7 @@ public int getTollPassesCount() {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -218,6 +270,8 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -227,14 +281,16 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ @java.lang.Override - public java.util.List - getTollPassesValueList() { + public java.util.List getTollPassesValueList() { return tollPasses_; } /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -244,6 +300,7 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -251,9 +308,11 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { public int getTollPassesValue(int index) { return tollPasses_.get(index); } + private int tollPassesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +324,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 { getSerializedSize(); if (avoidTolls_ != false) { output.writeBool(1, avoidTolls_); @@ -300,36 +358,31 @@ public int getSerializedSize() { size = 0; if (avoidTolls_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, avoidTolls_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, avoidTolls_); } if (avoidHighways_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, avoidHighways_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, avoidHighways_); } if (avoidFerries_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, avoidFerries_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, avoidFerries_); } if (avoidIndoor_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, avoidIndoor_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, avoidIndoor_); } if (vehicleInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getVehicleInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getVehicleInfo()); } { int dataSize = 0; for (int i = 0; i < tollPasses_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(tollPasses_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(tollPasses_.get(i)); } size += dataSize; - if (!getTollPassesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }tollPassesMemoizedSerializedSize = dataSize; + if (!getTollPassesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + tollPassesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,25 +392,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.routing.v2.RouteModifiers)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteModifiers other = (com.google.maps.routing.v2.RouteModifiers) obj; + com.google.maps.routing.v2.RouteModifiers other = + (com.google.maps.routing.v2.RouteModifiers) obj; - if (getAvoidTolls() - != other.getAvoidTolls()) return false; - if (getAvoidHighways() - != other.getAvoidHighways()) return false; - if (getAvoidFerries() - != other.getAvoidFerries()) return false; - if (getAvoidIndoor() - != other.getAvoidIndoor()) return false; + if (getAvoidTolls() != other.getAvoidTolls()) return false; + if (getAvoidHighways() != other.getAvoidHighways()) return false; + if (getAvoidFerries() != other.getAvoidFerries()) return false; + if (getAvoidIndoor() != other.getAvoidIndoor()) return false; if (hasVehicleInfo() != other.hasVehicleInfo()) return false; if (hasVehicleInfo()) { - if (!getVehicleInfo() - .equals(other.getVehicleInfo())) return false; + if (!getVehicleInfo().equals(other.getVehicleInfo())) return false; } if (!tollPasses_.equals(other.tollPasses_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -372,17 +421,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AVOID_TOLLS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidTolls()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidTolls()); hash = (37 * hash) + AVOID_HIGHWAYS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidHighways()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidHighways()); hash = (37 * hash) + AVOID_FERRIES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidFerries()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidFerries()); hash = (37 * hash) + AVOID_INDOOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAvoidIndoor()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAvoidIndoor()); if (hasVehicleInfo()) { hash = (37 * hash) + VEHICLE_INFO_FIELD_NUMBER; hash = (53 * hash) + getVehicleInfo().hashCode(); @@ -396,97 +441,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.RouteModifiers parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteModifiers parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteModifiers parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers 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; } /** + * + * *
    * Encapsulates a set of optional conditions to satisfy when calculating the
    * routes.
@@ -494,33 +546,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteModifiers}
    */
-  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.routing.v2.RouteModifiers)
       com.google.maps.routing.v2.RouteModifiersOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteModifiers.class, com.google.maps.routing.v2.RouteModifiers.Builder.class);
+              com.google.maps.routing.v2.RouteModifiers.class,
+              com.google.maps.routing.v2.RouteModifiers.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteModifiers.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();
@@ -544,9 +595,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteModifiersProto.internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteModifiersProto
+          .internal_static_google_maps_routing_v2_RouteModifiers_descriptor;
     }
 
     @java.lang.Override
@@ -565,7 +616,8 @@ public com.google.maps.routing.v2.RouteModifiers build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteModifiers buildPartial() {
-      com.google.maps.routing.v2.RouteModifiers result = new com.google.maps.routing.v2.RouteModifiers(this);
+      com.google.maps.routing.v2.RouteModifiers result =
+          new com.google.maps.routing.v2.RouteModifiers(this);
       int from_bitField0_ = bitField0_;
       result.avoidTolls_ = avoidTolls_;
       result.avoidHighways_ = avoidHighways_;
@@ -589,38 +641,39 @@ public com.google.maps.routing.v2.RouteModifiers 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.routing.v2.RouteModifiers) {
-        return mergeFrom((com.google.maps.routing.v2.RouteModifiers)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteModifiers) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -680,56 +733,62 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              avoidTolls_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              avoidHighways_ = input.readBool();
-
-              break;
-            } // case 16
-            case 24: {
-              avoidFerries_ = input.readBool();
-
-              break;
-            } // case 24
-            case 32: {
-              avoidIndoor_ = input.readBool();
-
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getVehicleInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 48: {
-              int tmpRaw = input.readEnum();
-              ensureTollPassesIsMutable();
-              tollPasses_.add(tmpRaw);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 8:
+              {
+                avoidTolls_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                avoidHighways_ = input.readBool();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                avoidFerries_ = input.readBool();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                avoidIndoor_ = input.readBool();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getVehicleInfoFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 48:
+              {
                 int tmpRaw = input.readEnum();
                 ensureTollPassesIsMutable();
                 tollPasses_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureTollPassesIsMutable();
+                  tollPasses_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 50
+            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) {
@@ -739,10 +798,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean avoidTolls_ ;
+    private boolean avoidTolls_;
     /**
+     *
+     *
      * 
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -750,6 +812,7 @@ public Builder mergeFrom(
      * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ @java.lang.Override @@ -757,6 +820,8 @@ public boolean getAvoidTolls() { return avoidTolls_; } /** + * + * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -764,16 +829,19 @@ public boolean getAvoidTolls() {
      * 
* * bool avoid_tolls = 1; + * * @param value The avoidTolls to set. * @return This builder for chaining. */ public Builder setAvoidTolls(boolean value) { - + avoidTolls_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid toll roads where reasonable. Preference will be
      * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -781,17 +849,20 @@ public Builder setAvoidTolls(boolean value) {
      * 
* * bool avoid_tolls = 1; + * * @return This builder for chaining. */ public Builder clearAvoidTolls() { - + avoidTolls_ = false; onChanged(); return this; } - private boolean avoidHighways_ ; + private boolean avoidHighways_; /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -799,6 +870,7 @@ public Builder clearAvoidTolls() {
      * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ @java.lang.Override @@ -806,6 +878,8 @@ public boolean getAvoidHighways() { return avoidHighways_; } /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -813,16 +887,19 @@ public boolean getAvoidHighways() {
      * 
* * bool avoid_highways = 2; + * * @param value The avoidHighways to set. * @return This builder for chaining. */ public Builder setAvoidHighways(boolean value) { - + avoidHighways_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid highways where reasonable. Preference will be
      * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -830,17 +907,20 @@ public Builder setAvoidHighways(boolean value) {
      * 
* * bool avoid_highways = 2; + * * @return This builder for chaining. */ public Builder clearAvoidHighways() { - + avoidHighways_ = false; onChanged(); return this; } - private boolean avoidFerries_ ; + private boolean avoidFerries_; /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -848,6 +928,7 @@ public Builder clearAvoidHighways() {
      * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ @java.lang.Override @@ -855,6 +936,8 @@ public boolean getAvoidFerries() { return avoidFerries_; } /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -862,16 +945,19 @@ public boolean getAvoidFerries() {
      * 
* * bool avoid_ferries = 3; + * * @param value The avoidFerries to set. * @return This builder for chaining. */ public Builder setAvoidFerries(boolean value) { - + avoidFerries_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid ferries where reasonable. Preference will be
      * given to routes not containing travel by ferries.
@@ -879,17 +965,20 @@ public Builder setAvoidFerries(boolean value) {
      * 
* * bool avoid_ferries = 3; + * * @return This builder for chaining. */ public Builder clearAvoidFerries() { - + avoidFerries_ = false; onChanged(); return this; } - private boolean avoidIndoor_ ; + private boolean avoidIndoor_; /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -897,6 +986,7 @@ public Builder clearAvoidFerries() {
      * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ @java.lang.Override @@ -904,6 +994,8 @@ public boolean getAvoidIndoor() { return avoidIndoor_; } /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -911,16 +1003,19 @@ public boolean getAvoidIndoor() {
      * 
* * bool avoid_indoor = 4; + * * @param value The avoidIndoor to set. * @return This builder for chaining. */ public Builder setAvoidIndoor(boolean value) { - + avoidIndoor_ = value; onChanged(); return this; } /** + * + * *
      * Specifies whether to avoid navigating indoors where reasonable. Preference
      * will be given to routes not containing indoor navigation.
@@ -928,10 +1023,11 @@ public Builder setAvoidIndoor(boolean value) {
      * 
* * bool avoid_indoor = 4; + * * @return This builder for chaining. */ public Builder clearAvoidIndoor() { - + avoidIndoor_ = false; onChanged(); return this; @@ -939,34 +1035,47 @@ public Builder clearAvoidIndoor() { private com.google.maps.routing.v2.VehicleInfo vehicleInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> vehicleInfoBuilder_; + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder> + vehicleInfoBuilder_; /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ public boolean hasVehicleInfo() { return vehicleInfoBuilder_ != null || vehicleInfo_ != null; } /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ public com.google.maps.routing.v2.VehicleInfo getVehicleInfo() { if (vehicleInfoBuilder_ == null) { - return vehicleInfo_ == null ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } else { return vehicleInfoBuilder_.getMessage(); } } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -987,14 +1096,15 @@ public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ - public Builder setVehicleInfo( - com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { + public Builder setVehicleInfo(com.google.maps.routing.v2.VehicleInfo.Builder builderForValue) { if (vehicleInfoBuilder_ == null) { vehicleInfo_ = builderForValue.build(); onChanged(); @@ -1005,6 +1115,8 @@ public Builder setVehicleInfo( return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1015,7 +1127,9 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { if (vehicleInfoBuilder_ == null) { if (vehicleInfo_ != null) { vehicleInfo_ = - com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_).mergeFrom(value).buildPartial(); + com.google.maps.routing.v2.VehicleInfo.newBuilder(vehicleInfo_) + .mergeFrom(value) + .buildPartial(); } else { vehicleInfo_ = value; } @@ -1027,6 +1141,8 @@ public Builder mergeVehicleInfo(com.google.maps.routing.v2.VehicleInfo value) { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1045,6 +1161,8 @@ public Builder clearVehicleInfo() { return this; } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1052,11 +1170,13 @@ public Builder clearVehicleInfo() { * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ public com.google.maps.routing.v2.VehicleInfo.Builder getVehicleInfoBuilder() { - + onChanged(); return getVehicleInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1067,11 +1187,14 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() if (vehicleInfoBuilder_ != null) { return vehicleInfoBuilder_.getMessageOrBuilder(); } else { - return vehicleInfo_ == null ? - com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() : vehicleInfo_; + return vehicleInfo_ == null + ? com.google.maps.routing.v2.VehicleInfo.getDefaultInstance() + : vehicleInfo_; } } /** + * + * *
      * Specifies the vehicle information.
      * 
@@ -1079,21 +1202,24 @@ public com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder() * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder> + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder> getVehicleInfoFieldBuilder() { if (vehicleInfoBuilder_ == null) { - vehicleInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.routing.v2.VehicleInfo, com.google.maps.routing.v2.VehicleInfo.Builder, com.google.maps.routing.v2.VehicleInfoOrBuilder>( - getVehicleInfo(), - getParentForChildren(), - isClean()); + vehicleInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.routing.v2.VehicleInfo, + com.google.maps.routing.v2.VehicleInfo.Builder, + com.google.maps.routing.v2.VehicleInfoOrBuilder>( + getVehicleInfo(), getParentForChildren(), isClean()); vehicleInfo_ = null; } return vehicleInfoBuilder_; } - private java.util.List tollPasses_ = - java.util.Collections.emptyList(); + private java.util.List tollPasses_ = java.util.Collections.emptyList(); + private void ensureTollPassesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tollPasses_ = new java.util.ArrayList(tollPasses_); @@ -1101,6 +1227,8 @@ private void ensureTollPassesIsMutable() { } } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1110,13 +1238,17 @@ private void ensureTollPassesIsMutable() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ public java.util.List getTollPassesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.maps.routing.v2.TollPass>(tollPasses_, tollPasses_converter_); + java.lang.Integer, com.google.maps.routing.v2.TollPass>( + tollPasses_, tollPasses_converter_); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1126,12 +1258,15 @@ public java.util.List getTollPassesList() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ public int getTollPassesCount() { return tollPasses_.size(); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1141,6 +1276,7 @@ public int getTollPassesCount() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ @@ -1148,6 +1284,8 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) { return tollPasses_converter_.convert(tollPasses_.get(index)); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1157,12 +1295,12 @@ public com.google.maps.routing.v2.TollPass getTollPasses(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index to set the value at. * @param value The tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPasses( - int index, com.google.maps.routing.v2.TollPass value) { + public Builder setTollPasses(int index, com.google.maps.routing.v2.TollPass value) { if (value == null) { throw new NullPointerException(); } @@ -1172,6 +1310,8 @@ public Builder setTollPasses( return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1181,6 +1321,7 @@ public Builder setTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param value The tollPasses to add. * @return This builder for chaining. */ @@ -1194,6 +1335,8 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1203,6 +1346,7 @@ public Builder addTollPasses(com.google.maps.routing.v2.TollPass value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param values The tollPasses to add. * @return This builder for chaining. */ @@ -1216,6 +1360,8 @@ public Builder addAllTollPasses( return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1225,6 +1371,7 @@ public Builder addAllTollPasses(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return This builder for chaining. */ public Builder clearTollPasses() { @@ -1234,6 +1381,8 @@ public Builder clearTollPasses() { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1243,13 +1392,15 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ - public java.util.List - getTollPassesValueList() { + public java.util.List getTollPassesValueList() { return java.util.Collections.unmodifiableList(tollPasses_); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1259,6 +1410,7 @@ public Builder clearTollPasses() {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ @@ -1266,6 +1418,8 @@ public int getTollPassesValue(int index) { return tollPasses_.get(index); } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1275,18 +1429,20 @@ public int getTollPassesValue(int index) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for tollPasses to set. * @return This builder for chaining. */ - public Builder setTollPassesValue( - int index, int value) { + public Builder setTollPassesValue(int index, int value) { ensureTollPassesIsMutable(); tollPasses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1296,6 +1452,7 @@ public Builder setTollPassesValue(
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param value The enum numeric value on the wire for tollPasses to add. * @return This builder for chaining. */ @@ -1306,6 +1463,8 @@ public Builder addTollPassesValue(int value) { return this; } /** + * + * *
      * Encapsulates information about toll passes.
      * If toll passes are provided, the API tries to return the pass price. If
@@ -1315,11 +1474,11 @@ public Builder addTollPassesValue(int value) {
      * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param values The enum numeric values on the wire for tollPasses to add. * @return This builder for chaining. */ - public Builder addAllTollPassesValue( - java.lang.Iterable values) { + public Builder addAllTollPassesValue(java.lang.Iterable values) { ensureTollPassesIsMutable(); for (int value : values) { tollPasses_.add(value); @@ -1327,9 +1486,9 @@ public Builder addAllTollPassesValue( 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); } @@ -1339,12 +1498,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteModifiers) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteModifiers) private static final com.google.maps.routing.v2.RouteModifiers DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteModifiers(); } @@ -1353,27 +1512,27 @@ public static com.google.maps.routing.v2.RouteModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteModifiers 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 RouteModifiers 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; @@ -1388,6 +1547,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteModifiers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java similarity index 85% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java index b41f50657f71..6e207822df2d 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersOrBuilder.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/routing/v2/route_modifiers.proto package com.google.maps.routing.v2; -public interface RouteModifiersOrBuilder extends +public interface RouteModifiersOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteModifiers) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies whether to avoid toll roads where reasonable. Preference will be
    * given to routes not containing toll roads. Applies only to the `DRIVE` and
@@ -15,11 +33,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_tolls = 1; + * * @return The avoidTolls. */ boolean getAvoidTolls(); /** + * + * *
    * Specifies whether to avoid highways where reasonable. Preference will be
    * given to routes not containing highways. Applies only to the `DRIVE` and
@@ -27,11 +48,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_highways = 2; + * * @return The avoidHighways. */ boolean getAvoidHighways(); /** + * + * *
    * Specifies whether to avoid ferries where reasonable. Preference will be
    * given to routes not containing travel by ferries.
@@ -39,11 +63,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_ferries = 3; + * * @return The avoidFerries. */ boolean getAvoidFerries(); /** + * + * *
    * Specifies whether to avoid navigating indoors where reasonable. Preference
    * will be given to routes not containing indoor navigation.
@@ -51,29 +78,38 @@ public interface RouteModifiersOrBuilder extends
    * 
* * bool avoid_indoor = 4; + * * @return The avoidIndoor. */ boolean getAvoidIndoor(); /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return Whether the vehicleInfo field is set. */ boolean hasVehicleInfo(); /** + * + * *
    * Specifies the vehicle information.
    * 
* * .google.maps.routing.v2.VehicleInfo vehicle_info = 5; + * * @return The vehicleInfo. */ com.google.maps.routing.v2.VehicleInfo getVehicleInfo(); /** + * + * *
    * Specifies the vehicle information.
    * 
@@ -83,6 +119,8 @@ public interface RouteModifiersOrBuilder extends com.google.maps.routing.v2.VehicleInfoOrBuilder getVehicleInfoOrBuilder(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -92,10 +130,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the tollPasses. */ java.util.List getTollPassesList(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -105,10 +146,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return The count of tollPasses. */ int getTollPassesCount(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -118,11 +162,14 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the element to return. * @return The tollPasses at the given index. */ com.google.maps.routing.v2.TollPass getTollPasses(int index); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -132,11 +179,13 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @return A list containing the enum numeric values on the wire for tollPasses. */ - java.util.List - getTollPassesValueList(); + java.util.List getTollPassesValueList(); /** + * + * *
    * Encapsulates information about toll passes.
    * If toll passes are provided, the API tries to return the pass price. If
@@ -146,6 +195,7 @@ public interface RouteModifiersOrBuilder extends
    * 
* * repeated .google.maps.routing.v2.TollPass toll_passes = 6; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of tollPasses at the given index. */ diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java new file mode 100644 index 000000000000..f01f5afec580 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java @@ -0,0 +1,84 @@ +/* + * 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/routing/v2/route_modifiers.proto + +package com.google.maps.routing.v2; + +public final class RouteModifiersProto { + private RouteModifiersProto() {} + + 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_routing_v2_RouteModifiers_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + + ".proto\022\026google.maps.routing.v2\032(google/m" + + "aps/routing/v2/toll_passes.proto\032)google" + + "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + + "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + + "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + + "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + + "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + + "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + + "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + + "outing.v2B\023RouteModifiersProtoP\001Z=google" + + ".golang.org/genproto/googleapis/maps/rou" + + "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + + ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + + "oogle::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.TollPassesProto.getDescriptor(), + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_RouteModifiers_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteModifiers_descriptor, + new java.lang.String[] { + "AvoidTolls", + "AvoidHighways", + "AvoidFerries", + "AvoidIndoor", + "VehicleInfo", + "TollPasses", + }); + com.google.maps.routing.v2.TollPassesProto.getDescriptor(); + com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java similarity index 89% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java index e54ab95d1975..8d44746e443e 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteOrBuilder.java @@ -1,67 +1,99 @@ +/* + * 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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteOrBuilder extends +public interface RouteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Route) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the routeLabels. */ java.util.List getRouteLabelsList(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return The count of routeLabels. */ int getRouteLabelsCount(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the element to return. * @return The routeLabels at the given index. */ com.google.maps.routing.v2.RouteLabel getRouteLabels(int index); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @return A list containing the enum numeric values on the wire for routeLabels. */ - java.util.List - getRouteLabelsValueList(); + java.util.List getRouteLabelsValueList(); /** + * + * *
    * Labels for the `Route` that are useful to identify specific properties
    * of the route to compare against others.
    * 
* * repeated .google.maps.routing.v2.RouteLabel route_labels = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of routeLabels at the given index. */ int getRouteLabelsValue(int index); /** + * + * *
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -74,9 +106,10 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List 
-      getLegsList();
+  java.util.List getLegsList();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -91,6 +124,8 @@ public interface RouteOrBuilder extends
    */
   com.google.maps.routing.v2.RouteLeg getLegs(int index);
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -105,6 +140,8 @@ public interface RouteOrBuilder extends
    */
   int getLegsCount();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -117,9 +154,10 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  java.util.List 
-      getLegsOrBuilderList();
+  java.util.List getLegsOrBuilderList();
   /**
+   *
+   *
    * 
    * A collection of legs (path segments between waypoints) that make-up the
    * route. Each leg corresponds to the trip between two non-`via` Waypoints.
@@ -132,20 +170,24 @@ public interface RouteOrBuilder extends
    *
    * repeated .google.maps.routing.v2.RouteLeg legs = 1;
    */
-  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
-      int index);
+  com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The travel distance of the route, in meters.
    * 
* * int32 distance_meters = 2; + * * @return The distanceMeters. */ int getDistanceMeters(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -155,10 +197,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * .google.protobuf.Duration duration = 3; + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -168,10 +213,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * .google.protobuf.Duration duration = 3; + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * The length of time needed to navigate the route. If you set the
    * `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as
@@ -185,26 +233,34 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return Whether the staticDuration field is set. */ boolean hasStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
    * 
* * .google.protobuf.Duration static_duration = 4; + * * @return The staticDuration. */ com.google.protobuf.Duration getStaticDuration(); /** + * + * *
    * The duration of traveling through the route without taking traffic
    * conditions into consideration.
@@ -215,26 +271,34 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return Whether the polyline field is set. */ boolean hasPolyline(); /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
    * 
* * .google.maps.routing.v2.Polyline polyline = 5; + * * @return The polyline. */ com.google.maps.routing.v2.Polyline getPolyline(); /** + * + * *
    * The overall route polyline. This polyline will be the combined polyline of
    * all `legs`.
@@ -245,85 +309,108 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
   com.google.maps.routing.v2.PolylineOrBuilder getPolylineOrBuilder();
 
   /**
+   *
+   *
    * 
    * A description of the route.
    * 
* * string description = 6; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of the route.
    * 
* * string description = 6; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return A list containing the warnings. */ - java.util.List - getWarningsList(); + java.util.List getWarningsList(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @return The count of warnings. */ int getWarningsCount(); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the element to return. * @return The warnings at the given index. */ java.lang.String getWarnings(int index); /** + * + * *
    * An array of warnings to show when displaying the route.
    * 
* * repeated string warnings = 7; + * * @param index The index of the value to return. * @return The bytes of the warnings at the given index. */ - com.google.protobuf.ByteString - getWarningsBytes(int index); + com.google.protobuf.ByteString getWarningsBytes(int index); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return Whether the viewport field is set. */ boolean hasViewport(); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
* * .google.geo.type.Viewport viewport = 8; + * * @return The viewport. */ com.google.geo.type.Viewport getViewport(); /** + * + * *
    * The viewport bounding box of the polyline.
    * 
@@ -333,24 +420,32 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder( com.google.geo.type.ViewportOrBuilder getViewportOrBuilder(); /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return Whether the travelAdvisory field is set. */ boolean hasTravelAdvisory(); /** + * + * *
    * Additional information about the route.
    * 
* * .google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 9; + * * @return The travelAdvisory. */ com.google.maps.routing.v2.RouteTravelAdvisory getTravelAdvisory(); /** + * + * *
    * Additional information about the route.
    * 
@@ -360,6 +455,8 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder( com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder(); /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -373,10 +470,13 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * string route_token = 12; + * * @return The routeToken. */ java.lang.String getRouteToken(); /** + * + * *
    * Web-safe base64 encoded route token that can be passed to NavigationSDK,
    * which allows the Navigation SDK to reconstruct the route during navigation,
@@ -390,8 +490,8 @@ com.google.maps.routing.v2.RouteLegOrBuilder getLegsOrBuilder(
    * 
* * string route_token = 12; + * * @return The bytes for routeToken. */ - com.google.protobuf.ByteString - getRouteTokenBytes(); + com.google.protobuf.ByteString getRouteTokenBytes(); } diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java new file mode 100644 index 000000000000..8fb18903f5a6 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java @@ -0,0 +1,219 @@ +/* + * 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/routing/v2/route.proto + +package com.google.maps.routing.v2; + +public final class RouteProto { + private RouteProto() {} + + 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_routing_v2_Route_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Route_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLeg_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_maps_routing_v2_RouteLegStep_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + + "ogle.maps.routing.v2\032\036google/geo/type/vi" + + "ewport.proto\032%google/maps/routing/v2/loc" + + "ation.proto\0323google/maps/routing/v2/navi" + + "gation_instruction.proto\032%google/maps/ro" + + "uting/v2/polyline.proto\032(google/maps/rou" + + "ting/v2/route_label.proto\0323google/maps/r" + + "outing/v2/speed_reading_interval.proto\032&" + + "google/maps/routing/v2/toll_info.proto\032\036" + + "google/protobuf/duration.proto\"\316\003\n\005Route" + + "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + + "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + + "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + + "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + + "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + + "\0132\031.google.protobuf.Duration\0222\n\010polyline" + + "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + + "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + + "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + + "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + + "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + + "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + + "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + + ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + + "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + + "ingInterval\022$\n\034fuel_consumption_microlit" + + "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + + "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + + ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + + "(\0132,.google.maps.routing.v2.SpeedReading" + + "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + + "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + + ".maps.routing.v2.SpeedReadingInterval\"\250\003" + + "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + + "uration\030\002 \001(\0132\031.google.protobuf.Duration" + + "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + + "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + + "maps.routing.v2.Polyline\0228\n\016start_locati" + + "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + + "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + + "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + + "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + + "l_advisory\030\010 \001(\0132..google.maps.routing.v" + + "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + + "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + + "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + + "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + + "gle.maps.routing.v2.Location\0226\n\014end_loca" + + "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + + "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + + "oogle.maps.routing.v2.NavigationInstruct" + + "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + + "ps.routing.v2.RouteLegStepTravelAdvisory" + + "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + + "otoP\001Z=google.golang.org/genproto/google" + + "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + + "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + + "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.geo.type.ViewportProto.getDescriptor(), + com.google.maps.routing.v2.LocationProto.getDescriptor(), + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), + com.google.maps.routing.v2.PolylineProto.getDescriptor(), + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), + com.google.maps.routing.v2.TollInfoProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Route_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Route_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Route_descriptor, + new java.lang.String[] { + "RouteLabels", + "Legs", + "DistanceMeters", + "Duration", + "StaticDuration", + "Polyline", + "Description", + "Warnings", + "Viewport", + "TravelAdvisory", + "RouteToken", + }); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, + new java.lang.String[] { + "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", + }); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, + new java.lang.String[] { + "TollInfo", "SpeedReadingIntervals", + }); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, + new java.lang.String[] { + "SpeedReadingIntervals", + }); + internal_static_google_maps_routing_v2_RouteLeg_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLeg_descriptor, + new java.lang.String[] { + "DistanceMeters", + "Duration", + "StaticDuration", + "Polyline", + "StartLocation", + "EndLocation", + "Steps", + "TravelAdvisory", + }); + internal_static_google_maps_routing_v2_RouteLegStep_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_RouteLegStep_descriptor, + new java.lang.String[] { + "DistanceMeters", + "StaticDuration", + "Polyline", + "StartLocation", + "EndLocation", + "NavigationInstruction", + "TravelAdvisory", + }); + com.google.geo.type.ViewportProto.getDescriptor(); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); + com.google.maps.routing.v2.PolylineProto.getDescriptor(); + com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); + com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); + com.google.maps.routing.v2.TollInfoProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java similarity index 78% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java index de25178f40a4..1c2d5e85a3da 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisory.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/routing/v2/route.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates the additional information that the user should be informed
  * about, such as possible traffic zone restriction etc.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
  */
-public final class RouteTravelAdvisory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RouteTravelAdvisory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.RouteTravelAdvisory)
     RouteTravelAdvisoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RouteTravelAdvisory.newBuilder() to construct.
   private RouteTravelAdvisory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RouteTravelAdvisory() {
     speedReadingIntervals_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RouteTravelAdvisory();
   }
 
   @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.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+    return com.google.maps.routing.v2.RouteProto
+        .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+            com.google.maps.routing.v2.RouteTravelAdvisory.class,
+            com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
   }
 
   public static final int TOLL_INFO_FIELD_NUMBER = 2;
   private com.google.maps.routing.v2.TollInfo tollInfo_;
   /**
+   *
+   *
    * 
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -61,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ @java.lang.Override @@ -68,6 +90,8 @@ public boolean hasTollInfo() { return tollInfo_ != null; } /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -77,6 +101,7 @@ public boolean hasTollInfo() {
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ @java.lang.Override @@ -84,6 +109,8 @@ public com.google.maps.routing.v2.TollInfo getTollInfo() { return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; } /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -102,6 +129,8 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
   public static final int SPEED_READING_INTERVALS_FIELD_NUMBER = 3;
   private java.util.List speedReadingIntervals_;
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -116,10 +145,13 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List getSpeedReadingIntervalsList() {
+  public java.util.List
+      getSpeedReadingIntervalsList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -134,11 +166,13 @@ public java.util.List getSpeedR
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getSpeedReadingIntervalsOrBuilderList() {
     return speedReadingIntervals_;
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -157,6 +191,8 @@ public int getSpeedReadingIntervalsCount() {
     return speedReadingIntervals_.size();
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -175,6 +211,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
     return speedReadingIntervals_.get(index);
   }
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -197,11 +235,14 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
   public static final int FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER = 5;
   private long fuelConsumptionMicroliters_;
   /**
+   *
+   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -210,6 +251,7 @@ public long getFuelConsumptionMicroliters() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +263,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 (tollInfo_ != null) { output.writeMessage(2, getTollInfo()); } @@ -242,16 +283,16 @@ public int getSerializedSize() { size = 0; if (tollInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTollInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTollInfo()); } for (int i = 0; i < speedReadingIntervals_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, speedReadingIntervals_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, speedReadingIntervals_.get(i)); } if (fuelConsumptionMicroliters_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, fuelConsumptionMicroliters_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(5, fuelConsumptionMicroliters_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,22 +302,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.routing.v2.RouteTravelAdvisory)) { return super.equals(obj); } - com.google.maps.routing.v2.RouteTravelAdvisory other = (com.google.maps.routing.v2.RouteTravelAdvisory) obj; + com.google.maps.routing.v2.RouteTravelAdvisory other = + (com.google.maps.routing.v2.RouteTravelAdvisory) obj; if (hasTollInfo() != other.hasTollInfo()) return false; if (hasTollInfo()) { - if (!getTollInfo() - .equals(other.getTollInfo())) return false; + if (!getTollInfo().equals(other.getTollInfo())) return false; } - if (!getSpeedReadingIntervalsList() - .equals(other.getSpeedReadingIntervalsList())) return false; - if (getFuelConsumptionMicroliters() - != other.getFuelConsumptionMicroliters()) return false; + if (!getSpeedReadingIntervalsList().equals(other.getSpeedReadingIntervalsList())) return false; + if (getFuelConsumptionMicroliters() != other.getFuelConsumptionMicroliters()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,104 +336,110 @@ public int hashCode() { hash = (53 * hash) + getSpeedReadingIntervalsList().hashCode(); } hash = (37 * hash) + FUEL_CONSUMPTION_MICROLITERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFuelConsumptionMicroliters()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFuelConsumptionMicroliters()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.RouteTravelAdvisory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.RouteTravelAdvisory parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory 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; } /** + * + * *
    * Encapsulates the additional information that the user should be informed
    * about, such as possible traffic zone restriction etc.
@@ -402,33 +447,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.RouteTravelAdvisory}
    */
-  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.routing.v2.RouteTravelAdvisory)
       com.google.maps.routing.v2.RouteTravelAdvisoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.RouteTravelAdvisory.class, com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
+              com.google.maps.routing.v2.RouteTravelAdvisory.class,
+              com.google.maps.routing.v2.RouteTravelAdvisory.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.RouteTravelAdvisory.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();
@@ -451,9 +495,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.RouteProto.internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.RouteProto
+          .internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor;
     }
 
     @java.lang.Override
@@ -472,7 +516,8 @@ public com.google.maps.routing.v2.RouteTravelAdvisory build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.RouteTravelAdvisory buildPartial() {
-      com.google.maps.routing.v2.RouteTravelAdvisory result = new com.google.maps.routing.v2.RouteTravelAdvisory(this);
+      com.google.maps.routing.v2.RouteTravelAdvisory result =
+          new com.google.maps.routing.v2.RouteTravelAdvisory(this);
       int from_bitField0_ = bitField0_;
       if (tollInfoBuilder_ == null) {
         result.tollInfo_ = tollInfo_;
@@ -497,38 +542,39 @@ public com.google.maps.routing.v2.RouteTravelAdvisory 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.routing.v2.RouteTravelAdvisory) {
-        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory)other);
+        return mergeFrom((com.google.maps.routing.v2.RouteTravelAdvisory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,9 +604,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.RouteTravelAdvisory other) {
             speedReadingIntervalsBuilder_ = null;
             speedReadingIntervals_ = other.speedReadingIntervals_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            speedReadingIntervalsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSpeedReadingIntervalsFieldBuilder() : null;
+            speedReadingIntervalsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSpeedReadingIntervalsFieldBuilder()
+                    : null;
           } else {
             speedReadingIntervalsBuilder_.addAllMessages(other.speedReadingIntervals_);
           }
@@ -595,37 +642,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              input.readMessage(
-                  getTollInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 18:
+              {
+                input.readMessage(getTollInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              com.google.maps.routing.v2.SpeedReadingInterval m =
-                  input.readMessage(
-                      com.google.maps.routing.v2.SpeedReadingInterval.parser(),
-                      extensionRegistry);
-              if (speedReadingIntervalsBuilder_ == null) {
-                ensureSpeedReadingIntervalsIsMutable();
-                speedReadingIntervals_.add(m);
-              } else {
-                speedReadingIntervalsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 40: {
-              fuelConsumptionMicroliters_ = input.readInt64();
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.maps.routing.v2.SpeedReadingInterval m =
+                    input.readMessage(
+                        com.google.maps.routing.v2.SpeedReadingInterval.parser(),
+                        extensionRegistry);
+                if (speedReadingIntervalsBuilder_ == null) {
+                  ensureSpeedReadingIntervalsIsMutable();
+                  speedReadingIntervals_.add(m);
+                } else {
+                  speedReadingIntervalsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 40:
+              {
+                fuelConsumptionMicroliters_ = input.readInt64();
 
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            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) {
@@ -635,12 +684,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.maps.routing.v2.TollInfo tollInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> tollInfoBuilder_;
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
+        tollInfoBuilder_;
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -650,12 +705,15 @@ public Builder mergeFrom(
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ public boolean hasTollInfo() { return tollInfoBuilder_ != null || tollInfo_ != null; } /** + * + * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -665,16 +723,21 @@ public boolean hasTollInfo() {
      * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ public com.google.maps.routing.v2.TollInfo getTollInfo() { if (tollInfoBuilder_ == null) { - return tollInfo_ == null ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_; + return tollInfo_ == null + ? com.google.maps.routing.v2.TollInfo.getDefaultInstance() + : tollInfo_; } else { return tollInfoBuilder_.getMessage(); } } /** + * + * *
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -699,6 +762,8 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -709,8 +774,7 @@ public Builder setTollInfo(com.google.maps.routing.v2.TollInfo value) {
      *
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
-    public Builder setTollInfo(
-        com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
+    public Builder setTollInfo(com.google.maps.routing.v2.TollInfo.Builder builderForValue) {
       if (tollInfoBuilder_ == null) {
         tollInfo_ = builderForValue.build();
         onChanged();
@@ -721,6 +785,8 @@ public Builder setTollInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -735,7 +801,9 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       if (tollInfoBuilder_ == null) {
         if (tollInfo_ != null) {
           tollInfo_ =
-            com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_).mergeFrom(value).buildPartial();
+              com.google.maps.routing.v2.TollInfo.newBuilder(tollInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tollInfo_ = value;
         }
@@ -747,6 +815,8 @@ public Builder mergeTollInfo(com.google.maps.routing.v2.TollInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -769,6 +839,8 @@ public Builder clearTollInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -780,11 +852,13 @@ public Builder clearTollInfo() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     public com.google.maps.routing.v2.TollInfo.Builder getTollInfoBuilder() {
-      
+
       onChanged();
       return getTollInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -799,11 +873,14 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
       if (tollInfoBuilder_ != null) {
         return tollInfoBuilder_.getMessageOrBuilder();
       } else {
-        return tollInfo_ == null ?
-            com.google.maps.routing.v2.TollInfo.getDefaultInstance() : tollInfo_;
+        return tollInfo_ == null
+            ? com.google.maps.routing.v2.TollInfo.getDefaultInstance()
+            : tollInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Encapsulates information about tolls on the Route.
      * This field is only populated if we expect there are tolls on the Route.
@@ -815,32 +892,43 @@ public com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder() {
      * .google.maps.routing.v2.TollInfo toll_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder> 
+            com.google.maps.routing.v2.TollInfo,
+            com.google.maps.routing.v2.TollInfo.Builder,
+            com.google.maps.routing.v2.TollInfoOrBuilder>
         getTollInfoFieldBuilder() {
       if (tollInfoBuilder_ == null) {
-        tollInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.TollInfo, com.google.maps.routing.v2.TollInfo.Builder, com.google.maps.routing.v2.TollInfoOrBuilder>(
-                getTollInfo(),
-                getParentForChildren(),
-                isClean());
+        tollInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.TollInfo,
+                com.google.maps.routing.v2.TollInfo.Builder,
+                com.google.maps.routing.v2.TollInfoOrBuilder>(
+                getTollInfo(), getParentForChildren(), isClean());
         tollInfo_ = null;
       }
       return tollInfoBuilder_;
     }
 
     private java.util.List speedReadingIntervals_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSpeedReadingIntervalsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        speedReadingIntervals_ = new java.util.ArrayList(speedReadingIntervals_);
+        speedReadingIntervals_ =
+            new java.util.ArrayList(
+                speedReadingIntervals_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> speedReadingIntervalsBuilder_;
+            com.google.maps.routing.v2.SpeedReadingInterval,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder,
+            com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>
+        speedReadingIntervalsBuilder_;
 
     /**
+     *
+     *
      * 
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -852,9 +940,11 @@ private void ensureSpeedReadingIntervalsIsMutable() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List getSpeedReadingIntervalsList() { + public java.util.List + getSpeedReadingIntervalsList() { if (speedReadingIntervalsBuilder_ == null) { return java.util.Collections.unmodifiableList(speedReadingIntervals_); } else { @@ -862,6 +952,8 @@ public java.util.List getSpeedR } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -873,7 +965,8 @@ public java.util.List getSpeedR
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public int getSpeedReadingIntervalsCount() { if (speedReadingIntervalsBuilder_ == null) { @@ -883,6 +976,8 @@ public int getSpeedReadingIntervalsCount() { } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -894,7 +989,8 @@ public int getSpeedReadingIntervalsCount() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -904,6 +1000,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals( } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -915,7 +1013,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -932,6 +1031,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -943,7 +1044,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder setSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -957,6 +1059,8 @@ public Builder setSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -968,7 +1072,8 @@ public Builder setSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingInterval value) { if (speedReadingIntervalsBuilder_ == null) { @@ -984,6 +1089,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -995,7 +1102,8 @@ public Builder addSpeedReadingIntervals(com.google.maps.routing.v2.SpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval value) { @@ -1012,6 +1120,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1023,7 +1133,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1037,6 +1148,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1048,7 +1161,8 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addSpeedReadingIntervals( int index, com.google.maps.routing.v2.SpeedReadingInterval.Builder builderForValue) { @@ -1062,6 +1176,8 @@ public Builder addSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1073,14 +1189,14 @@ public Builder addSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder addAllSpeedReadingIntervals( java.lang.Iterable values) { if (speedReadingIntervalsBuilder_ == null) { ensureSpeedReadingIntervalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, speedReadingIntervals_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, speedReadingIntervals_); onChanged(); } else { speedReadingIntervalsBuilder_.addAllMessages(values); @@ -1088,6 +1204,8 @@ public Builder addAllSpeedReadingIntervals( return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1099,7 +1217,8 @@ public Builder addAllSpeedReadingIntervals(
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder clearSpeedReadingIntervals() { if (speedReadingIntervalsBuilder_ == null) { @@ -1112,6 +1231,8 @@ public Builder clearSpeedReadingIntervals() { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1123,7 +1244,8 @@ public Builder clearSpeedReadingIntervals() {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public Builder removeSpeedReadingIntervals(int index) { if (speedReadingIntervalsBuilder_ == null) { @@ -1136,6 +1258,8 @@ public Builder removeSpeedReadingIntervals(int index) { return this; } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1147,13 +1271,16 @@ public Builder removeSpeedReadingIntervals(int index) {
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIntervalsBuilder( int index) { return getSpeedReadingIntervalsFieldBuilder().getBuilder(index); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1165,16 +1292,20 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder getSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingIntervalsOrBuilder( - int index) { + public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder + getSpeedReadingIntervalsOrBuilder(int index) { if (speedReadingIntervalsBuilder_ == null) { - return speedReadingIntervals_.get(index); } else { + return speedReadingIntervals_.get(index); + } else { return speedReadingIntervalsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1186,10 +1317,11 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List - getSpeedReadingIntervalsOrBuilderList() { + public java.util.List + getSpeedReadingIntervalsOrBuilderList() { if (speedReadingIntervalsBuilder_ != null) { return speedReadingIntervalsBuilder_.getMessageOrBuilderList(); } else { @@ -1197,6 +1329,8 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI } } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1208,13 +1342,17 @@ public com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingI
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder() { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + public com.google.maps.routing.v2.SpeedReadingInterval.Builder + addSpeedReadingIntervalsBuilder() { + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1226,14 +1364,17 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIntervalsBuilder( int index) { - return getSpeedReadingIntervalsFieldBuilder().addBuilder( - index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); + return getSpeedReadingIntervalsFieldBuilder() + .addBuilder(index, com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()); } /** + * + * *
      * Speed reading intervals detailing traffic density. Applicable in case of
      * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -1245,18 +1386,25 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn
      *     speed_reading_intervals: [A,C), [C,D), [D,G).
      * 
* - * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3; + * */ - public java.util.List - getSpeedReadingIntervalsBuilderList() { + public java.util.List + getSpeedReadingIntervalsBuilderList() { return getSpeedReadingIntervalsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder> getSpeedReadingIntervalsFieldBuilder() { if (speedReadingIntervalsBuilder_ == null) { - speedReadingIntervalsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.maps.routing.v2.SpeedReadingInterval, com.google.maps.routing.v2.SpeedReadingInterval.Builder, com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( + speedReadingIntervalsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.maps.routing.v2.SpeedReadingInterval, + com.google.maps.routing.v2.SpeedReadingInterval.Builder, + com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder>( speedReadingIntervals_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1266,13 +1414,16 @@ public com.google.maps.routing.v2.SpeedReadingInterval.Builder addSpeedReadingIn return speedReadingIntervalsBuilder_; } - private long fuelConsumptionMicroliters_ ; + private long fuelConsumptionMicroliters_; /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ @java.lang.Override @@ -1280,37 +1431,43 @@ public long getFuelConsumptionMicroliters() { return fuelConsumptionMicroliters_; } /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @param value The fuelConsumptionMicroliters to set. * @return This builder for chaining. */ public Builder setFuelConsumptionMicroliters(long value) { - + fuelConsumptionMicroliters_ = value; onChanged(); return this; } /** + * + * *
      * The fuel consumption prediction in microliters.
      * 
* * int64 fuel_consumption_microliters = 5; + * * @return This builder for chaining. */ public Builder clearFuelConsumptionMicroliters() { - + fuelConsumptionMicroliters_ = 0L; 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); } @@ -1320,12 +1477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.RouteTravelAdvisory) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.RouteTravelAdvisory) private static final com.google.maps.routing.v2.RouteTravelAdvisory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.RouteTravelAdvisory(); } @@ -1334,27 +1491,27 @@ public static com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RouteTravelAdvisory 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 RouteTravelAdvisory 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; @@ -1369,6 +1526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.RouteTravelAdvisory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java similarity index 87% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java index 8a40a07e56f8..ccaea0896cfd 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelAdvisoryOrBuilder.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/routing/v2/route.proto package com.google.maps.routing.v2; -public interface RouteTravelAdvisoryOrBuilder extends +public interface RouteTravelAdvisoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteTravelAdvisory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -17,10 +35,13 @@ public interface RouteTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return Whether the tollInfo field is set. */ boolean hasTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -30,10 +51,13 @@ public interface RouteTravelAdvisoryOrBuilder extends
    * 
* * .google.maps.routing.v2.TollInfo toll_info = 2; + * * @return The tollInfo. */ com.google.maps.routing.v2.TollInfo getTollInfo(); /** + * + * *
    * Encapsulates information about tolls on the Route.
    * This field is only populated if we expect there are tolls on the Route.
@@ -47,6 +71,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
   com.google.maps.routing.v2.TollInfoOrBuilder getTollInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -60,9 +86,10 @@ public interface RouteTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List 
-      getSpeedReadingIntervalsList();
+  java.util.List getSpeedReadingIntervalsList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -78,6 +105,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
    */
   com.google.maps.routing.v2.SpeedReadingInterval getSpeedReadingIntervals(int index);
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -93,6 +122,8 @@ public interface RouteTravelAdvisoryOrBuilder extends
    */
   int getSpeedReadingIntervalsCount();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -106,9 +137,11 @@ public interface RouteTravelAdvisoryOrBuilder extends
    *
    * repeated .google.maps.routing.v2.SpeedReadingInterval speed_reading_intervals = 3;
    */
-  java.util.List 
+  java.util.List
       getSpeedReadingIntervalsOrBuilderList();
   /**
+   *
+   *
    * 
    * Speed reading intervals detailing traffic density. Applicable in case of
    * `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences.
@@ -126,11 +159,14 @@ com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder getSpeedReadingInterval
       int index);
 
   /**
+   *
+   *
    * 
    * The fuel consumption prediction in microliters.
    * 
* * int64 fuel_consumption_microliters = 5; + * * @return The fuelConsumptionMicroliters. */ long getFuelConsumptionMicroliters(); diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java similarity index 71% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java index 9c969d402ba4..eb2f5ca3d254 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelMode.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/routing/v2/route_travel_mode.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values used to specify the mode of travel.
  * NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes
@@ -14,9 +31,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RouteTravelMode}
  */
-public enum RouteTravelMode
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RouteTravelMode implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -25,6 +43,8 @@ public enum RouteTravelMode */ TRAVEL_MODE_UNSPECIFIED(0), /** + * + * *
    * Travel by passenger car.
    * 
@@ -33,6 +53,8 @@ public enum RouteTravelMode */ DRIVE(1), /** + * + * *
    * Travel by bicycle.
    * 
@@ -41,6 +63,8 @@ public enum RouteTravelMode */ BICYCLE(2), /** + * + * *
    * Travel by walking.
    * 
@@ -49,6 +73,8 @@ public enum RouteTravelMode */ WALK(3), /** + * + * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -61,6 +87,8 @@ public enum RouteTravelMode
   ;
 
   /**
+   *
+   *
    * 
    * No travel mode specified. Defaults to `DRIVE`.
    * 
@@ -69,6 +97,8 @@ public enum RouteTravelMode */ public static final int TRAVEL_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Travel by passenger car.
    * 
@@ -77,6 +107,8 @@ public enum RouteTravelMode */ public static final int DRIVE_VALUE = 1; /** + * + * *
    * Travel by bicycle.
    * 
@@ -85,6 +117,8 @@ public enum RouteTravelMode */ public static final int BICYCLE_VALUE = 2; /** + * + * *
    * Travel by walking.
    * 
@@ -93,6 +127,8 @@ public enum RouteTravelMode */ public static final int WALK_VALUE = 3; /** + * + * *
    * Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    * differs from the `BICYCLE` travel mode which covers human-powered mode.
@@ -102,7 +138,6 @@ public enum RouteTravelMode
    */
   public static final int TWO_WHEELER_VALUE = 4;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -127,51 +162,53 @@ public static RouteTravelMode valueOf(int value) {
    */
   public static RouteTravelMode forNumber(int value) {
     switch (value) {
-      case 0: return TRAVEL_MODE_UNSPECIFIED;
-      case 1: return DRIVE;
-      case 2: return BICYCLE;
-      case 3: return WALK;
-      case 4: return TWO_WHEELER;
-      default: return null;
+      case 0:
+        return TRAVEL_MODE_UNSPECIFIED;
+      case 1:
+        return DRIVE;
+      case 2:
+        return BICYCLE;
+      case 3:
+        return WALK;
+      case 4:
+        return TWO_WHEELER;
+      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<
-      RouteTravelMode> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RouteTravelMode findValueByNumber(int number) {
-            return RouteTravelMode.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 RouteTravelMode findValueByNumber(int number) {
+          return RouteTravelMode.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.routing.v2.RouteTravelModeProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final RouteTravelMode[] VALUES = values();
 
-  public static RouteTravelMode valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static RouteTravelMode 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;
@@ -187,4 +224,3 @@ private RouteTravelMode(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RouteTravelMode)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
new file mode 100644
index 000000000000..aef7e626a506
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java
@@ -0,0 +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/routing/v2/route_travel_mode.proto
+
+package com.google.maps.routing.v2;
+
+public final class RouteTravelModeProto {
+  private RouteTravelModeProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/route_travel_mo"
+          + "de.proto\022\026google.maps.routing.v2*a\n\017Rout"
+          + "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000"
+          + "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW"
+          + "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing."
+          + "v2B\024RouteTravelModeProtoP\001Z=google.golan"
+          + "g.org/genproto/googleapis/maps/routing/v"
+          + "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi"
+          + "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:"
+          + ":Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
new file mode 100644
index 000000000000..c849957989f0
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java
@@ -0,0 +1,263 @@
+/*
+ * 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/routing/v2/routes_service.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutesServiceProto {
+  private RoutesServiceProto() {}
+
+  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_routing_v2_ComputeRoutesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service."
+          + "proto\022\026google.maps.routing.v2\032\034google/ap"
+          + "i/annotations.proto\032\027google/api/client.p"
+          + "roto\032\037google/api/field_behavior.proto\032*g"
+          + "oogle/maps/routing/v2/fallback_info.prot"
+          + "o\032%google/maps/routing/v2/polyline.proto"
+          + "\032\"google/maps/routing/v2/route.proto\032,go"
+          + "ogle/maps/routing/v2/route_modifiers.pro"
+          + "to\032.google/maps/routing/v2/route_travel_"
+          + "mode.proto\032/google/maps/routing/v2/routi"
+          + "ng_preference.proto\032\"google/maps/routing"
+          + "/v2/units.proto\032%google/maps/routing/v2/"
+          + "waypoint.proto\032\036google/protobuf/duration"
+          + ".proto\032\037google/protobuf/timestamp.proto\032"
+          + "\027google/rpc/status.proto\"\214\007\n\024ComputeRout"
+          + "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps."
+          + "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030"
+          + "\002 \001(\0132 .google.maps.routing.v2.WaypointB"
+          + "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map"
+          + "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod"
+          + "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr"
+          + "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001("
+          + "\0162).google.maps.routing.v2.RoutingPrefer"
+          + "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go"
+          + "ogle.maps.routing.v2.PolylineQualityB\003\340A"
+          + "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma"
+          + "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d"
+          + "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti"
+          + "mestampB\003\340A\001\022\'\n\032compute_alternative_rout"
+          + "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&"
+          + ".google.maps.routing.v2.RouteModifiersB\003"
+          + "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units"
+          + "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340"
+          + "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;"
+          + ".google.maps.routing.v2.ComputeRoutesReq"
+          + "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou"
+          + "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F"
+          + "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons"
+          + "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing."
+          + "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google"
+          + ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput"
+          + "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g"
+          + "oogle.maps.routing.v2.RouteMatrixOriginB"
+          + "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps"
+          + ".routing.v2.RouteMatrixDestinationB\003\340A\002\022"
+          + "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi"
+          + "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr"
+          + "eference\030\004 \001(\0162).google.maps.routing.v2."
+          + "RoutingPreferenceB\003\340A\001\0227\n\016departure_time"
+          + "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\""
+          + "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132"
+          + " .google.maps.routing.v2.WaypointB\003\340A\002\022D"
+          + "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro"
+          + "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat"
+          + "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl"
+          + "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout"
+          + "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001"
+          + "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta"
+          + "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi"
+          + "on\030\t \001(\01623.google.maps.routing.v2.RouteM"
+          + "atrixElementCondition\022\027\n\017distance_meters"
+          + "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob"
+          + "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g"
+          + "oogle.protobuf.Duration\022D\n\017travel_adviso"
+          + "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT"
+          + "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g"
+          + "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o"
+          + "rigin_indexB\024\n\022_destination_index*t\n\033Rou"
+          + "teMatrixElementCondition\022.\n*ROUTE_MATRIX"
+          + "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT"
+          + "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout"
+          + "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi"
+          + "ng.v2.ComputeRoutesRequest\032-.google.maps"
+          + ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002"
+          + "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C"
+          + "omputeRouteMatrix\0221.google.maps.routing."
+          + "v2.ComputeRouteMatrixRequest\032*.google.ma"
+          + "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*"
+          + "\"%/distanceMatrix/v2:computeRouteMatrix:"
+          + "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g"
+          + "oogle.maps.routing.v2B\022RoutesServiceProt"
+          + "oP\001Z=google.golang.org/genproto/googleap"
+          + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026"
+          + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou"
+          + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro"
+          + "to3"
+    };
+    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.routing.v2.FallbackInfoProto.getDescriptor(),
+              com.google.maps.routing.v2.PolylineProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(),
+              com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(),
+              com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(),
+              com.google.maps.routing.v2.UnitsProto.getDescriptor(),
+              com.google.maps.routing.v2.WaypointProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.rpc.StatusProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor,
+            new java.lang.String[] {
+              "Origin",
+              "Destination",
+              "Intermediates",
+              "TravelMode",
+              "RoutingPreference",
+              "PolylineQuality",
+              "PolylineEncoding",
+              "DepartureTime",
+              "ComputeAlternativeRoutes",
+              "RouteModifiers",
+              "LanguageCode",
+              "Units",
+              "RequestedReferenceRoutes",
+            });
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor,
+            new java.lang.String[] {
+              "Routes", "FallbackInfo",
+            });
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor,
+            new java.lang.String[] {
+              "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor,
+            new java.lang.String[] {
+              "Waypoint", "RouteModifiers",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor,
+            new java.lang.String[] {
+              "Waypoint",
+            });
+    internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor,
+            new java.lang.String[] {
+              "OriginIndex",
+              "DestinationIndex",
+              "Status",
+              "Condition",
+              "DistanceMeters",
+              "Duration",
+              "StaticDuration",
+              "TravelAdvisory",
+              "FallbackInfo",
+              "OriginIndex",
+              "DestinationIndex",
+            });
+    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.routing.v2.FallbackInfoProto.getDescriptor();
+    com.google.maps.routing.v2.PolylineProto.getDescriptor();
+    com.google.maps.routing.v2.RouteProto.getDescriptor();
+    com.google.maps.routing.v2.RouteModifiersProto.getDescriptor();
+    com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor();
+    com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor();
+    com.google.maps.routing.v2.UnitsProto.getDescriptor();
+    com.google.maps.routing.v2.WaypointProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
similarity index 77%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
index a276207426b7..c571bba8e83e 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreference.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/routing/v2/routing_preference.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * A set of values that specify factors to take into consideration when
  * calculating the route.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.RoutingPreference}
  */
-public enum RoutingPreference
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum RoutingPreference implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -22,6 +40,8 @@ public enum RoutingPreference */ ROUTING_PREFERENCE_UNSPECIFIED(0), /** + * + * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -38,6 +58,8 @@ public enum RoutingPreference
    */
   TRAFFIC_UNAWARE(1),
   /**
+   *
+   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -48,6 +70,8 @@ public enum RoutingPreference
    */
   TRAFFIC_AWARE(2),
   /**
+   *
+   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -61,6 +85,8 @@ public enum RoutingPreference
   ;
 
   /**
+   *
+   *
    * 
    * No routing preference specified. Default to `TRAFFIC_UNAWARE`.
    * 
@@ -69,6 +95,8 @@ public enum RoutingPreference */ public static final int ROUTING_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Computes routes without taking live traffic conditions into consideration.
    * Suitable when traffic conditions don't matter or are not applicable.
@@ -85,6 +113,8 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_UNAWARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * Calculates routes taking live traffic conditions into consideration.
    * In contrast to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to
@@ -95,6 +125,8 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_AWARE_VALUE = 2;
   /**
+   *
+   *
    * 
    * Calculates the routes taking live traffic conditions into consideration,
    * without applying most performance optimizations. Using this value produces
@@ -105,7 +137,6 @@ public enum RoutingPreference
    */
   public static final int TRAFFIC_AWARE_OPTIMAL_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -130,40 +161,44 @@ public static RoutingPreference valueOf(int value) {
    */
   public static RoutingPreference forNumber(int value) {
     switch (value) {
-      case 0: return ROUTING_PREFERENCE_UNSPECIFIED;
-      case 1: return TRAFFIC_UNAWARE;
-      case 2: return TRAFFIC_AWARE;
-      case 3: return TRAFFIC_AWARE_OPTIMAL;
-      default: return null;
+      case 0:
+        return ROUTING_PREFERENCE_UNSPECIFIED;
+      case 1:
+        return TRAFFIC_UNAWARE;
+      case 2:
+        return TRAFFIC_AWARE;
+      case 3:
+        return TRAFFIC_AWARE_OPTIMAL;
+      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<
-      RoutingPreference> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RoutingPreference findValueByNumber(int number) {
-            return RoutingPreference.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 RoutingPreference findValueByNumber(int number) {
+              return RoutingPreference.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.routing.v2.RoutingPreferenceProto.getDescriptor().getEnumTypes().get(0);
   }
 
@@ -172,8 +207,7 @@ public RoutingPreference findValueByNumber(int number) {
   public static RoutingPreference 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;
@@ -189,4 +223,3 @@ private RoutingPreference(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.RoutingPreference)
 }
-
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
new file mode 100644
index 000000000000..ff6abe39e2ae
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java
@@ -0,0 +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/routing/v2/routing_preference.proto
+
+package com.google.maps.routing.v2;
+
+public final class RoutingPreferenceProto {
+  private RoutingPreferenceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  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/routing/v2/routing_prefere"
+          + "nce.proto\022\026google.maps.routing.v2*z\n\021Rou"
+          + "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS"
+          + "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF"
+          + "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001"
+          + "\n\032com.google.maps.routing.v2B\026RoutingPre"
+          + "ferenceProtoP\001Z=google.golang.org/genpro"
+          + "to/googleapis/maps/routing/v2;routing\370\001\001"
+          + "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog"
+          + "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi"
+          + "ng::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
similarity index 72%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
index 63553864849f..b36867eb8892 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingInterval.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/routing/v2/speed_reading_interval.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * Traffic density indicator on a contiguous segment of a polyline or path.
  * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -13,54 +30,59 @@
  *
  * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
  */
-public final class SpeedReadingInterval extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SpeedReadingInterval extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.SpeedReadingInterval)
     SpeedReadingIntervalOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SpeedReadingInterval.newBuilder() to construct.
   private SpeedReadingInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SpeedReadingInterval() {
     speed_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SpeedReadingInterval();
   }
 
   @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.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto
+        .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+    return com.google.maps.routing.v2.SpeedReadingIntervalProto
+        .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+            com.google.maps.routing.v2.SpeedReadingInterval.class,
+            com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The classification of polyline speed based on traffic data.
    * 
* * Protobuf enum {@code google.maps.routing.v2.SpeedReadingInterval.Speed} */ - public enum Speed - implements com.google.protobuf.ProtocolMessageEnum { + public enum Speed implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -69,6 +91,8 @@ public enum Speed */ SPEED_UNSPECIFIED(0), /** + * + * *
      * Normal speed, no slowdown is detected.
      * 
@@ -77,6 +101,8 @@ public enum Speed */ NORMAL(1), /** + * + * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -85,6 +111,8 @@ public enum Speed */ SLOW(2), /** + * + * *
      * Traffic jam detected.
      * 
@@ -96,6 +124,8 @@ public enum Speed ; /** + * + * *
      * Default value. This value is unused.
      * 
@@ -104,6 +134,8 @@ public enum Speed */ public static final int SPEED_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Normal speed, no slowdown is detected.
      * 
@@ -112,6 +144,8 @@ public enum Speed */ public static final int NORMAL_VALUE = 1; /** + * + * *
      * Slowdown detected, but no traffic jam formed.
      * 
@@ -120,6 +154,8 @@ public enum Speed */ public static final int SLOW_VALUE = 2; /** + * + * *
      * Traffic jam detected.
      * 
@@ -128,7 +164,6 @@ public enum Speed */ public static final int TRAFFIC_JAM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,50 +188,51 @@ public static Speed valueOf(int value) { */ public static Speed forNumber(int value) { switch (value) { - case 0: return SPEED_UNSPECIFIED; - case 1: return NORMAL; - case 2: return SLOW; - case 3: return TRAFFIC_JAM; - default: return null; + case 0: + return SPEED_UNSPECIFIED; + case 1: + return NORMAL; + case 2: + return SLOW; + case 3: + return TRAFFIC_JAM; + 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< - Speed> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Speed findValueByNumber(int number) { - return Speed.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 Speed findValueByNumber(int number) { + return Speed.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.routing.v2.SpeedReadingInterval.getDescriptor().getEnumTypes().get(0); } private static final Speed[] VALUES = values(); - public static Speed valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Speed 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; @@ -217,11 +253,14 @@ private Speed(int value) { public static final int START_POLYLINE_POINT_INDEX_FIELD_NUMBER = 1; private int startPolylinePointIndex_; /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -229,11 +268,14 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -244,11 +286,14 @@ public int getStartPolylinePointIndex() { public static final int END_POLYLINE_POINT_INDEX_FIELD_NUMBER = 2; private int endPolylinePointIndex_; /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -256,11 +301,14 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -271,31 +319,43 @@ public int getEndPolylinePointIndex() { public static final int SPEED_FIELD_NUMBER = 3; private int speed_; /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override public int getSpeedValue() { + @java.lang.Override + public int getSpeedValue() { return speed_; } /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ - @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { + @java.lang.Override + public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = + com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null + ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,15 +367,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 (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, endPolylinePointIndex_); } - if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + if (speed_ + != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { output.writeEnum(3, speed_); } getUnknownFields().writeTo(output); @@ -328,16 +388,14 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, startPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, startPolylinePointIndex_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, endPolylinePointIndex_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, endPolylinePointIndex_); } - if (speed_ != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, speed_); + if (speed_ + != com.google.maps.routing.v2.SpeedReadingInterval.Speed.SPEED_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, speed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,22 +405,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.routing.v2.SpeedReadingInterval)) { return super.equals(obj); } - com.google.maps.routing.v2.SpeedReadingInterval other = (com.google.maps.routing.v2.SpeedReadingInterval) obj; + com.google.maps.routing.v2.SpeedReadingInterval other = + (com.google.maps.routing.v2.SpeedReadingInterval) obj; if (hasStartPolylinePointIndex() != other.hasStartPolylinePointIndex()) return false; if (hasStartPolylinePointIndex()) { - if (getStartPolylinePointIndex() - != other.getStartPolylinePointIndex()) return false; + if (getStartPolylinePointIndex() != other.getStartPolylinePointIndex()) return false; } if (hasEndPolylinePointIndex() != other.hasEndPolylinePointIndex()) return false; if (hasEndPolylinePointIndex()) { - if (getEndPolylinePointIndex() - != other.getEndPolylinePointIndex()) return false; + if (getEndPolylinePointIndex() != other.getEndPolylinePointIndex()) return false; } if (speed_ != other.speed_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -391,97 +448,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.SpeedReadingInterval parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.maps.routing.v2.SpeedReadingInterval parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval 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; } /** + * + * *
    * Traffic density indicator on a contiguous segment of a polyline or path.
    * Given a path with points P_0, P_1, ... , P_N (zero-based index), the
@@ -491,33 +555,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.SpeedReadingInterval}
    */
-  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.routing.v2.SpeedReadingInterval)
       com.google.maps.routing.v2.SpeedReadingIntervalOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.SpeedReadingInterval.class, com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
+              com.google.maps.routing.v2.SpeedReadingInterval.class,
+              com.google.maps.routing.v2.SpeedReadingInterval.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.SpeedReadingInterval.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();
@@ -531,9 +594,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.SpeedReadingIntervalProto.internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.SpeedReadingIntervalProto
+          .internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor;
     }
 
     @java.lang.Override
@@ -552,7 +615,8 @@ public com.google.maps.routing.v2.SpeedReadingInterval build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.SpeedReadingInterval buildPartial() {
-      com.google.maps.routing.v2.SpeedReadingInterval result = new com.google.maps.routing.v2.SpeedReadingInterval(this);
+      com.google.maps.routing.v2.SpeedReadingInterval result =
+          new com.google.maps.routing.v2.SpeedReadingInterval(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -573,38 +637,39 @@ public com.google.maps.routing.v2.SpeedReadingInterval 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.routing.v2.SpeedReadingInterval) {
-        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval)other);
+        return mergeFrom((com.google.maps.routing.v2.SpeedReadingInterval) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,7 +677,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.maps.routing.v2.SpeedReadingInterval other) {
-      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance()) return this;
+      if (other == com.google.maps.routing.v2.SpeedReadingInterval.getDefaultInstance())
+        return this;
       if (other.hasStartPolylinePointIndex()) {
         setStartPolylinePointIndex(other.getStartPolylinePointIndex());
       }
@@ -648,27 +714,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              startPolylinePointIndex_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              endPolylinePointIndex_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              speed_ = input.readEnum();
+            case 8:
+              {
+                startPolylinePointIndex_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                endPolylinePointIndex_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                speed_ = input.readEnum();
 
-              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) {
@@ -678,15 +748,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int startPolylinePointIndex_ ;
+    private int startPolylinePointIndex_;
     /**
+     *
+     *
      * 
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ @java.lang.Override @@ -694,11 +768,14 @@ public boolean hasStartPolylinePointIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ @java.lang.Override @@ -706,11 +783,14 @@ public int getStartPolylinePointIndex() { return startPolylinePointIndex_; } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @param value The startPolylinePointIndex to set. * @return This builder for chaining. */ @@ -721,11 +801,14 @@ public Builder setStartPolylinePointIndex(int value) { return this; } /** + * + * *
      * The starting index of this interval in the polyline.
      * 
* * optional int32 start_polyline_point_index = 1; + * * @return This builder for chaining. */ public Builder clearStartPolylinePointIndex() { @@ -735,13 +818,16 @@ public Builder clearStartPolylinePointIndex() { return this; } - private int endPolylinePointIndex_ ; + private int endPolylinePointIndex_; /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ @java.lang.Override @@ -749,11 +835,14 @@ public boolean hasEndPolylinePointIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ @java.lang.Override @@ -761,11 +850,14 @@ public int getEndPolylinePointIndex() { return endPolylinePointIndex_; } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @param value The endPolylinePointIndex to set. * @return This builder for chaining. */ @@ -776,11 +868,14 @@ public Builder setEndPolylinePointIndex(int value) { return this; } /** + * + * *
      * The ending index of this interval in the polyline.
      * 
* * optional int32 end_polyline_point_index = 2; + * * @return This builder for chaining. */ public Builder clearEndPolylinePointIndex() { @@ -792,51 +887,67 @@ public Builder clearEndPolylinePointIndex() { private int speed_ = 0; /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ - @java.lang.Override public int getSpeedValue() { + @java.lang.Override + public int getSpeedValue() { return speed_; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @param value The enum numeric value on the wire for speed to set. * @return This builder for chaining. */ public Builder setSpeedValue(int value) { - + speed_ = value; onChanged(); return this; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ @java.lang.Override public com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.SpeedReadingInterval.Speed result = com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); - return result == null ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED : result; + com.google.maps.routing.v2.SpeedReadingInterval.Speed result = + com.google.maps.routing.v2.SpeedReadingInterval.Speed.valueOf(speed_); + return result == null + ? com.google.maps.routing.v2.SpeedReadingInterval.Speed.UNRECOGNIZED + : result; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @param value The speed to set. * @return This builder for chaining. */ @@ -844,28 +955,31 @@ public Builder setSpeed(com.google.maps.routing.v2.SpeedReadingInterval.Speed va if (value == null) { throw new NullPointerException(); } - + speed_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Traffic speed in this interval.
      * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return This builder for chaining. */ public Builder clearSpeed() { - + speed_ = 0; 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); } @@ -875,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.SpeedReadingInterval) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.SpeedReadingInterval) private static final com.google.maps.routing.v2.SpeedReadingInterval DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.SpeedReadingInterval(); } @@ -889,27 +1003,27 @@ public static com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpeedReadingInterval 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 SpeedReadingInterval 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; @@ -924,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.SpeedReadingInterval getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java index b3b1beeebe8e..df4bba08ee49 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalOrBuilder.java @@ -1,65 +1,99 @@ +/* + * 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/routing/v2/speed_reading_interval.proto package com.google.maps.routing.v2; -public interface SpeedReadingIntervalOrBuilder extends +public interface SpeedReadingIntervalOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.SpeedReadingInterval) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return Whether the startPolylinePointIndex field is set. */ boolean hasStartPolylinePointIndex(); /** + * + * *
    * The starting index of this interval in the polyline.
    * 
* * optional int32 start_polyline_point_index = 1; + * * @return The startPolylinePointIndex. */ int getStartPolylinePointIndex(); /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return Whether the endPolylinePointIndex field is set. */ boolean hasEndPolylinePointIndex(); /** + * + * *
    * The ending index of this interval in the polyline.
    * 
* * optional int32 end_polyline_point_index = 2; + * * @return The endPolylinePointIndex. */ int getEndPolylinePointIndex(); /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The enum numeric value on the wire for speed. */ int getSpeedValue(); /** + * + * *
    * Traffic speed in this interval.
    * 
* * .google.maps.routing.v2.SpeedReadingInterval.Speed speed = 3; + * * @return The speed. */ com.google.maps.routing.v2.SpeedReadingInterval.Speed getSpeed(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java new file mode 100644 index 000000000000..31094d5dcea0 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java @@ -0,0 +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/routing/v2/speed_reading_interval.proto + +package com.google.maps.routing.v2; + +public final class SpeedReadingIntervalProto { + private SpeedReadingIntervalProto() {} + + 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_routing_v2_SpeedReadingInterval_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/maps/routing/v2/speed_reading_i" + + "nterval.proto\022\026google.maps.routing.v2\"\254\002" + + "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + + "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + + "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + + "google.maps.routing.v2.SpeedReadingInter" + + "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + + "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + + "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + + "polyline_point_indexB\321\001\n\032com.google.maps" + + ".routing.v2B\031SpeedReadingIntervalProtoP\001" + + "Z=google.golang.org/genproto/googleapis/" + + "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + + "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + + "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, + new java.lang.String[] { + "StartPolylinePointIndex", + "EndPolylinePointIndex", + "Speed", + "StartPolylinePointIndex", + "EndPolylinePointIndex", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java similarity index 77% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java index 6d1705f464b4..371aea9216d3 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfo.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/routing/v2/toll_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates toll information on a `Route` or on a `RouteLeg`.
  * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ -public final class TollInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TollInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.maps.routing.v2.TollInfo) TollInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TollInfo.newBuilder() to construct. private TollInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TollInfo() { estimatedPrice_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TollInfo(); } @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.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, + com.google.maps.routing.v2.TollInfo.Builder.class); } public static final int ESTIMATED_PRICE_FIELD_NUMBER = 1; private java.util.List estimatedPrice_; /** + * + * *
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -67,6 +88,8 @@ public java.util.List getEstimatedPriceList() {
     return estimatedPrice_;
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -79,11 +102,12 @@ public java.util.List getEstimatedPriceList() {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getEstimatedPriceOrBuilderList() {
+  public java.util.List getEstimatedPriceOrBuilderList() {
     return estimatedPrice_;
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -100,6 +124,8 @@ public int getEstimatedPriceCount() {
     return estimatedPrice_.size();
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -116,6 +142,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
     return estimatedPrice_.get(index);
   }
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -128,12 +156,12 @@ public com.google.type.Money getEstimatedPrice(int index) {
    * repeated .google.type.Money estimated_price = 1;
    */
   @java.lang.Override
-  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-      int index) {
+  public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
     return estimatedPrice_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -145,8 +173,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 {
     for (int i = 0; i < estimatedPrice_.size(); i++) {
       output.writeMessage(1, estimatedPrice_.get(i));
     }
@@ -160,8 +187,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < estimatedPrice_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, estimatedPrice_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, estimatedPrice_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,15 +197,14 @@ 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.routing.v2.TollInfo)) {
       return super.equals(obj);
     }
     com.google.maps.routing.v2.TollInfo other = (com.google.maps.routing.v2.TollInfo) obj;
 
-    if (!getEstimatedPriceList()
-        .equals(other.getEstimatedPriceList())) return false;
+    if (!getEstimatedPriceList().equals(other.getEstimatedPriceList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -200,130 +225,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.maps.routing.v2.TollInfo parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.maps.routing.v2.TollInfo parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.maps.routing.v2.TollInfo parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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.routing.v2.TollInfo 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;
   }
   /**
+   *
+   *
    * 
    * Encapsulates toll information on a `Route` or on a `RouteLeg`.
    * 
* * Protobuf type {@code google.maps.routing.v2.TollInfo} */ - 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.routing.v2.TollInfo) com.google.maps.routing.v2.TollInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.maps.routing.v2.TollInfo.class, com.google.maps.routing.v2.TollInfo.Builder.class); + com.google.maps.routing.v2.TollInfo.class, + com.google.maps.routing.v2.TollInfo.Builder.class); } // Construct using com.google.maps.routing.v2.TollInfo.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(); @@ -338,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.maps.routing.v2.TollInfoProto.internal_static_google_maps_routing_v2_TollInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.routing.v2.TollInfoProto + .internal_static_google_maps_routing_v2_TollInfo_descriptor; } @java.lang.Override @@ -378,38 +408,39 @@ public com.google.maps.routing.v2.TollInfo 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.routing.v2.TollInfo) { - return mergeFrom((com.google.maps.routing.v2.TollInfo)other); + return mergeFrom((com.google.maps.routing.v2.TollInfo) other); } else { super.mergeFrom(other); return this; @@ -436,9 +467,10 @@ public Builder mergeFrom(com.google.maps.routing.v2.TollInfo other) { estimatedPriceBuilder_ = null; estimatedPrice_ = other.estimatedPrice_; bitField0_ = (bitField0_ & ~0x00000001); - estimatedPriceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEstimatedPriceFieldBuilder() : null; + estimatedPriceBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEstimatedPriceFieldBuilder() + : null; } else { estimatedPriceBuilder_.addAllMessages(other.estimatedPrice_); } @@ -470,25 +502,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.type.Money m = - input.readMessage( - com.google.type.Money.parser(), - extensionRegistry); - if (estimatedPriceBuilder_ == null) { - ensureEstimatedPriceIsMutable(); - estimatedPrice_.add(m); - } else { - estimatedPriceBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.type.Money m = + input.readMessage(com.google.type.Money.parser(), extensionRegistry); + if (estimatedPriceBuilder_ == null) { + ensureEstimatedPriceIsMutable(); + estimatedPrice_.add(m); + } else { + estimatedPriceBuilder_.addMessage(m); + } + break; + } // case 10 + 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) { @@ -498,21 +530,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List estimatedPrice_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEstimatedPriceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { estimatedPrice_ = new java.util.ArrayList(estimatedPrice_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> estimatedPriceBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + estimatedPriceBuilder_; /** + * + * *
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -532,6 +569,8 @@ public java.util.List getEstimatedPriceList() {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -551,6 +590,8 @@ public int getEstimatedPriceCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -570,6 +611,8 @@ public com.google.type.Money getEstimatedPrice(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -581,8 +624,7 @@ public com.google.type.Money getEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(
-        int index, com.google.type.Money value) {
+    public Builder setEstimatedPrice(int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -596,6 +638,8 @@ public Builder setEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -607,8 +651,7 @@ public Builder setEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder setEstimatedPrice(
-        int index, com.google.type.Money.Builder builderForValue) {
+    public Builder setEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.set(index, builderForValue.build());
@@ -619,6 +662,8 @@ public Builder setEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -644,6 +689,8 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -655,8 +702,7 @@ public Builder addEstimatedPrice(com.google.type.Money value) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        int index, com.google.type.Money value) {
+    public Builder addEstimatedPrice(int index, com.google.type.Money value) {
       if (estimatedPriceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -670,6 +716,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -681,8 +729,7 @@ public Builder addEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(builderForValue.build());
@@ -693,6 +740,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -704,8 +753,7 @@ public Builder addEstimatedPrice(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public Builder addEstimatedPrice(
-        int index, com.google.type.Money.Builder builderForValue) {
+    public Builder addEstimatedPrice(int index, com.google.type.Money.Builder builderForValue) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
         estimatedPrice_.add(index, builderForValue.build());
@@ -716,6 +764,8 @@ public Builder addEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -731,8 +781,7 @@ public Builder addAllEstimatedPrice(
         java.lang.Iterable values) {
       if (estimatedPriceBuilder_ == null) {
         ensureEstimatedPriceIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, estimatedPrice_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, estimatedPrice_);
         onChanged();
       } else {
         estimatedPriceBuilder_.addAllMessages(values);
@@ -740,6 +789,8 @@ public Builder addAllEstimatedPrice(
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -762,6 +813,8 @@ public Builder clearEstimatedPrice() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -784,6 +837,8 @@ public Builder removeEstimatedPrice(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -795,11 +850,12 @@ public Builder removeEstimatedPrice(int index) {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder getEstimatedPriceBuilder(
-        int index) {
+    public com.google.type.Money.Builder getEstimatedPriceBuilder(int index) {
       return getEstimatedPriceFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -811,14 +867,16 @@ public com.google.type.Money.Builder getEstimatedPriceBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-        int index) {
+    public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index) {
       if (estimatedPriceBuilder_ == null) {
-        return estimatedPrice_.get(index);  } else {
+        return estimatedPrice_.get(index);
+      } else {
         return estimatedPriceBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -830,8 +888,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List 
-         getEstimatedPriceOrBuilderList() {
+    public java.util.List
+        getEstimatedPriceOrBuilderList() {
       if (estimatedPriceBuilder_ != null) {
         return estimatedPriceBuilder_.getMessageOrBuilderList();
       } else {
@@ -839,6 +897,8 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -851,10 +911,11 @@ public com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
      * repeated .google.type.Money estimated_price = 1;
      */
     public com.google.type.Money.Builder addEstimatedPriceBuilder() {
-      return getEstimatedPriceFieldBuilder().addBuilder(
-          com.google.type.Money.getDefaultInstance());
+      return getEstimatedPriceFieldBuilder().addBuilder(com.google.type.Money.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -866,12 +927,13 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder() {
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public com.google.type.Money.Builder addEstimatedPriceBuilder(
-        int index) {
-      return getEstimatedPriceFieldBuilder().addBuilder(
-          index, com.google.type.Money.getDefaultInstance());
+    public com.google.type.Money.Builder addEstimatedPriceBuilder(int index) {
+      return getEstimatedPriceFieldBuilder()
+          .addBuilder(index, com.google.type.Money.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The monetary amount of tolls for the corresponding Route or RouteLeg.
      * This list contains a money amount for each currency that is expected
@@ -883,16 +945,19 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(
      *
      * repeated .google.type.Money estimated_price = 1;
      */
-    public java.util.List 
-         getEstimatedPriceBuilderList() {
+    public java.util.List getEstimatedPriceBuilderList() {
       return getEstimatedPriceFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
         getEstimatedPriceFieldBuilder() {
       if (estimatedPriceBuilder_ == null) {
-        estimatedPriceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+        estimatedPriceBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.type.Money,
+                com.google.type.Money.Builder,
+                com.google.type.MoneyOrBuilder>(
                 estimatedPrice_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -901,9 +966,9 @@ public com.google.type.Money.Builder addEstimatedPriceBuilder(
       }
       return estimatedPriceBuilder_;
     }
+
     @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);
     }
 
@@ -913,12 +978,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.TollInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.maps.routing.v2.TollInfo)
   private static final com.google.maps.routing.v2.TollInfo DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.maps.routing.v2.TollInfo();
   }
@@ -927,27 +992,27 @@ public static com.google.maps.routing.v2.TollInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TollInfo 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 TollInfo 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;
@@ -962,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.maps.routing.v2.TollInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
index 1bc067afd09f..ba94fc699952 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoOrBuilder.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/routing/v2/toll_info.proto
 
 package com.google.maps.routing.v2;
 
-public interface TollInfoOrBuilder extends
+public interface TollInfoOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.TollInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -19,9 +37,10 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List 
-      getEstimatedPriceList();
+  java.util.List getEstimatedPriceList();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -35,6 +54,8 @@ public interface TollInfoOrBuilder extends
    */
   com.google.type.Money getEstimatedPrice(int index);
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -48,6 +69,8 @@ public interface TollInfoOrBuilder extends
    */
   int getEstimatedPriceCount();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -59,9 +82,10 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  java.util.List 
-      getEstimatedPriceOrBuilderList();
+  java.util.List getEstimatedPriceOrBuilderList();
   /**
+   *
+   *
    * 
    * The monetary amount of tolls for the corresponding Route or RouteLeg.
    * This list contains a money amount for each currency that is expected
@@ -73,6 +97,5 @@ public interface TollInfoOrBuilder extends
    *
    * repeated .google.type.Money estimated_price = 1;
    */
-  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(
-      int index);
+  com.google.type.MoneyOrBuilder getEstimatedPriceOrBuilder(int index);
 }
diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java
new file mode 100644
index 000000000000..2a9ed26f48f0
--- /dev/null
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.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/routing/v2/toll_info.proto
+
+package com.google.maps.routing.v2;
+
+public final class TollInfoProto {
+  private TollInfoProto() {}
+
+  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_routing_v2_TollInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto"
+          + "\022\026google.maps.routing.v2\032\027google/type/mo"
+          + "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price"
+          + "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl"
+          + "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog"
+          + "le.golang.org/genproto/googleapis/maps/r"
+          + "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma"
+          + "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002"
+          + "\031Google::Maps::Routing::V2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.type.MoneyProto.getDescriptor(),
+            });
+    internal_static_google_maps_routing_v2_TollInfo_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_maps_routing_v2_TollInfo_descriptor,
+            new java.lang.String[] {
+              "EstimatedPrice",
+            });
+    com.google.type.MoneyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
similarity index 80%
rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
index cd7eba1e3532..3bdb1b220654 100644
--- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
+++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPass.java
@@ -1,18 +1,36 @@
+/*
+ * 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/routing/v2/toll_passes.proto
 
 package com.google.maps.routing.v2;
 
 /**
+ *
+ *
  * 
  * List of toll passes around the world that we support.
  * 
* * Protobuf enum {@code google.maps.routing.v2.TollPass} */ -public enum TollPass - implements com.google.protobuf.ProtocolMessageEnum { +public enum TollPass implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -21,6 +39,8 @@ public enum TollPass */ TOLL_PASS_UNSPECIFIED(0), /** + * + * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -29,6 +49,8 @@ public enum TollPass */ AU_ETOLL_TAG(82), /** + * + * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -37,6 +59,8 @@ public enum TollPass */ AU_EWAY_TAG(83), /** + * + * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -46,6 +70,8 @@ public enum TollPass
    */
   AU_LINKT(2),
   /**
+   *
+   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -54,6 +80,8 @@ public enum TollPass */ AR_TELEPASE(3), /** + * + * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -62,6 +90,8 @@ public enum TollPass */ BR_AUTO_EXPRESO(81), /** + * + * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -70,6 +100,8 @@ public enum TollPass */ BR_CONECTCAR(7), /** + * + * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -78,6 +110,8 @@ public enum TollPass */ BR_MOVE_MAIS(8), /** + * + * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -86,6 +120,8 @@ public enum TollPass */ BR_PASSA_RAPIDO(88), /** + * + * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -94,6 +130,8 @@ public enum TollPass */ BR_SEM_PARAR(9), /** + * + * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -102,6 +140,8 @@ public enum TollPass */ BR_TAGGY(10), /** + * + * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -111,6 +151,8 @@ public enum TollPass
    */
   BR_VELOE(11),
   /**
+   *
+   *
    * 
    * Canada to United States border crossing.
    * 
@@ -119,6 +161,8 @@ public enum TollPass */ CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD(84), /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -127,6 +171,8 @@ public enum TollPass */ CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD(85), /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -135,6 +181,8 @@ public enum TollPass */ CA_US_BLUE_WATER_EDGE_PASS(18), /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -143,6 +191,8 @@ public enum TollPass */ CA_US_CONNEXION(19), /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -151,6 +201,8 @@ public enum TollPass */ CA_US_NEXUS_CARD(20), /** + * + * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -164,6 +216,8 @@ public enum TollPass
    */
   ID_E_TOLL(16),
   /**
+   *
+   *
    * 
    * India.
    * 
@@ -172,6 +226,8 @@ public enum TollPass */ IN_FASTAG(78), /** + * + * *
    * India, HP state plate exemption.
    * 
@@ -180,6 +236,8 @@ public enum TollPass */ IN_LOCAL_HP_PLATE_EXEMPT(79), /** + * + * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -189,6 +247,8 @@ public enum TollPass
    */
   MX_IAVE(90),
   /**
+   *
+   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -198,6 +258,8 @@ public enum TollPass
    */
   MX_PASE(91),
   /**
+   *
+   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -207,6 +269,8 @@ public enum TollPass
    */
   MX_QUICKPASS(93),
   /**
+   *
+   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -215,6 +279,8 @@ public enum TollPass */ MX_SISTEMA_TELEPEAJE_CHIHUAHUA(89), /** + * + * *
    * Mexico
    * 
@@ -223,6 +289,8 @@ public enum TollPass */ MX_TAG_IAVE(12), /** + * + * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -232,6 +300,8 @@ public enum TollPass
    */
   MX_TAG_TELEVIA(13),
   /**
+   *
+   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -241,6 +311,8 @@ public enum TollPass
    */
   MX_TELEVIA(92),
   /**
+   *
+   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -250,6 +322,8 @@ public enum TollPass
    */
   MX_VIAPASS(14),
   /**
+   *
+   *
    * 
    * AL, USA.
    * 
@@ -258,6 +332,8 @@ public enum TollPass */ US_AL_FREEDOM_PASS(21), /** + * + * *
    * AK, USA.
    * 
@@ -266,6 +342,8 @@ public enum TollPass */ US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS(22), /** + * + * *
    * CA, USA.
    * 
@@ -274,6 +352,8 @@ public enum TollPass */ US_CA_FASTRAK(4), /** + * + * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -284,6 +364,8 @@ public enum TollPass
    */
   US_CA_FASTRAK_CAV_STICKER(86),
   /**
+   *
+   *
    * 
    * CO, USA.
    * 
@@ -292,6 +374,8 @@ public enum TollPass */ US_CO_EXPRESSTOLL(23), /** + * + * *
    * CO, USA.
    * 
@@ -300,6 +384,8 @@ public enum TollPass */ US_CO_GO_PASS(24), /** + * + * *
    * DE, USA.
    * 
@@ -308,6 +394,8 @@ public enum TollPass */ US_DE_EZPASSDE(25), /** + * + * *
    * FL, USA.
    * 
@@ -316,6 +404,8 @@ public enum TollPass */ US_FL_BOB_SIKES_TOLL_BRIDGE_PASS(65), /** + * + * *
    * FL, USA.
    * 
@@ -324,6 +414,8 @@ public enum TollPass */ US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD(66), /** + * + * *
    * FL, USA.
    * 
@@ -332,6 +424,8 @@ public enum TollPass */ US_FL_EPASS(67), /** + * + * *
    * FL, USA.
    * 
@@ -340,6 +434,8 @@ public enum TollPass */ US_FL_GIBA_TOLL_PASS(68), /** + * + * *
    * FL, USA.
    * 
@@ -348,6 +444,8 @@ public enum TollPass */ US_FL_LEEWAY(69), /** + * + * *
    * FL, USA.
    * 
@@ -356,6 +454,8 @@ public enum TollPass */ US_FL_SUNPASS(70), /** + * + * *
    * FL, USA.
    * 
@@ -364,6 +464,8 @@ public enum TollPass */ US_FL_SUNPASS_PRO(71), /** + * + * *
    * IL, USA.
    * 
@@ -372,6 +474,8 @@ public enum TollPass */ US_IL_EZPASSIL(73), /** + * + * *
    * IL, USA.
    * 
@@ -380,6 +484,8 @@ public enum TollPass */ US_IL_IPASS(72), /** + * + * *
    * IN, USA.
    * 
@@ -388,6 +494,8 @@ public enum TollPass */ US_IN_EZPASSIN(26), /** + * + * *
    * KS, USA.
    * 
@@ -396,6 +504,8 @@ public enum TollPass */ US_KS_BESTPASS_HORIZON(27), /** + * + * *
    * KS, USA.
    * 
@@ -404,6 +514,8 @@ public enum TollPass */ US_KS_KTAG(28), /** + * + * *
    * KS, USA.
    * 
@@ -412,6 +524,8 @@ public enum TollPass */ US_KS_NATIONALPASS(29), /** + * + * *
    * KS, USA.
    * 
@@ -420,6 +534,8 @@ public enum TollPass */ US_KS_PREPASS_ELITEPASS(30), /** + * + * *
    * KY, USA.
    * 
@@ -428,6 +544,8 @@ public enum TollPass */ US_KY_RIVERLINK(31), /** + * + * *
    * LA, USA.
    * 
@@ -436,6 +554,8 @@ public enum TollPass */ US_LA_GEAUXPASS(32), /** + * + * *
    * LA, USA.
    * 
@@ -444,6 +564,8 @@ public enum TollPass */ US_LA_TOLL_TAG(33), /** + * + * *
    * MA, USA.
    * 
@@ -452,6 +574,8 @@ public enum TollPass */ US_MA_EZPASSMA(6), /** + * + * *
    * MD, USA.
    * 
@@ -460,6 +584,8 @@ public enum TollPass */ US_MD_EZPASSMD(34), /** + * + * *
    * ME, USA.
    * 
@@ -468,6 +594,8 @@ public enum TollPass */ US_ME_EZPASSME(35), /** + * + * *
    * MI, USA.
    * 
@@ -476,6 +604,8 @@ public enum TollPass */ US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD(36), /** + * + * *
    * MI, USA.
    * 
@@ -484,6 +614,8 @@ public enum TollPass */ US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG(37), /** + * + * *
    * MI, USA.
    * 
@@ -492,6 +624,8 @@ public enum TollPass */ US_MI_IQ_PROX_CARD(38), /** + * + * *
    * MI, USA.
    * 
@@ -500,6 +634,8 @@ public enum TollPass */ US_MI_MACKINAC_BRIDGE_MAC_PASS(39), /** + * + * *
    * MI, USA.
    * 
@@ -508,6 +644,8 @@ public enum TollPass */ US_MI_NEXPRESS_TOLL(40), /** + * + * *
    * MN, USA.
    * 
@@ -516,6 +654,8 @@ public enum TollPass */ US_MN_EZPASSMN(41), /** + * + * *
    * NC, USA.
    * 
@@ -524,6 +664,8 @@ public enum TollPass */ US_NC_EZPASSNC(42), /** + * + * *
    * NC, USA.
    * 
@@ -532,6 +674,8 @@ public enum TollPass */ US_NC_PEACH_PASS(87), /** + * + * *
    * NC, USA.
    * 
@@ -540,6 +684,8 @@ public enum TollPass */ US_NC_QUICK_PASS(43), /** + * + * *
    * NH, USA.
    * 
@@ -548,6 +694,8 @@ public enum TollPass */ US_NH_EZPASSNH(80), /** + * + * *
    * NJ, USA.
    * 
@@ -556,6 +704,8 @@ public enum TollPass */ US_NJ_DOWNBEACH_EXPRESS_PASS(75), /** + * + * *
    * NJ, USA.
    * 
@@ -564,6 +714,8 @@ public enum TollPass */ US_NJ_EZPASSNJ(74), /** + * + * *
    * NY, USA.
    * 
@@ -572,6 +724,8 @@ public enum TollPass */ US_NY_EXPRESSPASS(76), /** + * + * *
    * NY, USA.
    * 
@@ -580,6 +734,8 @@ public enum TollPass */ US_NY_EZPASSNY(77), /** + * + * *
    * OH, USA.
    * 
@@ -588,6 +744,8 @@ public enum TollPass */ US_OH_EZPASSOH(44), /** + * + * *
    * PA, USA.
    * 
@@ -596,6 +754,8 @@ public enum TollPass */ US_PA_EZPASSPA(45), /** + * + * *
    * RI, USA.
    * 
@@ -604,6 +764,8 @@ public enum TollPass */ US_RI_EZPASSRI(46), /** + * + * *
    * SC, USA.
    * 
@@ -612,6 +774,8 @@ public enum TollPass */ US_SC_PALPASS(47), /** + * + * *
    * TX, USA.
    * 
@@ -620,6 +784,8 @@ public enum TollPass */ US_TX_BANCPASS(48), /** + * + * *
    * TX, USA.
    * 
@@ -628,6 +794,8 @@ public enum TollPass */ US_TX_DEL_RIO_PASS(49), /** + * + * *
    * TX, USA.
    * 
@@ -636,6 +804,8 @@ public enum TollPass */ US_TX_EFAST_PASS(50), /** + * + * *
    * TX, USA.
    * 
@@ -644,6 +814,8 @@ public enum TollPass */ US_TX_EAGLE_PASS_EXPRESS_CARD(51), /** + * + * *
    * TX, USA.
    * 
@@ -652,6 +824,8 @@ public enum TollPass */ US_TX_EPTOLL(52), /** + * + * *
    * TX, USA.
    * 
@@ -660,6 +834,8 @@ public enum TollPass */ US_TX_EZ_CROSS(53), /** + * + * *
    * TX, USA.
    * 
@@ -668,6 +844,8 @@ public enum TollPass */ US_TX_EZTAG(54), /** + * + * *
    * TX, USA.
    * 
@@ -676,6 +854,8 @@ public enum TollPass */ US_TX_LAREDO_TRADE_TAG(55), /** + * + * *
    * TX, USA.
    * 
@@ -684,6 +864,8 @@ public enum TollPass */ US_TX_PLUSPASS(56), /** + * + * *
    * TX, USA.
    * 
@@ -692,6 +874,8 @@ public enum TollPass */ US_TX_TOLLTAG(57), /** + * + * *
    * TX, USA.
    * 
@@ -700,6 +884,8 @@ public enum TollPass */ US_TX_TXTAG(58), /** + * + * *
    * TX, USA.
    * 
@@ -708,6 +894,8 @@ public enum TollPass */ US_TX_XPRESS_CARD(59), /** + * + * *
    * UT, USA.
    * 
@@ -716,6 +904,8 @@ public enum TollPass */ US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD(60), /** + * + * *
    * VA, USA.
    * 
@@ -724,6 +914,8 @@ public enum TollPass */ US_VA_EZPASSVA(61), /** + * + * *
    * WA, USA.
    * 
@@ -732,6 +924,8 @@ public enum TollPass */ US_WA_BREEZEBY(17), /** + * + * *
    * WA, USA.
    * 
@@ -740,6 +934,8 @@ public enum TollPass */ US_WA_GOOD_TO_GO(1), /** + * + * *
    * WV, USA.
    * 
@@ -748,6 +944,8 @@ public enum TollPass */ US_WV_EZPASSWV(62), /** + * + * *
    * WV, USA.
    * 
@@ -756,6 +954,8 @@ public enum TollPass */ US_WV_MEMORIAL_BRIDGE_TICKETS(63), /** + * + * *
    * WV, USA.
    * 
@@ -767,6 +967,8 @@ public enum TollPass ; /** + * + * *
    * Not used. If this value is used, then the request fails.
    * 
@@ -775,6 +977,8 @@ public enum TollPass */ public static final int TOLL_PASS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Sydney toll pass. See additional details at https://www.myetoll.com.au.
    * 
@@ -783,6 +987,8 @@ public enum TollPass */ public static final int AU_ETOLL_TAG_VALUE = 82; /** + * + * *
    * Sydney toll pass. See additional details at https://www.tollpay.com.au.
    * 
@@ -791,6 +997,8 @@ public enum TollPass */ public static final int AU_EWAY_TAG_VALUE = 83; /** + * + * *
    * Australia-wide toll pass.
    * See additional details at https://www.linkt.com.au/.
@@ -800,6 +1008,8 @@ public enum TollPass
    */
   public static final int AU_LINKT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Argentina toll pass. See additional details at https://telepase.com.ar
    * 
@@ -808,6 +1018,8 @@ public enum TollPass */ public static final int AR_TELEPASE_VALUE = 3; /** + * + * *
    * Brazil toll pass. See additional details at https://www.autoexpreso.com
    * 
@@ -816,6 +1028,8 @@ public enum TollPass */ public static final int BR_AUTO_EXPRESO_VALUE = 81; /** + * + * *
    * Brazil toll pass. See additional details at https://conectcar.com.
    * 
@@ -824,6 +1038,8 @@ public enum TollPass */ public static final int BR_CONECTCAR_VALUE = 7; /** + * + * *
    * Brazil toll pass. See additional details at https://movemais.com.
    * 
@@ -832,6 +1048,8 @@ public enum TollPass */ public static final int BR_MOVE_MAIS_VALUE = 8; /** + * + * *
    * Brazil toll pass. See additional details at https://pasorapido.gob.do/
    * 
@@ -840,6 +1058,8 @@ public enum TollPass */ public static final int BR_PASSA_RAPIDO_VALUE = 88; /** + * + * *
    * Brazil toll pass. See additional details at https://www.semparar.com.br.
    * 
@@ -848,6 +1068,8 @@ public enum TollPass */ public static final int BR_SEM_PARAR_VALUE = 9; /** + * + * *
    * Brazil toll pass. See additional details at https://taggy.com.br.
    * 
@@ -856,6 +1078,8 @@ public enum TollPass */ public static final int BR_TAGGY_VALUE = 10; /** + * + * *
    * Brazil toll pass. See additional details at
    * https://veloe.com.br/site/onde-usar.
@@ -865,6 +1089,8 @@ public enum TollPass
    */
   public static final int BR_VELOE_VALUE = 11;
   /**
+   *
+   *
    * 
    * Canada to United States border crossing.
    * 
@@ -873,6 +1099,8 @@ public enum TollPass */ public static final int CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD_VALUE = 84; /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -881,6 +1109,8 @@ public enum TollPass */ public static final int CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD_VALUE = 85; /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -889,6 +1119,8 @@ public enum TollPass */ public static final int CA_US_BLUE_WATER_EDGE_PASS_VALUE = 18; /** + * + * *
    * Ontario, Canada to Michigan, United States border crossing.
    * 
@@ -897,6 +1129,8 @@ public enum TollPass */ public static final int CA_US_CONNEXION_VALUE = 19; /** + * + * *
    * Canada to United States border crossing.
    * 
@@ -905,6 +1139,8 @@ public enum TollPass */ public static final int CA_US_NEXUS_CARD_VALUE = 20; /** + * + * *
    * Indonesia.
    * E-card provided by multiple banks used to pay for tolls. All e-cards
@@ -918,6 +1154,8 @@ public enum TollPass
    */
   public static final int ID_E_TOLL_VALUE = 16;
   /**
+   *
+   *
    * 
    * India.
    * 
@@ -926,6 +1164,8 @@ public enum TollPass */ public static final int IN_FASTAG_VALUE = 78; /** + * + * *
    * India, HP state plate exemption.
    * 
@@ -934,6 +1174,8 @@ public enum TollPass */ public static final int IN_LOCAL_HP_PLATE_EXEMPT_VALUE = 79; /** + * + * *
    * Mexico toll pass.
    * https://iave.capufe.gob.mx/#/
@@ -943,6 +1185,8 @@ public enum TollPass
    */
   public static final int MX_IAVE_VALUE = 90;
   /**
+   *
+   *
    * 
    * Mexico
    * https://www.pase.com.mx
@@ -952,6 +1196,8 @@ public enum TollPass
    */
   public static final int MX_PASE_VALUE = 91;
   /**
+   *
+   *
    * 
    * Mexico
    *  https://operadoravial.com/quick-pass/
@@ -961,6 +1207,8 @@ public enum TollPass
    */
   public static final int MX_QUICKPASS_VALUE = 93;
   /**
+   *
+   *
    * 
    * http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf
    * 
@@ -969,6 +1217,8 @@ public enum TollPass */ public static final int MX_SISTEMA_TELEPEAJE_CHIHUAHUA_VALUE = 89; /** + * + * *
    * Mexico
    * 
@@ -977,6 +1227,8 @@ public enum TollPass */ public static final int MX_TAG_IAVE_VALUE = 12; /** + * + * *
    * Mexico toll pass company. One of many operating in Mexico City. See
    * additional details at https://www.televia.com.mx.
@@ -986,6 +1238,8 @@ public enum TollPass
    */
   public static final int MX_TAG_TELEVIA_VALUE = 13;
   /**
+   *
+   *
    * 
    * Mexico toll pass company. One of many operating in Mexico City.
    * https://www.televia.com.mx
@@ -995,6 +1249,8 @@ public enum TollPass
    */
   public static final int MX_TELEVIA_VALUE = 92;
   /**
+   *
+   *
    * 
    * Mexico toll pass. See additional details at
    * https://www.viapass.com.mx/viapass/web_home.aspx.
@@ -1004,6 +1260,8 @@ public enum TollPass
    */
   public static final int MX_VIAPASS_VALUE = 14;
   /**
+   *
+   *
    * 
    * AL, USA.
    * 
@@ -1012,6 +1270,8 @@ public enum TollPass */ public static final int US_AL_FREEDOM_PASS_VALUE = 21; /** + * + * *
    * AK, USA.
    * 
@@ -1020,6 +1280,8 @@ public enum TollPass */ public static final int US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS_VALUE = 22; /** + * + * *
    * CA, USA.
    * 
@@ -1028,6 +1290,8 @@ public enum TollPass */ public static final int US_CA_FASTRAK_VALUE = 4; /** + * + * *
    * Indicates driver has any FasTrak pass in addition to the DMV issued Clean
    * Air Vehicle (CAV) sticker.
@@ -1038,6 +1302,8 @@ public enum TollPass
    */
   public static final int US_CA_FASTRAK_CAV_STICKER_VALUE = 86;
   /**
+   *
+   *
    * 
    * CO, USA.
    * 
@@ -1046,6 +1312,8 @@ public enum TollPass */ public static final int US_CO_EXPRESSTOLL_VALUE = 23; /** + * + * *
    * CO, USA.
    * 
@@ -1054,6 +1322,8 @@ public enum TollPass */ public static final int US_CO_GO_PASS_VALUE = 24; /** + * + * *
    * DE, USA.
    * 
@@ -1062,6 +1332,8 @@ public enum TollPass */ public static final int US_DE_EZPASSDE_VALUE = 25; /** + * + * *
    * FL, USA.
    * 
@@ -1070,6 +1342,8 @@ public enum TollPass */ public static final int US_FL_BOB_SIKES_TOLL_BRIDGE_PASS_VALUE = 65; /** + * + * *
    * FL, USA.
    * 
@@ -1078,6 +1352,8 @@ public enum TollPass */ public static final int US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD_VALUE = 66; /** + * + * *
    * FL, USA.
    * 
@@ -1086,6 +1362,8 @@ public enum TollPass */ public static final int US_FL_EPASS_VALUE = 67; /** + * + * *
    * FL, USA.
    * 
@@ -1094,6 +1372,8 @@ public enum TollPass */ public static final int US_FL_GIBA_TOLL_PASS_VALUE = 68; /** + * + * *
    * FL, USA.
    * 
@@ -1102,6 +1382,8 @@ public enum TollPass */ public static final int US_FL_LEEWAY_VALUE = 69; /** + * + * *
    * FL, USA.
    * 
@@ -1110,6 +1392,8 @@ public enum TollPass */ public static final int US_FL_SUNPASS_VALUE = 70; /** + * + * *
    * FL, USA.
    * 
@@ -1118,6 +1402,8 @@ public enum TollPass */ public static final int US_FL_SUNPASS_PRO_VALUE = 71; /** + * + * *
    * IL, USA.
    * 
@@ -1126,6 +1412,8 @@ public enum TollPass */ public static final int US_IL_EZPASSIL_VALUE = 73; /** + * + * *
    * IL, USA.
    * 
@@ -1134,6 +1422,8 @@ public enum TollPass */ public static final int US_IL_IPASS_VALUE = 72; /** + * + * *
    * IN, USA.
    * 
@@ -1142,6 +1432,8 @@ public enum TollPass */ public static final int US_IN_EZPASSIN_VALUE = 26; /** + * + * *
    * KS, USA.
    * 
@@ -1150,6 +1442,8 @@ public enum TollPass */ public static final int US_KS_BESTPASS_HORIZON_VALUE = 27; /** + * + * *
    * KS, USA.
    * 
@@ -1158,6 +1452,8 @@ public enum TollPass */ public static final int US_KS_KTAG_VALUE = 28; /** + * + * *
    * KS, USA.
    * 
@@ -1166,6 +1462,8 @@ public enum TollPass */ public static final int US_KS_NATIONALPASS_VALUE = 29; /** + * + * *
    * KS, USA.
    * 
@@ -1174,6 +1472,8 @@ public enum TollPass */ public static final int US_KS_PREPASS_ELITEPASS_VALUE = 30; /** + * + * *
    * KY, USA.
    * 
@@ -1182,6 +1482,8 @@ public enum TollPass */ public static final int US_KY_RIVERLINK_VALUE = 31; /** + * + * *
    * LA, USA.
    * 
@@ -1190,6 +1492,8 @@ public enum TollPass */ public static final int US_LA_GEAUXPASS_VALUE = 32; /** + * + * *
    * LA, USA.
    * 
@@ -1198,6 +1502,8 @@ public enum TollPass */ public static final int US_LA_TOLL_TAG_VALUE = 33; /** + * + * *
    * MA, USA.
    * 
@@ -1206,6 +1512,8 @@ public enum TollPass */ public static final int US_MA_EZPASSMA_VALUE = 6; /** + * + * *
    * MD, USA.
    * 
@@ -1214,6 +1522,8 @@ public enum TollPass */ public static final int US_MD_EZPASSMD_VALUE = 34; /** + * + * *
    * ME, USA.
    * 
@@ -1222,6 +1532,8 @@ public enum TollPass */ public static final int US_ME_EZPASSME_VALUE = 35; /** + * + * *
    * MI, USA.
    * 
@@ -1230,6 +1542,8 @@ public enum TollPass */ public static final int US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD_VALUE = 36; /** + * + * *
    * MI, USA.
    * 
@@ -1238,6 +1552,8 @@ public enum TollPass */ public static final int US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG_VALUE = 37; /** + * + * *
    * MI, USA.
    * 
@@ -1246,6 +1562,8 @@ public enum TollPass */ public static final int US_MI_IQ_PROX_CARD_VALUE = 38; /** + * + * *
    * MI, USA.
    * 
@@ -1254,6 +1572,8 @@ public enum TollPass */ public static final int US_MI_MACKINAC_BRIDGE_MAC_PASS_VALUE = 39; /** + * + * *
    * MI, USA.
    * 
@@ -1262,6 +1582,8 @@ public enum TollPass */ public static final int US_MI_NEXPRESS_TOLL_VALUE = 40; /** + * + * *
    * MN, USA.
    * 
@@ -1270,6 +1592,8 @@ public enum TollPass */ public static final int US_MN_EZPASSMN_VALUE = 41; /** + * + * *
    * NC, USA.
    * 
@@ -1278,6 +1602,8 @@ public enum TollPass */ public static final int US_NC_EZPASSNC_VALUE = 42; /** + * + * *
    * NC, USA.
    * 
@@ -1286,6 +1612,8 @@ public enum TollPass */ public static final int US_NC_PEACH_PASS_VALUE = 87; /** + * + * *
    * NC, USA.
    * 
@@ -1294,6 +1622,8 @@ public enum TollPass */ public static final int US_NC_QUICK_PASS_VALUE = 43; /** + * + * *
    * NH, USA.
    * 
@@ -1302,6 +1632,8 @@ public enum TollPass */ public static final int US_NH_EZPASSNH_VALUE = 80; /** + * + * *
    * NJ, USA.
    * 
@@ -1310,6 +1642,8 @@ public enum TollPass */ public static final int US_NJ_DOWNBEACH_EXPRESS_PASS_VALUE = 75; /** + * + * *
    * NJ, USA.
    * 
@@ -1318,6 +1652,8 @@ public enum TollPass */ public static final int US_NJ_EZPASSNJ_VALUE = 74; /** + * + * *
    * NY, USA.
    * 
@@ -1326,6 +1662,8 @@ public enum TollPass */ public static final int US_NY_EXPRESSPASS_VALUE = 76; /** + * + * *
    * NY, USA.
    * 
@@ -1334,6 +1672,8 @@ public enum TollPass */ public static final int US_NY_EZPASSNY_VALUE = 77; /** + * + * *
    * OH, USA.
    * 
@@ -1342,6 +1682,8 @@ public enum TollPass */ public static final int US_OH_EZPASSOH_VALUE = 44; /** + * + * *
    * PA, USA.
    * 
@@ -1350,6 +1692,8 @@ public enum TollPass */ public static final int US_PA_EZPASSPA_VALUE = 45; /** + * + * *
    * RI, USA.
    * 
@@ -1358,6 +1702,8 @@ public enum TollPass */ public static final int US_RI_EZPASSRI_VALUE = 46; /** + * + * *
    * SC, USA.
    * 
@@ -1366,6 +1712,8 @@ public enum TollPass */ public static final int US_SC_PALPASS_VALUE = 47; /** + * + * *
    * TX, USA.
    * 
@@ -1374,6 +1722,8 @@ public enum TollPass */ public static final int US_TX_BANCPASS_VALUE = 48; /** + * + * *
    * TX, USA.
    * 
@@ -1382,6 +1732,8 @@ public enum TollPass */ public static final int US_TX_DEL_RIO_PASS_VALUE = 49; /** + * + * *
    * TX, USA.
    * 
@@ -1390,6 +1742,8 @@ public enum TollPass */ public static final int US_TX_EFAST_PASS_VALUE = 50; /** + * + * *
    * TX, USA.
    * 
@@ -1398,6 +1752,8 @@ public enum TollPass */ public static final int US_TX_EAGLE_PASS_EXPRESS_CARD_VALUE = 51; /** + * + * *
    * TX, USA.
    * 
@@ -1406,6 +1762,8 @@ public enum TollPass */ public static final int US_TX_EPTOLL_VALUE = 52; /** + * + * *
    * TX, USA.
    * 
@@ -1414,6 +1772,8 @@ public enum TollPass */ public static final int US_TX_EZ_CROSS_VALUE = 53; /** + * + * *
    * TX, USA.
    * 
@@ -1422,6 +1782,8 @@ public enum TollPass */ public static final int US_TX_EZTAG_VALUE = 54; /** + * + * *
    * TX, USA.
    * 
@@ -1430,6 +1792,8 @@ public enum TollPass */ public static final int US_TX_LAREDO_TRADE_TAG_VALUE = 55; /** + * + * *
    * TX, USA.
    * 
@@ -1438,6 +1802,8 @@ public enum TollPass */ public static final int US_TX_PLUSPASS_VALUE = 56; /** + * + * *
    * TX, USA.
    * 
@@ -1446,6 +1812,8 @@ public enum TollPass */ public static final int US_TX_TOLLTAG_VALUE = 57; /** + * + * *
    * TX, USA.
    * 
@@ -1454,6 +1822,8 @@ public enum TollPass */ public static final int US_TX_TXTAG_VALUE = 58; /** + * + * *
    * TX, USA.
    * 
@@ -1462,6 +1832,8 @@ public enum TollPass */ public static final int US_TX_XPRESS_CARD_VALUE = 59; /** + * + * *
    * UT, USA.
    * 
@@ -1470,6 +1842,8 @@ public enum TollPass */ public static final int US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD_VALUE = 60; /** + * + * *
    * VA, USA.
    * 
@@ -1478,6 +1852,8 @@ public enum TollPass */ public static final int US_VA_EZPASSVA_VALUE = 61; /** + * + * *
    * WA, USA.
    * 
@@ -1486,6 +1862,8 @@ public enum TollPass */ public static final int US_WA_BREEZEBY_VALUE = 17; /** + * + * *
    * WA, USA.
    * 
@@ -1494,6 +1872,8 @@ public enum TollPass */ public static final int US_WA_GOOD_TO_GO_VALUE = 1; /** + * + * *
    * WV, USA.
    * 
@@ -1502,6 +1882,8 @@ public enum TollPass */ public static final int US_WV_EZPASSWV_VALUE = 62; /** + * + * *
    * WV, USA.
    * 
@@ -1510,6 +1892,8 @@ public enum TollPass */ public static final int US_WV_MEMORIAL_BRIDGE_TICKETS_VALUE = 63; /** + * + * *
    * WV, USA.
    * 
@@ -1518,7 +1902,6 @@ public enum TollPass */ public static final int US_WV_NEWELL_TOLL_BRIDGE_TICKET_VALUE = 64; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1543,138 +1926,227 @@ public static TollPass valueOf(int value) { */ public static TollPass forNumber(int value) { switch (value) { - case 0: return TOLL_PASS_UNSPECIFIED; - case 82: return AU_ETOLL_TAG; - case 83: return AU_EWAY_TAG; - case 2: return AU_LINKT; - case 3: return AR_TELEPASE; - case 81: return BR_AUTO_EXPRESO; - case 7: return BR_CONECTCAR; - case 8: return BR_MOVE_MAIS; - case 88: return BR_PASSA_RAPIDO; - case 9: return BR_SEM_PARAR; - case 10: return BR_TAGGY; - case 11: return BR_VELOE; - case 84: return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; - case 85: return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; - case 18: return CA_US_BLUE_WATER_EDGE_PASS; - case 19: return CA_US_CONNEXION; - case 20: return CA_US_NEXUS_CARD; - case 16: return ID_E_TOLL; - case 78: return IN_FASTAG; - case 79: return IN_LOCAL_HP_PLATE_EXEMPT; - case 90: return MX_IAVE; - case 91: return MX_PASE; - case 93: return MX_QUICKPASS; - case 89: return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; - case 12: return MX_TAG_IAVE; - case 13: return MX_TAG_TELEVIA; - case 92: return MX_TELEVIA; - case 14: return MX_VIAPASS; - case 21: return US_AL_FREEDOM_PASS; - case 22: return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; - case 4: return US_CA_FASTRAK; - case 86: return US_CA_FASTRAK_CAV_STICKER; - case 23: return US_CO_EXPRESSTOLL; - case 24: return US_CO_GO_PASS; - case 25: return US_DE_EZPASSDE; - case 65: return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; - case 66: return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; - case 67: return US_FL_EPASS; - case 68: return US_FL_GIBA_TOLL_PASS; - case 69: return US_FL_LEEWAY; - case 70: return US_FL_SUNPASS; - case 71: return US_FL_SUNPASS_PRO; - case 73: return US_IL_EZPASSIL; - case 72: return US_IL_IPASS; - case 26: return US_IN_EZPASSIN; - case 27: return US_KS_BESTPASS_HORIZON; - case 28: return US_KS_KTAG; - case 29: return US_KS_NATIONALPASS; - case 30: return US_KS_PREPASS_ELITEPASS; - case 31: return US_KY_RIVERLINK; - case 32: return US_LA_GEAUXPASS; - case 33: return US_LA_TOLL_TAG; - case 6: return US_MA_EZPASSMA; - case 34: return US_MD_EZPASSMD; - case 35: return US_ME_EZPASSME; - case 36: return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; - case 37: return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; - case 38: return US_MI_IQ_PROX_CARD; - case 39: return US_MI_MACKINAC_BRIDGE_MAC_PASS; - case 40: return US_MI_NEXPRESS_TOLL; - case 41: return US_MN_EZPASSMN; - case 42: return US_NC_EZPASSNC; - case 87: return US_NC_PEACH_PASS; - case 43: return US_NC_QUICK_PASS; - case 80: return US_NH_EZPASSNH; - case 75: return US_NJ_DOWNBEACH_EXPRESS_PASS; - case 74: return US_NJ_EZPASSNJ; - case 76: return US_NY_EXPRESSPASS; - case 77: return US_NY_EZPASSNY; - case 44: return US_OH_EZPASSOH; - case 45: return US_PA_EZPASSPA; - case 46: return US_RI_EZPASSRI; - case 47: return US_SC_PALPASS; - case 48: return US_TX_BANCPASS; - case 49: return US_TX_DEL_RIO_PASS; - case 50: return US_TX_EFAST_PASS; - case 51: return US_TX_EAGLE_PASS_EXPRESS_CARD; - case 52: return US_TX_EPTOLL; - case 53: return US_TX_EZ_CROSS; - case 54: return US_TX_EZTAG; - case 55: return US_TX_LAREDO_TRADE_TAG; - case 56: return US_TX_PLUSPASS; - case 57: return US_TX_TOLLTAG; - case 58: return US_TX_TXTAG; - case 59: return US_TX_XPRESS_CARD; - case 60: return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; - case 61: return US_VA_EZPASSVA; - case 17: return US_WA_BREEZEBY; - case 1: return US_WA_GOOD_TO_GO; - case 62: return US_WV_EZPASSWV; - case 63: return US_WV_MEMORIAL_BRIDGE_TICKETS; - case 64: return US_WV_NEWELL_TOLL_BRIDGE_TICKET; - default: return null; + case 0: + return TOLL_PASS_UNSPECIFIED; + case 82: + return AU_ETOLL_TAG; + case 83: + return AU_EWAY_TAG; + case 2: + return AU_LINKT; + case 3: + return AR_TELEPASE; + case 81: + return BR_AUTO_EXPRESO; + case 7: + return BR_CONECTCAR; + case 8: + return BR_MOVE_MAIS; + case 88: + return BR_PASSA_RAPIDO; + case 9: + return BR_SEM_PARAR; + case 10: + return BR_TAGGY; + case 11: + return BR_VELOE; + case 84: + return CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD; + case 85: + return CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD; + case 18: + return CA_US_BLUE_WATER_EDGE_PASS; + case 19: + return CA_US_CONNEXION; + case 20: + return CA_US_NEXUS_CARD; + case 16: + return ID_E_TOLL; + case 78: + return IN_FASTAG; + case 79: + return IN_LOCAL_HP_PLATE_EXEMPT; + case 90: + return MX_IAVE; + case 91: + return MX_PASE; + case 93: + return MX_QUICKPASS; + case 89: + return MX_SISTEMA_TELEPEAJE_CHIHUAHUA; + case 12: + return MX_TAG_IAVE; + case 13: + return MX_TAG_TELEVIA; + case 92: + return MX_TELEVIA; + case 14: + return MX_VIAPASS; + case 21: + return US_AL_FREEDOM_PASS; + case 22: + return US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS; + case 4: + return US_CA_FASTRAK; + case 86: + return US_CA_FASTRAK_CAV_STICKER; + case 23: + return US_CO_EXPRESSTOLL; + case 24: + return US_CO_GO_PASS; + case 25: + return US_DE_EZPASSDE; + case 65: + return US_FL_BOB_SIKES_TOLL_BRIDGE_PASS; + case 66: + return US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD; + case 67: + return US_FL_EPASS; + case 68: + return US_FL_GIBA_TOLL_PASS; + case 69: + return US_FL_LEEWAY; + case 70: + return US_FL_SUNPASS; + case 71: + return US_FL_SUNPASS_PRO; + case 73: + return US_IL_EZPASSIL; + case 72: + return US_IL_IPASS; + case 26: + return US_IN_EZPASSIN; + case 27: + return US_KS_BESTPASS_HORIZON; + case 28: + return US_KS_KTAG; + case 29: + return US_KS_NATIONALPASS; + case 30: + return US_KS_PREPASS_ELITEPASS; + case 31: + return US_KY_RIVERLINK; + case 32: + return US_LA_GEAUXPASS; + case 33: + return US_LA_TOLL_TAG; + case 6: + return US_MA_EZPASSMA; + case 34: + return US_MD_EZPASSMD; + case 35: + return US_ME_EZPASSME; + case 36: + return US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD; + case 37: + return US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG; + case 38: + return US_MI_IQ_PROX_CARD; + case 39: + return US_MI_MACKINAC_BRIDGE_MAC_PASS; + case 40: + return US_MI_NEXPRESS_TOLL; + case 41: + return US_MN_EZPASSMN; + case 42: + return US_NC_EZPASSNC; + case 87: + return US_NC_PEACH_PASS; + case 43: + return US_NC_QUICK_PASS; + case 80: + return US_NH_EZPASSNH; + case 75: + return US_NJ_DOWNBEACH_EXPRESS_PASS; + case 74: + return US_NJ_EZPASSNJ; + case 76: + return US_NY_EXPRESSPASS; + case 77: + return US_NY_EZPASSNY; + case 44: + return US_OH_EZPASSOH; + case 45: + return US_PA_EZPASSPA; + case 46: + return US_RI_EZPASSRI; + case 47: + return US_SC_PALPASS; + case 48: + return US_TX_BANCPASS; + case 49: + return US_TX_DEL_RIO_PASS; + case 50: + return US_TX_EFAST_PASS; + case 51: + return US_TX_EAGLE_PASS_EXPRESS_CARD; + case 52: + return US_TX_EPTOLL; + case 53: + return US_TX_EZ_CROSS; + case 54: + return US_TX_EZTAG; + case 55: + return US_TX_LAREDO_TRADE_TAG; + case 56: + return US_TX_PLUSPASS; + case 57: + return US_TX_TOLLTAG; + case 58: + return US_TX_TXTAG; + case 59: + return US_TX_XPRESS_CARD; + case 60: + return US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD; + case 61: + return US_VA_EZPASSVA; + case 17: + return US_WA_BREEZEBY; + case 1: + return US_WA_GOOD_TO_GO; + case 62: + return US_WV_EZPASSWV; + case 63: + return US_WV_MEMORIAL_BRIDGE_TICKETS; + case 64: + return US_WV_NEWELL_TOLL_BRIDGE_TICKET; + 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< - TollPass> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TollPass findValueByNumber(int number) { - return TollPass.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 TollPass findValueByNumber(int number) { + return TollPass.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.routing.v2.TollPassesProto.getDescriptor().getEnumTypes().get(0); } private static final TollPass[] VALUES = values(); - public static TollPass valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TollPass 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; @@ -1690,4 +2162,3 @@ private TollPass(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.TollPass) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java new file mode 100644 index 000000000000..c2008ea40f54 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java @@ -0,0 +1,107 @@ +/* + * 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/routing/v2/toll_passes.proto + +package com.google.maps.routing.v2; + +public final class TollPassesProto { + private TollPassesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/toll_passes.pro" + + "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + + "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + + "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + + "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + + "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + + "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + + "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + + "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + + "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + + "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + + "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + + "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + + "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + + "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + + "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + + "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + + "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + + "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + + "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + + "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + + "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + + "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + + "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + + "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + + "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + + "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + + "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + + "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + + "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + + "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + + "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + + "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + + "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + + "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + + "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + + "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + + "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + + "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + + "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + + "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + + "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + + "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + + "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + + "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + + "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + + "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + + "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + + "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + + "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + + "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + + "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + + "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + + "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + + "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + + "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + + "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + + "ollPassesProtoP\001Z=google.golang.org/genp" + + "roto/googleapis/maps/routing/v2;routing\370" + + "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + + "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + + "ting::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java similarity index 66% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java index cdb7fcb40100..1b67a78379a8 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Units.java @@ -1,18 +1,36 @@ +/* + * 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/routing/v2/units.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values that specify the unit of measure used in the display.
  * 
* * Protobuf enum {@code google.maps.routing.v2.Units} */ -public enum Units - implements com.google.protobuf.ProtocolMessageEnum { +public enum Units implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -22,6 +40,8 @@ public enum Units
    */
   UNITS_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Metric units of measure.
    * 
@@ -30,6 +50,8 @@ public enum Units */ METRIC(1), /** + * + * *
    * Imperial (English) units of measure.
    * 
@@ -41,6 +63,8 @@ public enum Units ; /** + * + * *
    * Units of measure not specified. Defaults to the unit of measure inferred
    * from the request.
@@ -50,6 +74,8 @@ public enum Units
    */
   public static final int UNITS_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Metric units of measure.
    * 
@@ -58,6 +84,8 @@ public enum Units */ public static final int METRIC_VALUE = 1; /** + * + * *
    * Imperial (English) units of measure.
    * 
@@ -66,7 +94,6 @@ public enum Units */ public static final int IMPERIAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -91,49 +118,49 @@ public static Units valueOf(int value) { */ public static Units forNumber(int value) { switch (value) { - case 0: return UNITS_UNSPECIFIED; - case 1: return METRIC; - case 2: return IMPERIAL; - default: return null; + case 0: + return UNITS_UNSPECIFIED; + case 1: + return METRIC; + case 2: + return IMPERIAL; + 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< - Units> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Units findValueByNumber(int number) { - return Units.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 Units findValueByNumber(int number) { + return Units.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.routing.v2.UnitsProto.getDescriptor().getEnumTypes().get(0); } private static final Units[] VALUES = values(); - public static Units valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Units 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; @@ -149,4 +176,3 @@ private Units(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.Units) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java new file mode 100644 index 000000000000..cc81ec25ded8 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java @@ -0,0 +1,54 @@ +/* + * 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/routing/v2/units.proto + +package com.google.maps.routing.v2; + +public final class UnitsProto { + private UnitsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + 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/routing/v2/units.proto\022\026go" + + "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + + "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + + "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + + "oP\001Z=google.golang.org/genproto/googleap" + + "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + + "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + + "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java similarity index 70% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java index ecf3a8c3a540..803f9265f976 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionType.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/routing/v2/vehicle_emission_type.proto package com.google.maps.routing.v2; /** + * + * *
  * A set of values describing the vehicle's emission type.
  * Applies only to the DRIVE travel mode.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.maps.routing.v2.VehicleEmissionType}
  */
-public enum VehicleEmissionType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VehicleEmissionType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * No emission type specified. Default to GASOLINE.
    * 
@@ -22,6 +40,8 @@ public enum VehicleEmissionType */ VEHICLE_EMISSION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -30,6 +50,8 @@ public enum VehicleEmissionType */ GASOLINE(1), /** + * + * *
    * Electricity powered vehicle.
    * 
@@ -38,6 +60,8 @@ public enum VehicleEmissionType */ ELECTRIC(2), /** + * + * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -46,6 +70,8 @@ public enum VehicleEmissionType */ HYBRID(3), /** + * + * *
    * Diesel fueled vehicle.
    * 
@@ -57,6 +83,8 @@ public enum VehicleEmissionType ; /** + * + * *
    * No emission type specified. Default to GASOLINE.
    * 
@@ -65,6 +93,8 @@ public enum VehicleEmissionType */ public static final int VEHICLE_EMISSION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Gasoline/petrol fueled vehicle.
    * 
@@ -73,6 +103,8 @@ public enum VehicleEmissionType */ public static final int GASOLINE_VALUE = 1; /** + * + * *
    * Electricity powered vehicle.
    * 
@@ -81,6 +113,8 @@ public enum VehicleEmissionType */ public static final int ELECTRIC_VALUE = 2; /** + * + * *
    * Hybrid fuel (such as gasoline + electric) vehicle.
    * 
@@ -89,6 +123,8 @@ public enum VehicleEmissionType */ public static final int HYBRID_VALUE = 3; /** + * + * *
    * Diesel fueled vehicle.
    * 
@@ -97,7 +133,6 @@ public enum VehicleEmissionType */ public static final int DIESEL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,12 +157,18 @@ public static VehicleEmissionType valueOf(int value) { */ public static VehicleEmissionType forNumber(int value) { switch (value) { - case 0: return VEHICLE_EMISSION_TYPE_UNSPECIFIED; - case 1: return GASOLINE; - case 2: return ELECTRIC; - case 3: return HYBRID; - case 4: return DIESEL; - default: return null; + case 0: + return VEHICLE_EMISSION_TYPE_UNSPECIFIED; + case 1: + return GASOLINE; + case 2: + return ELECTRIC; + case 3: + return HYBRID; + case 4: + return DIESEL; + default: + return null; } } @@ -135,29 +176,31 @@ public static VehicleEmissionType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - VehicleEmissionType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VehicleEmissionType findValueByNumber(int number) { - return VehicleEmissionType.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 VehicleEmissionType findValueByNumber(int number) { + return VehicleEmissionType.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.routing.v2.VehicleEmissionTypeProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VehicleEmissionType[] VALUES = values(); @@ -165,8 +208,7 @@ public VehicleEmissionType findValueByNumber(int number) { public static VehicleEmissionType 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; @@ -182,4 +224,3 @@ private VehicleEmissionType(int value) { // @@protoc_insertion_point(enum_scope:google.maps.routing.v2.VehicleEmissionType) } - diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java new file mode 100644 index 000000000000..c8d9ac7c9dcc --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java @@ -0,0 +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/routing/v2/vehicle_emission_type.proto + +package com.google.maps.routing.v2; + +public final class VehicleEmissionTypeProto { + private VehicleEmissionTypeProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/maps/routing/v2/vehicle_emissio" + + "n_type.proto\022\026google.maps.routing.v2*p\n\023" + + "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + + "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + + "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + + "oogle.maps.routing.v2B\030VehicleEmissionTy" + + "peProtoP\001Z=google.golang.org/genproto/go" + + "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + + "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + + "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + + "2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java similarity index 65% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java index 647651f4e449..6a11f5ebfb4d 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfo.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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates the vehicle information, such as the license plate last
  * character.
@@ -11,74 +28,86 @@
  *
  * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
  */
-public final class VehicleInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VehicleInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.VehicleInfo)
     VehicleInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VehicleInfo.newBuilder() to construct.
   private VehicleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VehicleInfo() {
     emissionType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VehicleInfo();
   }
 
   @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.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.VehicleInfoProto
+        .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+    return com.google.maps.routing.v2.VehicleInfoProto
+        .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
+            com.google.maps.routing.v2.VehicleInfo.class,
+            com.google.maps.routing.v2.VehicleInfo.Builder.class);
   }
 
   public static final int EMISSION_TYPE_FIELD_NUMBER = 2;
   private int emissionType_;
   /**
+   *
+   *
    * 
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override public int getEmissionTypeValue() { + @java.lang.Override + public int getEmissionTypeValue() { return emissionType_; } /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ - @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { + @java.lang.Override + public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = + com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -90,9 +119,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (emissionType_ + != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, emissionType_); } getUnknownFields().writeTo(output); @@ -104,9 +134,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (emissionType_ != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, emissionType_); + if (emissionType_ + != com.google.maps.routing.v2.VehicleEmissionType.VEHICLE_EMISSION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, emissionType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,7 +147,7 @@ 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.routing.v2.VehicleInfo)) { return super.equals(obj); @@ -142,97 +173,104 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.VehicleInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.VehicleInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo 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; } /** + * + * *
    * Encapsulates the vehicle information, such as the license plate last
    * character.
@@ -240,33 +278,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.VehicleInfo}
    */
-  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.routing.v2.VehicleInfo)
       com.google.maps.routing.v2.VehicleInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.VehicleInfo.class, com.google.maps.routing.v2.VehicleInfo.Builder.class);
+              com.google.maps.routing.v2.VehicleInfo.class,
+              com.google.maps.routing.v2.VehicleInfo.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.VehicleInfo.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();
@@ -276,9 +313,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.VehicleInfoProto.internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.VehicleInfoProto
+          .internal_static_google_maps_routing_v2_VehicleInfo_descriptor;
     }
 
     @java.lang.Override
@@ -297,7 +334,8 @@ public com.google.maps.routing.v2.VehicleInfo build() {
 
     @java.lang.Override
     public com.google.maps.routing.v2.VehicleInfo buildPartial() {
-      com.google.maps.routing.v2.VehicleInfo result = new com.google.maps.routing.v2.VehicleInfo(this);
+      com.google.maps.routing.v2.VehicleInfo result =
+          new com.google.maps.routing.v2.VehicleInfo(this);
       result.emissionType_ = emissionType_;
       onBuilt();
       return result;
@@ -307,38 +345,39 @@ public com.google.maps.routing.v2.VehicleInfo 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.routing.v2.VehicleInfo) {
-        return mergeFrom((com.google.maps.routing.v2.VehicleInfo)other);
+        return mergeFrom((com.google.maps.routing.v2.VehicleInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,17 +415,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16: {
-              emissionType_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 16:
+              {
+                emissionType_ = input.readEnum();
+
+                break;
+              } // case 16
+            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) {
@@ -399,55 +440,69 @@ public Builder mergeFrom(
 
     private int emissionType_ = 0;
     /**
+     *
+     *
      * 
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ - @java.lang.Override public int getEmissionTypeValue() { + @java.lang.Override + public int getEmissionTypeValue() { return emissionType_; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @param value The enum numeric value on the wire for emissionType to set. * @return This builder for chaining. */ public Builder setEmissionTypeValue(int value) { - + emissionType_ = value; onChanged(); return this; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ @java.lang.Override public com.google.maps.routing.v2.VehicleEmissionType getEmissionType() { @SuppressWarnings("deprecation") - com.google.maps.routing.v2.VehicleEmissionType result = com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); + com.google.maps.routing.v2.VehicleEmissionType result = + com.google.maps.routing.v2.VehicleEmissionType.valueOf(emissionType_); return result == null ? com.google.maps.routing.v2.VehicleEmissionType.UNRECOGNIZED : result; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @param value The emissionType to set. * @return This builder for chaining. */ @@ -455,29 +510,32 @@ public Builder setEmissionType(com.google.maps.routing.v2.VehicleEmissionType va if (value == null) { throw new NullPointerException(); } - + emissionType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Describes the vehicle's emission type.
      * Applies only to the DRIVE travel mode.
      * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return This builder for chaining. */ public Builder clearEmissionType() { - + emissionType_ = 0; 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); } @@ -487,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.VehicleInfo) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.VehicleInfo) private static final com.google.maps.routing.v2.VehicleInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.VehicleInfo(); } @@ -501,27 +559,27 @@ public static com.google.maps.routing.v2.VehicleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VehicleInfo 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 VehicleInfo 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; @@ -536,6 +594,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.VehicleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java similarity index 57% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java index ab13420f1dfa..b5cfc41e2b51 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoOrBuilder.java @@ -1,29 +1,51 @@ +/* + * 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/routing/v2/vehicle_info.proto package com.google.maps.routing.v2; -public interface VehicleInfoOrBuilder extends +public interface VehicleInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.VehicleInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The enum numeric value on the wire for emissionType. */ int getEmissionTypeValue(); /** + * + * *
    * Describes the vehicle's emission type.
    * Applies only to the DRIVE travel mode.
    * 
* * .google.maps.routing.v2.VehicleEmissionType emission_type = 2; + * * @return The emissionType. */ com.google.maps.routing.v2.VehicleEmissionType getEmissionType(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java new file mode 100644 index 000000000000..9b6b78cf0360 --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java @@ -0,0 +1,73 @@ +/* + * 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/routing/v2/vehicle_info.proto + +package com.google.maps.routing.v2; + +public final class VehicleInfoProto { + private VehicleInfoProto() {} + + 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_routing_v2_VehicleInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + + "oto\022\026google.maps.routing.v2\0322google/maps" + + "/routing/v2/vehicle_emission_type.proto\"" + + "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + + "google.maps.routing.v2.VehicleEmissionTy" + + "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + + "leInfoProtoP\001Z=google.golang.org/genprot" + + "o/googleapis/maps/routing/v2;routing\370\001\001\242" + + "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + + "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + + "g::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_VehicleInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_VehicleInfo_descriptor, + new java.lang.String[] { + "EmissionType", + }); + com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java similarity index 74% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java index 412d2755ce5f..cd404bd844db 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/Waypoint.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/routing/v2/waypoint.proto package com.google.maps.routing.v2; /** + * + * *
  * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
  * route, and include intermediate stops along the route.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.maps.routing.v2.Waypoint}
  */
-public final class Waypoint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Waypoint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.maps.routing.v2.Waypoint)
     WaypointOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Waypoint.newBuilder() to construct.
   private Waypoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Waypoint() {
-  }
+
+  private Waypoint() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Waypoint();
   }
 
   @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.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.maps.routing.v2.WaypointProto
+        .internal_static_google_maps_routing_v2_Waypoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+    return com.google.maps.routing.v2.WaypointProto
+        .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
+            com.google.maps.routing.v2.Waypoint.class,
+            com.google.maps.routing.v2.Waypoint.Builder.class);
   }
 
   private int locationTypeCase_ = 0;
   private java.lang.Object locationType_;
+
   public enum LocationTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION(1),
     PLACE_ID(2),
     LOCATIONTYPE_NOT_SET(0);
     private final int value;
+
     private LocationTypeCase(int value) {
       this.value = value;
     }
@@ -72,31 +93,37 @@ public static LocationTypeCase valueOf(int value) {
 
     public static LocationTypeCase forNumber(int value) {
       switch (value) {
-        case 1: return LOCATION;
-        case 2: return PLACE_ID;
-        case 0: return LOCATIONTYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return LOCATION;
+        case 2:
+          return PLACE_ID;
+        case 0:
+          return LOCATIONTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public LocationTypeCase
-  getLocationTypeCase() {
-    return LocationTypeCase.forNumber(
-        locationTypeCase_);
+  public LocationTypeCase getLocationTypeCase() {
+    return LocationTypeCase.forNumber(locationTypeCase_);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -104,22 +131,27 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ @java.lang.Override public com.google.maps.routing.v2.Location getLocation() { if (locationTypeCase_ == 1) { - return (com.google.maps.routing.v2.Location) locationType_; + return (com.google.maps.routing.v2.Location) locationType_; } return com.google.maps.routing.v2.Location.getDefaultInstance(); } /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -130,29 +162,35 @@ public com.google.maps.routing.v2.Location getLocation() {
   @java.lang.Override
   public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
     if (locationTypeCase_ == 1) {
-       return (com.google.maps.routing.v2.Location) locationType_;
+      return (com.google.maps.routing.v2.Location) locationType_;
     }
     return com.google.maps.routing.v2.Location.getDefaultInstance();
   }
 
   public static final int PLACE_ID_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The placeId. */ public java.lang.String getPlaceId() { @@ -163,8 +201,7 @@ 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -173,23 +210,24 @@ public java.lang.String getPlaceId() { } } /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The bytes for placeId. */ - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -202,6 +240,8 @@ public java.lang.String getPlaceId() { public static final int VIA_FIELD_NUMBER = 3; private boolean via_; /** + * + * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -217,6 +257,7 @@ public java.lang.String getPlaceId() {
    * 
* * bool via = 3; + * * @return The via. */ @java.lang.Override @@ -227,6 +268,8 @@ public boolean getVia() { public static final int VEHICLE_STOPOVER_FIELD_NUMBER = 4; private boolean vehicleStopover_; /** + * + * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -236,6 +279,7 @@ public boolean getVia() {
    * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ @java.lang.Override @@ -246,6 +290,8 @@ public boolean getVehicleStopover() { public static final int SIDE_OF_ROAD_FIELD_NUMBER = 5; private boolean sideOfRoad_; /** + * + * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -256,6 +302,7 @@ public boolean getVehicleStopover() {
    * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ @java.lang.Override @@ -264,6 +311,7 @@ public boolean getSideOfRoad() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +323,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 (locationTypeCase_ == 1) { output.writeMessage(1, (com.google.maps.routing.v2.Location) locationType_); } @@ -302,23 +349,21 @@ public int getSerializedSize() { size = 0; if (locationTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.maps.routing.v2.Location) locationType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.maps.routing.v2.Location) locationType_); } if (locationTypeCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, locationType_); } if (via_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, via_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, via_); } if (vehicleStopover_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, vehicleStopover_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, vehicleStopover_); } if (sideOfRoad_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, sideOfRoad_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, sideOfRoad_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -328,28 +373,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.routing.v2.Waypoint)) { return super.equals(obj); } com.google.maps.routing.v2.Waypoint other = (com.google.maps.routing.v2.Waypoint) obj; - if (getVia() - != other.getVia()) return false; - if (getVehicleStopover() - != other.getVehicleStopover()) return false; - if (getSideOfRoad() - != other.getSideOfRoad()) return false; + if (getVia() != other.getVia()) return false; + if (getVehicleStopover() != other.getVehicleStopover()) return false; + if (getSideOfRoad() != other.getSideOfRoad()) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; break; case 2: - if (!getPlaceId() - .equals(other.getPlaceId())) return false; + if (!getPlaceId().equals(other.getPlaceId())) return false; break; case 0: default: @@ -366,14 +406,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVia()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVia()); hash = (37 * hash) + VEHICLE_STOPOVER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVehicleStopover()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVehicleStopover()); hash = (37 * hash) + SIDE_OF_ROAD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSideOfRoad()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSideOfRoad()); switch (locationTypeCase_) { case 1: hash = (37 * hash) + LOCATION_FIELD_NUMBER; @@ -391,97 +428,103 @@ public int hashCode() { return hash; } - public static com.google.maps.routing.v2.Waypoint parseFrom( - java.nio.ByteBuffer data) + public static com.google.maps.routing.v2.Waypoint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.maps.routing.v2.Waypoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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.routing.v2.Waypoint 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; } /** + * + * *
    * Encapsulates a waypoint. Waypoints mark both the beginning and end of a
    * route, and include intermediate stops along the route.
@@ -489,33 +532,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.maps.routing.v2.Waypoint}
    */
-  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.routing.v2.Waypoint)
       com.google.maps.routing.v2.WaypointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.maps.routing.v2.Waypoint.class, com.google.maps.routing.v2.Waypoint.Builder.class);
+              com.google.maps.routing.v2.Waypoint.class,
+              com.google.maps.routing.v2.Waypoint.Builder.class);
     }
 
     // Construct using com.google.maps.routing.v2.Waypoint.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();
@@ -534,9 +576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.maps.routing.v2.WaypointProto.internal_static_google_maps_routing_v2_Waypoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.maps.routing.v2.WaypointProto
+          .internal_static_google_maps_routing_v2_Waypoint_descriptor;
     }
 
     @java.lang.Override
@@ -578,38 +620,39 @@ public com.google.maps.routing.v2.Waypoint 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.routing.v2.Waypoint) {
-        return mergeFrom((com.google.maps.routing.v2.Waypoint)other);
+        return mergeFrom((com.google.maps.routing.v2.Waypoint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,19 +671,22 @@ public Builder mergeFrom(com.google.maps.routing.v2.Waypoint other) {
         setSideOfRoad(other.getSideOfRoad());
       }
       switch (other.getLocationTypeCase()) {
-        case LOCATION: {
-          mergeLocation(other.getLocation());
-          break;
-        }
-        case PLACE_ID: {
-          locationTypeCase_ = 2;
-          locationType_ = other.locationType_;
-          onChanged();
-          break;
-        }
-        case LOCATIONTYPE_NOT_SET: {
-          break;
-        }
+        case LOCATION:
+          {
+            mergeLocation(other.getLocation());
+            break;
+          }
+        case PLACE_ID:
+          {
+            locationTypeCase_ = 2;
+            locationType_ = other.locationType_;
+            onChanged();
+            break;
+          }
+        case LOCATIONTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -668,40 +714,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getLocationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              locationTypeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              locationTypeCase_ = 2;
-              locationType_ = s;
-              break;
-            } // case 18
-            case 24: {
-              via_ = input.readBool();
+            case 10:
+              {
+                input.readMessage(getLocationFieldBuilder().getBuilder(), extensionRegistry);
+                locationTypeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                locationTypeCase_ = 2;
+                locationType_ = s;
+                break;
+              } // case 18
+            case 24:
+              {
+                via_ = input.readBool();
 
-              break;
-            } // case 24
-            case 32: {
-              vehicleStopover_ = input.readBool();
+                break;
+              } // case 24
+            case 32:
+              {
+                vehicleStopover_ = input.readBool();
 
-              break;
-            } // case 32
-            case 40: {
-              sideOfRoad_ = input.readBool();
+                break;
+              } // case 32
+            case 40:
+              {
+                sideOfRoad_ = input.readBool();
 
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            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) {
@@ -711,12 +761,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int locationTypeCase_ = 0;
     private java.lang.Object locationType_;
-    public LocationTypeCase
-        getLocationTypeCase() {
-      return LocationTypeCase.forNumber(
-          locationTypeCase_);
+
+    public LocationTypeCase getLocationTypeCase() {
+      return LocationTypeCase.forNumber(locationTypeCase_);
     }
 
     public Builder clearLocationType() {
@@ -726,16 +776,21 @@ public Builder clearLocationType() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> locationBuilder_;
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
+        locationBuilder_;
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -743,12 +798,15 @@ public boolean hasLocation() { return locationTypeCase_ == 1; } /** + * + * *
      * A point specified using geographic coordinates, including an optional
      * heading.
      * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ @java.lang.Override @@ -766,6 +824,8 @@ public com.google.maps.routing.v2.Location getLocation() { } } /** + * + * *
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -787,6 +847,8 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -794,8 +856,7 @@ public Builder setLocation(com.google.maps.routing.v2.Location value) {
      *
      * .google.maps.routing.v2.Location location = 1;
      */
-    public Builder setLocation(
-        com.google.maps.routing.v2.Location.Builder builderForValue) {
+    public Builder setLocation(com.google.maps.routing.v2.Location.Builder builderForValue) {
       if (locationBuilder_ == null) {
         locationType_ = builderForValue.build();
         onChanged();
@@ -806,6 +867,8 @@ public Builder setLocation(
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -815,10 +878,13 @@ public Builder setLocation(
      */
     public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       if (locationBuilder_ == null) {
-        if (locationTypeCase_ == 1 &&
-            locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
-          locationType_ = com.google.maps.routing.v2.Location.newBuilder((com.google.maps.routing.v2.Location) locationType_)
-              .mergeFrom(value).buildPartial();
+        if (locationTypeCase_ == 1
+            && locationType_ != com.google.maps.routing.v2.Location.getDefaultInstance()) {
+          locationType_ =
+              com.google.maps.routing.v2.Location.newBuilder(
+                      (com.google.maps.routing.v2.Location) locationType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           locationType_ = value;
         }
@@ -834,6 +900,8 @@ public Builder mergeLocation(com.google.maps.routing.v2.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -858,6 +926,8 @@ public Builder clearLocation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -869,6 +939,8 @@ public com.google.maps.routing.v2.Location.Builder getLocationBuilder() {
       return getLocationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -888,6 +960,8 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A point specified using geographic coordinates, including an optional
      * heading.
@@ -896,30 +970,39 @@ public com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder() {
      * .google.maps.routing.v2.Location location = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder> 
+            com.google.maps.routing.v2.Location,
+            com.google.maps.routing.v2.Location.Builder,
+            com.google.maps.routing.v2.LocationOrBuilder>
         getLocationFieldBuilder() {
       if (locationBuilder_ == null) {
         if (!(locationTypeCase_ == 1)) {
           locationType_ = com.google.maps.routing.v2.Location.getDefaultInstance();
         }
-        locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.maps.routing.v2.Location, com.google.maps.routing.v2.Location.Builder, com.google.maps.routing.v2.LocationOrBuilder>(
+        locationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.maps.routing.v2.Location,
+                com.google.maps.routing.v2.Location.Builder,
+                com.google.maps.routing.v2.LocationOrBuilder>(
                 (com.google.maps.routing.v2.Location) locationType_,
                 getParentForChildren(),
                 isClean());
         locationType_ = null;
       }
       locationTypeCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return locationBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ @java.lang.Override @@ -927,11 +1010,14 @@ public boolean hasPlaceId() { return locationTypeCase_ == 2; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return The placeId. */ @java.lang.Override @@ -941,8 +1027,7 @@ public java.lang.String getPlaceId() { ref = locationType_; } 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(); if (locationTypeCase_ == 2) { locationType_ = s; @@ -953,24 +1038,25 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return The bytes for placeId. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlaceIdBytes() { + public com.google.protobuf.ByteString getPlaceIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 2) { ref = locationType_; } 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); if (locationTypeCase_ == 2) { locationType_ = b; } @@ -980,30 +1066,35 @@ public java.lang.String getPlaceId() { } } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @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(); - } - locationTypeCase_ = 2; + throw new NullPointerException(); + } + locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @return This builder for chaining. */ public Builder clearPlaceId() { @@ -1015,28 +1106,32 @@ public Builder clearPlaceId() { return this; } /** + * + * *
      * The POI Place ID associated with the waypoint.
      * 
* * string place_id = 2; + * * @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); locationTypeCase_ = 2; locationType_ = value; onChanged(); return this; } - private boolean via_ ; + private boolean via_; /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1052,6 +1147,7 @@ public Builder setPlaceIdBytes(
      * 
* * bool via = 3; + * * @return The via. */ @java.lang.Override @@ -1059,6 +1155,8 @@ public boolean getVia() { return via_; } /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1074,16 +1172,19 @@ public boolean getVia() {
      * 
* * bool via = 3; + * * @param value The via to set. * @return This builder for chaining. */ public Builder setVia(boolean value) { - + via_ = value; onChanged(); return this; } /** + * + * *
      * Marks this waypoint as a milestone rather a stopping point. For
      * each non-via waypoint in the request, the response appends an entry to the
@@ -1099,17 +1200,20 @@ public Builder setVia(boolean value) {
      * 
* * bool via = 3; + * * @return This builder for chaining. */ public Builder clearVia() { - + via_ = false; onChanged(); return this; } - private boolean vehicleStopover_ ; + private boolean vehicleStopover_; /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1119,6 +1223,7 @@ public Builder clearVia() {
      * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ @java.lang.Override @@ -1126,6 +1231,8 @@ public boolean getVehicleStopover() { return vehicleStopover_; } /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1135,16 +1242,19 @@ public boolean getVehicleStopover() {
      * 
* * bool vehicle_stopover = 4; + * * @param value The vehicleStopover to set. * @return This builder for chaining. */ public Builder setVehicleStopover(boolean value) { - + vehicleStopover_ = value; onChanged(); return this; } /** + * + * *
      * Indicates that the waypoint is meant for vehicles to stop at, where the
      * intention is to either pickup or drop-off. When you set this value, the
@@ -1154,17 +1264,20 @@ public Builder setVehicleStopover(boolean value) {
      * 
* * bool vehicle_stopover = 4; + * * @return This builder for chaining. */ public Builder clearVehicleStopover() { - + vehicleStopover_ = false; onChanged(); return this; } - private boolean sideOfRoad_ ; + private boolean sideOfRoad_; /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1175,6 +1288,7 @@ public Builder clearVehicleStopover() {
      * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ @java.lang.Override @@ -1182,6 +1296,8 @@ public boolean getSideOfRoad() { return sideOfRoad_; } /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1192,16 +1308,19 @@ public boolean getSideOfRoad() {
      * 
* * bool side_of_road = 5; + * * @param value The sideOfRoad to set. * @return This builder for chaining. */ public Builder setSideOfRoad(boolean value) { - + sideOfRoad_ = value; onChanged(); return this; } /** + * + * *
      * Indicates that the location of this waypoint is meant to have a preference
      * for the vehicle to stop at a particular side of road. When you set this
@@ -1212,17 +1331,18 @@ public Builder setSideOfRoad(boolean value) {
      * 
* * bool side_of_road = 5; + * * @return This builder for chaining. */ public Builder clearSideOfRoad() { - + sideOfRoad_ = 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); } @@ -1232,12 +1352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.maps.routing.v2.Waypoint) } // @@protoc_insertion_point(class_scope:google.maps.routing.v2.Waypoint) private static final com.google.maps.routing.v2.Waypoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.maps.routing.v2.Waypoint(); } @@ -1246,27 +1366,27 @@ public static com.google.maps.routing.v2.Waypoint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Waypoint 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 Waypoint 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; @@ -1281,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.maps.routing.v2.Waypoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java similarity index 81% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java rename to java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java index b5fe89a563b7..01e9e24bfa2b 100644 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointOrBuilder.java @@ -1,33 +1,57 @@ +/* + * 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/routing/v2/waypoint.proto package com.google.maps.routing.v2; -public interface WaypointOrBuilder extends +public interface WaypointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.maps.routing.v2.Waypoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
    * 
* * .google.maps.routing.v2.Location location = 1; + * * @return The location. */ com.google.maps.routing.v2.Location getLocation(); /** + * + * *
    * A point specified using geographic coordinates, including an optional
    * heading.
@@ -38,35 +62,45 @@ public interface WaypointOrBuilder extends
   com.google.maps.routing.v2.LocationOrBuilder getLocationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return Whether the placeId field is set. */ boolean hasPlaceId(); /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The placeId. */ java.lang.String getPlaceId(); /** + * + * *
    * The POI Place ID associated with the waypoint.
    * 
* * string place_id = 2; + * * @return The bytes for placeId. */ - com.google.protobuf.ByteString - getPlaceIdBytes(); + com.google.protobuf.ByteString getPlaceIdBytes(); /** + * + * *
    * Marks this waypoint as a milestone rather a stopping point. For
    * each non-via waypoint in the request, the response appends an entry to the
@@ -82,11 +116,14 @@ public interface WaypointOrBuilder extends
    * 
* * bool via = 3; + * * @return The via. */ boolean getVia(); /** + * + * *
    * Indicates that the waypoint is meant for vehicles to stop at, where the
    * intention is to either pickup or drop-off. When you set this value, the
@@ -96,11 +133,14 @@ public interface WaypointOrBuilder extends
    * 
* * bool vehicle_stopover = 4; + * * @return The vehicleStopover. */ boolean getVehicleStopover(); /** + * + * *
    * Indicates that the location of this waypoint is meant to have a preference
    * for the vehicle to stop at a particular side of road. When you set this
@@ -111,6 +151,7 @@ public interface WaypointOrBuilder extends
    * 
* * bool side_of_road = 5; + * * @return The sideOfRoad. */ boolean getSideOfRoad(); diff --git a/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java new file mode 100644 index 000000000000..dfabac701a3f --- /dev/null +++ b/java-maps-routing/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java @@ -0,0 +1,74 @@ +/* + * 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/routing/v2/waypoint.proto + +package com.google.maps.routing.v2; + +public final class WaypointProto { + private WaypointProto() {} + + 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_routing_v2_Waypoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + + "\026google.maps.routing.v2\032%google/maps/rou" + + "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + + "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + + "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + + "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + + "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + + "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + + "gle.golang.org/genproto/googleapis/maps/" + + "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + + "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + + "\002\031Google::Maps::Routing::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.maps.routing.v2.LocationProto.getDescriptor(), + }); + internal_static_google_maps_routing_v2_Waypoint_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_maps_routing_v2_Waypoint_descriptor, + new java.lang.String[] { + "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", + }); + com.google.maps.routing.v2.LocationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/fallback_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/location.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/maneuver.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/navigation_instruction.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/polyline.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_label.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_modifiers.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/route_travel_mode.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routes_service.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/routing_preference.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/speed_reading_interval.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/toll_passes.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/units.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_emission_type.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/vehicle_info.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto b/java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto similarity index 100% rename from owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto rename to java-maps-routing/proto-google-maps-routing-v2/src/main/proto/google/maps/routing/v2/waypoint.proto diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java deleted file mode 100644 index fdcaa7d94177..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/FallbackInfoProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/fallback_info.proto - -package com.google.maps.routing.v2; - -public final class FallbackInfoProto { - private FallbackInfoProto() {} - 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_routing_v2_FallbackInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_FallbackInfo_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/routing/v2/fallback_info.p" + - "roto\022\026google.maps.routing.v2\"\211\001\n\014Fallbac" + - "kInfo\022A\n\014routing_mode\030\001 \001(\0162+.google.map" + - "s.routing.v2.FallbackRoutingMode\0226\n\006reas" + - "on\030\002 \001(\0162&.google.maps.routing.v2.Fallba" + - "ckReason*Y\n\016FallbackReason\022\037\n\033FALLBACK_R" + - "EASON_UNSPECIFIED\020\000\022\020\n\014SERVER_ERROR\020\001\022\024\n" + - "\020LATENCY_EXCEEDED\020\002*v\n\023FallbackRoutingMo" + - "de\022%\n!FALLBACK_ROUTING_MODE_UNSPECIFIED\020" + - "\000\022\034\n\030FALLBACK_TRAFFIC_UNAWARE\020\001\022\032\n\026FALLB" + - "ACK_TRAFFIC_AWARE\020\002B\311\001\n\032com.google.maps." + - "routing.v2B\021FallbackInfoProtoP\001Z=google." + - "golang.org/genproto/googleapis/maps/rout" + - "ing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps." + - "Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Go" + - "ogle::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_routing_v2_FallbackInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_FallbackInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_FallbackInfo_descriptor, - new java.lang.String[] { "RoutingMode", "Reason", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java deleted file mode 100644 index a4aa1ac4fe64..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/LocationProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/location.proto - -package com.google.maps.routing.v2; - -public final class LocationProto { - private LocationProto() {} - 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_routing_v2_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Location_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/routing/v2/location.proto\022" + - "\026google.maps.routing.v2\032\036google/protobuf" + - "/wrappers.proto\032\030google/type/latlng.prot" + - "o\"^\n\010Location\022$\n\007lat_lng\030\001 \001(\0132\023.google." + - "type.LatLng\022,\n\007heading\030\002 \001(\0132\033.google.pr" + - "otobuf.Int32ValueB\305\001\n\032com.google.maps.ro" + - "uting.v2B\rLocationProtoP\001Z=google.golang" + - ".org/genproto/googleapis/maps/routing/v2" + - ";routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routin" + - "g.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google::" + - "Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Location_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Location_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Location_descriptor, - new java.lang.String[] { "LatLng", "Heading", }); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java deleted file mode 100644 index 5138be656ed5..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/ManeuverProto.java +++ /dev/null @@ -1,50 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/maneuver.proto - -package com.google.maps.routing.v2; - -public final class ManeuverProto { - private ManeuverProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/maneuver.proto\022" + - "\026google.maps.routing.v2*\332\002\n\010Maneuver\022\030\n\024" + - "MANEUVER_UNSPECIFIED\020\000\022\024\n\020TURN_SLIGHT_LE" + - "FT\020\001\022\023\n\017TURN_SHARP_LEFT\020\002\022\016\n\nUTURN_LEFT\020" + - "\003\022\r\n\tTURN_LEFT\020\004\022\025\n\021TURN_SLIGHT_RIGHT\020\005\022" + - "\024\n\020TURN_SHARP_RIGHT\020\006\022\017\n\013UTURN_RIGHT\020\007\022\016" + - "\n\nTURN_RIGHT\020\010\022\014\n\010STRAIGHT\020\t\022\r\n\tRAMP_LEF" + - "T\020\n\022\016\n\nRAMP_RIGHT\020\013\022\t\n\005MERGE\020\014\022\r\n\tFORK_L" + - "EFT\020\r\022\016\n\nFORK_RIGHT\020\016\022\t\n\005FERRY\020\017\022\017\n\013FERR" + - "Y_TRAIN\020\020\022\023\n\017ROUNDABOUT_LEFT\020\021\022\024\n\020ROUNDA" + - "BOUT_RIGHT\020\022B\305\001\n\032com.google.maps.routing" + - ".v2B\rManeuverProtoP\001Z=google.golang.org/" + - "genproto/googleapis/maps/routing/v2;rout" + - "ing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312" + - "\002\026Google\\Maps\\Routing\\V2\352\002\031Google::Maps:" + - ":Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java deleted file mode 100644 index cf16ec2b8d68..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/NavigationInstructionProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/navigation_instruction.proto - -package com.google.maps.routing.v2; - -public final class NavigationInstructionProto { - private NavigationInstructionProto() {} - 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_routing_v2_NavigationInstruction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/navigation_inst" + - "ruction.proto\022\026google.maps.routing.v2\032%g" + - "oogle/maps/routing/v2/maneuver.proto\"a\n\025" + - "NavigationInstruction\0222\n\010maneuver\030\001 \001(\0162" + - " .google.maps.routing.v2.Maneuver\022\024\n\014ins" + - "tructions\030\002 \001(\tB\322\001\n\032com.google.maps.rout" + - "ing.v2B\032NavigationInstructionProtoP\001Z=go" + - "ogle.golang.org/genproto/googleapis/maps" + - "/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google." + - "Maps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2" + - "\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.ManeuverProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_NavigationInstruction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_NavigationInstruction_descriptor, - new java.lang.String[] { "Maneuver", "Instructions", }); - com.google.maps.routing.v2.ManeuverProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java deleted file mode 100644 index 5c67621744ec..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/PolylineProto.java +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/polyline.proto - -package com.google.maps.routing.v2; - -public final class PolylineProto { - private PolylineProto() {} - 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_routing_v2_Polyline_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Polyline_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/routing/v2/polyline.proto\022" + - "\026google.maps.routing.v2\032\034google/protobuf" + - "/struct.proto\"o\n\010Polyline\022\032\n\020encoded_pol" + - "yline\030\001 \001(\tH\000\0226\n\023geo_json_linestring\030\002 \001" + - "(\0132\027.google.protobuf.StructH\000B\017\n\rpolylin" + - "e_type*S\n\017PolylineQuality\022 \n\034POLYLINE_QU" + - "ALITY_UNSPECIFIED\020\000\022\020\n\014HIGH_QUALITY\020\001\022\014\n" + - "\010OVERVIEW\020\002*d\n\020PolylineEncoding\022!\n\035POLYL" + - "INE_ENCODING_UNSPECIFIED\020\000\022\024\n\020ENCODED_PO" + - "LYLINE\020\001\022\027\n\023GEO_JSON_LINESTRING\020\002B\305\001\n\032co" + - "m.google.maps.routing.v2B\rPolylineProtoP" + - "\001Z=google.golang.org/genproto/googleapis" + - "/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Go" + - "ogle.Maps.Routing.V2\312\002\026Google\\Maps\\Routi" + - "ng\\V2\352\002\031Google::Maps::Routing::V2b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Polyline_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Polyline_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Polyline_descriptor, - new java.lang.String[] { "EncodedPolyline", "GeoJsonLinestring", "PolylineType", }); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java deleted file mode 100644 index c32bbe87c122..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteLabelProto.java +++ /dev/null @@ -1,44 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_label.proto - -package com.google.maps.routing.v2; - -public final class RouteLabelProto { - private RouteLabelProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_label.pro" + - "to\022\026google.maps.routing.v2*m\n\nRouteLabel" + - "\022\033\n\027ROUTE_LABEL_UNSPECIFIED\020\000\022\021\n\rDEFAULT" + - "_ROUTE\020\001\022\033\n\027DEFAULT_ROUTE_ALTERNATE\020\002\022\022\n" + - "\016FUEL_EFFICIENT\020\003B\307\001\n\032com.google.maps.ro" + - "uting.v2B\017RouteLabelProtoP\001Z=google.gola" + - "ng.org/genproto/googleapis/maps/routing/" + - "v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Rout" + - "ing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google" + - "::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java deleted file mode 100644 index 1e8f543ab52e..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteModifiersProto.java +++ /dev/null @@ -1,64 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_modifiers.proto - -package com.google.maps.routing.v2; - -public final class RouteModifiersProto { - private RouteModifiersProto() {} - 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_routing_v2_RouteModifiers_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteModifiers_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/routing/v2/route_modifiers" + - ".proto\022\026google.maps.routing.v2\032(google/m" + - "aps/routing/v2/toll_passes.proto\032)google" + - "/maps/routing/v2/vehicle_info.proto\"\334\001\n\016" + - "RouteModifiers\022\023\n\013avoid_tolls\030\001 \001(\010\022\026\n\016a" + - "void_highways\030\002 \001(\010\022\025\n\ravoid_ferries\030\003 \001" + - "(\010\022\024\n\014avoid_indoor\030\004 \001(\010\0229\n\014vehicle_info" + - "\030\005 \001(\0132#.google.maps.routing.v2.VehicleI" + - "nfo\0225\n\013toll_passes\030\006 \003(\0162 .google.maps.r" + - "outing.v2.TollPassB\313\001\n\032com.google.maps.r" + - "outing.v2B\023RouteModifiersProtoP\001Z=google" + - ".golang.org/genproto/googleapis/maps/rou" + - "ting/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps" + - ".Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031G" + - "oogle::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.TollPassesProto.getDescriptor(), - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_RouteModifiers_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_RouteModifiers_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteModifiers_descriptor, - new java.lang.String[] { "AvoidTolls", "AvoidHighways", "AvoidFerries", "AvoidIndoor", "VehicleInfo", "TollPasses", }); - com.google.maps.routing.v2.TollPassesProto.getDescriptor(); - com.google.maps.routing.v2.VehicleInfoProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java deleted file mode 100644 index 2eeae4764312..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteProto.java +++ /dev/null @@ -1,176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route.proto - -package com.google.maps.routing.v2; - -public final class RouteProto { - private RouteProto() {} - 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_routing_v2_Route_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Route_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLeg_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteLegStep_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteLegStep_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/routing/v2/route.proto\022\026go" + - "ogle.maps.routing.v2\032\036google/geo/type/vi" + - "ewport.proto\032%google/maps/routing/v2/loc" + - "ation.proto\0323google/maps/routing/v2/navi" + - "gation_instruction.proto\032%google/maps/ro" + - "uting/v2/polyline.proto\032(google/maps/rou" + - "ting/v2/route_label.proto\0323google/maps/r" + - "outing/v2/speed_reading_interval.proto\032&" + - "google/maps/routing/v2/toll_info.proto\032\036" + - "google/protobuf/duration.proto\"\316\003\n\005Route" + - "\0228\n\014route_labels\030\r \003(\0162\".google.maps.rou" + - "ting.v2.RouteLabel\022.\n\004legs\030\001 \003(\0132 .googl" + - "e.maps.routing.v2.RouteLeg\022\027\n\017distance_m" + - "eters\030\002 \001(\005\022+\n\010duration\030\003 \001(\0132\031.google.p" + - "rotobuf.Duration\0222\n\017static_duration\030\004 \001(" + - "\0132\031.google.protobuf.Duration\0222\n\010polyline" + - "\030\005 \001(\0132 .google.maps.routing.v2.Polyline" + - "\022\023\n\013description\030\006 \001(\t\022\020\n\010warnings\030\007 \003(\t\022" + - "+\n\010viewport\030\010 \001(\0132\031.google.geo.type.View" + - "port\022D\n\017travel_advisory\030\t \001(\0132+.google.m" + - "aps.routing.v2.RouteTravelAdvisory\022\023\n\013ro" + - "ute_token\030\014 \001(\t\"\277\001\n\023RouteTravelAdvisory\022" + - "3\n\ttoll_info\030\002 \001(\0132 .google.maps.routing" + - ".v2.TollInfo\022M\n\027speed_reading_intervals\030" + - "\003 \003(\0132,.google.maps.routing.v2.SpeedRead" + - "ingInterval\022$\n\034fuel_consumption_microlit" + - "ers\030\005 \001(\003\"\234\001\n\026RouteLegTravelAdvisory\0223\n\t" + - "toll_info\030\001 \001(\0132 .google.maps.routing.v2" + - ".TollInfo\022M\n\027speed_reading_intervals\030\002 \003" + - "(\0132,.google.maps.routing.v2.SpeedReading" + - "Interval\"k\n\032RouteLegStepTravelAdvisory\022M" + - "\n\027speed_reading_intervals\030\001 \003(\0132,.google" + - ".maps.routing.v2.SpeedReadingInterval\"\250\003" + - "\n\010RouteLeg\022\027\n\017distance_meters\030\001 \001(\005\022+\n\010d" + - "uration\030\002 \001(\0132\031.google.protobuf.Duration" + - "\0222\n\017static_duration\030\003 \001(\0132\031.google.proto" + - "buf.Duration\0222\n\010polyline\030\004 \001(\0132 .google." + - "maps.routing.v2.Polyline\0228\n\016start_locati" + - "on\030\005 \001(\0132 .google.maps.routing.v2.Locati" + - "on\0226\n\014end_location\030\006 \001(\0132 .google.maps.r" + - "outing.v2.Location\0223\n\005steps\030\007 \003(\0132$.goog" + - "le.maps.routing.v2.RouteLegStep\022G\n\017trave" + - "l_advisory\030\010 \001(\0132..google.maps.routing.v" + - "2.RouteLegTravelAdvisory\"\235\003\n\014RouteLegSte" + - "p\022\027\n\017distance_meters\030\001 \001(\005\0222\n\017static_dur" + - "ation\030\002 \001(\0132\031.google.protobuf.Duration\0222" + - "\n\010polyline\030\003 \001(\0132 .google.maps.routing.v" + - "2.Polyline\0228\n\016start_location\030\004 \001(\0132 .goo" + - "gle.maps.routing.v2.Location\0226\n\014end_loca" + - "tion\030\005 \001(\0132 .google.maps.routing.v2.Loca" + - "tion\022M\n\026navigation_instruction\030\006 \001(\0132-.g" + - "oogle.maps.routing.v2.NavigationInstruct" + - "ion\022K\n\017travel_advisory\030\007 \001(\01322.google.ma" + - "ps.routing.v2.RouteLegStepTravelAdvisory" + - "B\302\001\n\032com.google.maps.routing.v2B\nRoutePr" + - "otoP\001Z=google.golang.org/genproto/google" + - "apis/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252" + - "\002\026Google.Maps.Routing.V2\312\002\026Google\\Maps\\R" + - "outing\\V2\352\002\031Google::Maps::Routing::V2b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.geo.type.ViewportProto.getDescriptor(), - com.google.maps.routing.v2.LocationProto.getDescriptor(), - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(), - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(), - com.google.maps.routing.v2.TollInfoProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Route_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Route_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Route_descriptor, - new java.lang.String[] { "RouteLabels", "Legs", "DistanceMeters", "Duration", "StaticDuration", "Polyline", "Description", "Warnings", "Viewport", "TravelAdvisory", "RouteToken", }); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_RouteTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteTravelAdvisory_descriptor, - new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", "FuelConsumptionMicroliters", }); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegTravelAdvisory_descriptor, - new java.lang.String[] { "TollInfo", "SpeedReadingIntervals", }); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStepTravelAdvisory_descriptor, - new java.lang.String[] { "SpeedReadingIntervals", }); - internal_static_google_maps_routing_v2_RouteLeg_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteLeg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLeg_descriptor, - new java.lang.String[] { "DistanceMeters", "Duration", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "Steps", "TravelAdvisory", }); - internal_static_google_maps_routing_v2_RouteLegStep_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteLegStep_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteLegStep_descriptor, - new java.lang.String[] { "DistanceMeters", "StaticDuration", "Polyline", "StartLocation", "EndLocation", "NavigationInstruction", "TravelAdvisory", }); - com.google.geo.type.ViewportProto.getDescriptor(); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - com.google.maps.routing.v2.NavigationInstructionProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteLabelProto.getDescriptor(); - com.google.maps.routing.v2.SpeedReadingIntervalProto.getDescriptor(); - com.google.maps.routing.v2.TollInfoProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java deleted file mode 100644 index beabfecd72c2..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RouteTravelModeProto.java +++ /dev/null @@ -1,44 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/route_travel_mode.proto - -package com.google.maps.routing.v2; - -public final class RouteTravelModeProto { - private RouteTravelModeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/route_travel_mo" + - "de.proto\022\026google.maps.routing.v2*a\n\017Rout" + - "eTravelMode\022\033\n\027TRAVEL_MODE_UNSPECIFIED\020\000" + - "\022\t\n\005DRIVE\020\001\022\013\n\007BICYCLE\020\002\022\010\n\004WALK\020\003\022\017\n\013TW" + - "O_WHEELER\020\004B\314\001\n\032com.google.maps.routing." + - "v2B\024RouteTravelModeProtoP\001Z=google.golan" + - "g.org/genproto/googleapis/maps/routing/v" + - "2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routi" + - "ng.V2\312\002\026Google\\Maps\\Routing\\V2\352\002\031Google:" + - ":Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java deleted file mode 100644 index b209fe6d3b55..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutesServiceProto.java +++ /dev/null @@ -1,221 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/routes_service.proto - -package com.google.maps.routing.v2; - -public final class RoutesServiceProto { - private RoutesServiceProto() {} - 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_routing_v2_ComputeRoutesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_RouteMatrixElement_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/routing/v2/routes_service." + - "proto\022\026google.maps.routing.v2\032\034google/ap" + - "i/annotations.proto\032\027google/api/client.p" + - "roto\032\037google/api/field_behavior.proto\032*g" + - "oogle/maps/routing/v2/fallback_info.prot" + - "o\032%google/maps/routing/v2/polyline.proto" + - "\032\"google/maps/routing/v2/route.proto\032,go" + - "ogle/maps/routing/v2/route_modifiers.pro" + - "to\032.google/maps/routing/v2/route_travel_" + - "mode.proto\032/google/maps/routing/v2/routi" + - "ng_preference.proto\032\"google/maps/routing" + - "/v2/units.proto\032%google/maps/routing/v2/" + - "waypoint.proto\032\036google/protobuf/duration" + - ".proto\032\037google/protobuf/timestamp.proto\032" + - "\027google/rpc/status.proto\"\214\007\n\024ComputeRout" + - "esRequest\0225\n\006origin\030\001 \001(\0132 .google.maps." + - "routing.v2.WaypointB\003\340A\002\022:\n\013destination\030" + - "\002 \001(\0132 .google.maps.routing.v2.WaypointB" + - "\003\340A\002\022<\n\rintermediates\030\003 \003(\0132 .google.map" + - "s.routing.v2.WaypointB\003\340A\001\022A\n\013travel_mod" + - "e\030\004 \001(\0162\'.google.maps.routing.v2.RouteTr" + - "avelModeB\003\340A\001\022J\n\022routing_preference\030\005 \001(" + - "\0162).google.maps.routing.v2.RoutingPrefer" + - "enceB\003\340A\001\022F\n\020polyline_quality\030\006 \001(\0162\'.go" + - "ogle.maps.routing.v2.PolylineQualityB\003\340A" + - "\001\022H\n\021polyline_encoding\030\014 \001(\0162(.google.ma" + - "ps.routing.v2.PolylineEncodingB\003\340A\001\0227\n\016d" + - "eparture_time\030\007 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\001\022\'\n\032compute_alternative_rout" + - "es\030\010 \001(\010B\003\340A\001\022D\n\017route_modifiers\030\t \001(\0132&" + - ".google.maps.routing.v2.RouteModifiersB\003" + - "\340A\001\022\032\n\rlanguage_code\030\n \001(\tB\003\340A\001\0221\n\005units" + - "\030\013 \001(\0162\035.google.maps.routing.v2.UnitsB\003\340" + - "A\001\022d\n\032requested_reference_routes\030\016 \003(\0162;" + - ".google.maps.routing.v2.ComputeRoutesReq" + - "uest.ReferenceRouteB\003\340A\001\"E\n\016ReferenceRou" + - "te\022\037\n\033REFERENCE_ROUTE_UNSPECIFIED\020\000\022\022\n\016F" + - "UEL_EFFICIENT\020\001\"\203\001\n\025ComputeRoutesRespons" + - "e\022-\n\006routes\030\001 \003(\0132\035.google.maps.routing." + - "v2.Route\022;\n\rfallback_info\030\002 \001(\0132$.google" + - ".maps.routing.v2.FallbackInfo\"\357\002\n\031Comput" + - "eRouteMatrixRequest\022?\n\007origins\030\001 \003(\0132).g" + - "oogle.maps.routing.v2.RouteMatrixOriginB" + - "\003\340A\002\022I\n\014destinations\030\002 \003(\0132..google.maps" + - ".routing.v2.RouteMatrixDestinationB\003\340A\002\022" + - "A\n\013travel_mode\030\003 \001(\0162\'.google.maps.routi" + - "ng.v2.RouteTravelModeB\003\340A\001\022J\n\022routing_pr" + - "eference\030\004 \001(\0162).google.maps.routing.v2." + - "RoutingPreferenceB\003\340A\001\0227\n\016departure_time" + - "\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"" + - "\222\001\n\021RouteMatrixOrigin\0227\n\010waypoint\030\001 \001(\0132" + - " .google.maps.routing.v2.WaypointB\003\340A\002\022D" + - "\n\017route_modifiers\030\002 \001(\0132&.google.maps.ro" + - "uting.v2.RouteModifiersB\003\340A\001\"Q\n\026RouteMat" + - "rixDestination\0227\n\010waypoint\030\001 \001(\0132 .googl" + - "e.maps.routing.v2.WaypointB\003\340A\002\"\337\003\n\022Rout" + - "eMatrixElement\022\031\n\014origin_index\030\001 \001(\005H\000\210\001" + - "\001\022\036\n\021destination_index\030\002 \001(\005H\001\210\001\001\022\"\n\006sta" + - "tus\030\003 \001(\0132\022.google.rpc.Status\022F\n\tconditi" + - "on\030\t \001(\01623.google.maps.routing.v2.RouteM" + - "atrixElementCondition\022\027\n\017distance_meters" + - "\030\004 \001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protob" + - "uf.Duration\0222\n\017static_duration\030\006 \001(\0132\031.g" + - "oogle.protobuf.Duration\022D\n\017travel_adviso" + - "ry\030\007 \001(\0132+.google.maps.routing.v2.RouteT" + - "ravelAdvisory\022;\n\rfallback_info\030\010 \001(\0132$.g" + - "oogle.maps.routing.v2.FallbackInfoB\017\n\r_o" + - "rigin_indexB\024\n\022_destination_index*t\n\033Rou" + - "teMatrixElementCondition\022.\n*ROUTE_MATRIX" + - "_ELEMENT_CONDITION_UNSPECIFIED\020\000\022\020\n\014ROUT" + - "E_EXISTS\020\001\022\023\n\017ROUTE_NOT_FOUND\020\0022\344\002\n\006Rout" + - "es\022\225\001\n\rComputeRoutes\022,.google.maps.routi" + - "ng.v2.ComputeRoutesRequest\032-.google.maps" + - ".routing.v2.ComputeRoutesResponse\"\'\202\323\344\223\002" + - "!\"\034/directions/v2:computeRoutes:\001*\022\247\001\n\022C" + - "omputeRouteMatrix\0221.google.maps.routing." + - "v2.ComputeRouteMatrixRequest\032*.google.ma" + - "ps.routing.v2.RouteMatrixElement\"0\202\323\344\223\002*" + - "\"%/distanceMatrix/v2:computeRouteMatrix:" + - "\001*0\001\032\030\312A\025routes.googleapis.comB\312\001\n\032com.g" + - "oogle.maps.routing.v2B\022RoutesServiceProt" + - "oP\001Z=google.golang.org/genproto/googleap" + - "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + - "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + - "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + - "to3" - }; - 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.routing.v2.FallbackInfoProto.getDescriptor(), - com.google.maps.routing.v2.PolylineProto.getDescriptor(), - com.google.maps.routing.v2.RouteProto.getDescriptor(), - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(), - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(), - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(), - com.google.maps.routing.v2.UnitsProto.getDescriptor(), - com.google.maps.routing.v2.WaypointProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_ComputeRoutesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesRequest_descriptor, - new java.lang.String[] { "Origin", "Destination", "Intermediates", "TravelMode", "RoutingPreference", "PolylineQuality", "PolylineEncoding", "DepartureTime", "ComputeAlternativeRoutes", "RouteModifiers", "LanguageCode", "Units", "RequestedReferenceRoutes", }); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_maps_routing_v2_ComputeRoutesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRoutesResponse_descriptor, - new java.lang.String[] { "Routes", "FallbackInfo", }); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_ComputeRouteMatrixRequest_descriptor, - new java.lang.String[] { "Origins", "Destinations", "TravelMode", "RoutingPreference", "DepartureTime", }); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_maps_routing_v2_RouteMatrixOrigin_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixOrigin_descriptor, - new java.lang.String[] { "Waypoint", "RouteModifiers", }); - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_maps_routing_v2_RouteMatrixDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixDestination_descriptor, - new java.lang.String[] { "Waypoint", }); - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_maps_routing_v2_RouteMatrixElement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_RouteMatrixElement_descriptor, - new java.lang.String[] { "OriginIndex", "DestinationIndex", "Status", "Condition", "DistanceMeters", "Duration", "StaticDuration", "TravelAdvisory", "FallbackInfo", "OriginIndex", "DestinationIndex", }); - 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.routing.v2.FallbackInfoProto.getDescriptor(); - com.google.maps.routing.v2.PolylineProto.getDescriptor(); - com.google.maps.routing.v2.RouteProto.getDescriptor(); - com.google.maps.routing.v2.RouteModifiersProto.getDescriptor(); - com.google.maps.routing.v2.RouteTravelModeProto.getDescriptor(); - com.google.maps.routing.v2.RoutingPreferenceProto.getDescriptor(); - com.google.maps.routing.v2.UnitsProto.getDescriptor(); - com.google.maps.routing.v2.WaypointProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java deleted file mode 100644 index 0976571e0d86..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/RoutingPreferenceProto.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/routing_preference.proto - -package com.google.maps.routing.v2; - -public final class RoutingPreferenceProto { - private RoutingPreferenceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/routing_prefere" + - "nce.proto\022\026google.maps.routing.v2*z\n\021Rou" + - "tingPreference\022\"\n\036ROUTING_PREFERENCE_UNS" + - "PECIFIED\020\000\022\023\n\017TRAFFIC_UNAWARE\020\001\022\021\n\rTRAFF" + - "IC_AWARE\020\002\022\031\n\025TRAFFIC_AWARE_OPTIMAL\020\003B\316\001" + - "\n\032com.google.maps.routing.v2B\026RoutingPre" + - "ferenceProtoP\001Z=google.golang.org/genpro" + - "to/googleapis/maps/routing/v2;routing\370\001\001" + - "\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Goog" + - "le\\Maps\\Routing\\V2\352\002\031Google::Maps::Routi" + - "ng::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java deleted file mode 100644 index de71857e5a22..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/SpeedReadingIntervalProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/speed_reading_interval.proto - -package com.google.maps.routing.v2; - -public final class SpeedReadingIntervalProto { - private SpeedReadingIntervalProto() {} - 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_routing_v2_SpeedReadingInterval_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/maps/routing/v2/speed_reading_i" + - "nterval.proto\022\026google.maps.routing.v2\"\254\002" + - "\n\024SpeedReadingInterval\022\'\n\032start_polyline" + - "_point_index\030\001 \001(\005H\000\210\001\001\022%\n\030end_polyline_" + - "point_index\030\002 \001(\005H\001\210\001\001\022A\n\005speed\030\003 \001(\01622." + - "google.maps.routing.v2.SpeedReadingInter" + - "val.Speed\"E\n\005Speed\022\025\n\021SPEED_UNSPECIFIED\020" + - "\000\022\n\n\006NORMAL\020\001\022\010\n\004SLOW\020\002\022\017\n\013TRAFFIC_JAM\020\003" + - "B\035\n\033_start_polyline_point_indexB\033\n\031_end_" + - "polyline_point_indexB\321\001\n\032com.google.maps" + - ".routing.v2B\031SpeedReadingIntervalProtoP\001" + - "Z=google.golang.org/genproto/googleapis/" + - "maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Goo" + - "gle.Maps.Routing.V2\312\002\026Google\\Maps\\Routin" + - "g\\V2\352\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_SpeedReadingInterval_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_SpeedReadingInterval_descriptor, - new java.lang.String[] { "StartPolylinePointIndex", "EndPolylinePointIndex", "Speed", "StartPolylinePointIndex", "EndPolylinePointIndex", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java deleted file mode 100644 index cce8c52c6003..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollInfoProto.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/toll_info.proto - -package com.google.maps.routing.v2; - -public final class TollInfoProto { - private TollInfoProto() {} - 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_routing_v2_TollInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_TollInfo_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/routing/v2/toll_info.proto" + - "\022\026google.maps.routing.v2\032\027google/type/mo" + - "ney.proto\"7\n\010TollInfo\022+\n\017estimated_price" + - "\030\001 \003(\0132\022.google.type.MoneyB\305\001\n\032com.googl" + - "e.maps.routing.v2B\rTollInfoProtoP\001Z=goog" + - "le.golang.org/genproto/googleapis/maps/r" + - "outing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.Ma" + - "ps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352\002" + - "\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.MoneyProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_TollInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_TollInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_TollInfo_descriptor, - new java.lang.String[] { "EstimatedPrice", }); - com.google.type.MoneyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java deleted file mode 100644 index 514ae2547f4f..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/TollPassesProto.java +++ /dev/null @@ -1,96 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/toll_passes.proto - -package com.google.maps.routing.v2; - -public final class TollPassesProto { - private TollPassesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/toll_passes.pro" + - "to\022\026google.maps.routing.v2*\201\021\n\010TollPass\022" + - "\031\n\025TOLL_PASS_UNSPECIFIED\020\000\022\020\n\014AU_ETOLL_T" + - "AG\020R\022\017\n\013AU_EWAY_TAG\020S\022\014\n\010AU_LINKT\020\002\022\017\n\013A" + - "R_TELEPASE\020\003\022\023\n\017BR_AUTO_EXPRESO\020Q\022\020\n\014BR_" + - "CONECTCAR\020\007\022\020\n\014BR_MOVE_MAIS\020\010\022\023\n\017BR_PASS" + - "A_RAPIDO\020X\022\020\n\014BR_SEM_PARAR\020\t\022\014\n\010BR_TAGGY" + - "\020\n\022\014\n\010BR_VELOE\020\013\022)\n%CA_US_AKWASASNE_SEAW" + - "AY_CORPORATE_CARD\020T\022\'\n#CA_US_AKWASASNE_S" + - "EAWAY_TRANSIT_CARD\020U\022\036\n\032CA_US_BLUE_WATER" + - "_EDGE_PASS\020\022\022\023\n\017CA_US_CONNEXION\020\023\022\024\n\020CA_" + - "US_NEXUS_CARD\020\024\022\r\n\tID_E_TOLL\020\020\022\r\n\tIN_FAS" + - "TAG\020N\022\034\n\030IN_LOCAL_HP_PLATE_EXEMPT\020O\022\013\n\007M" + - "X_IAVE\020Z\022\013\n\007MX_PASE\020[\022\020\n\014MX_QUICKPASS\020]\022" + - "\"\n\036MX_SISTEMA_TELEPEAJE_CHIHUAHUA\020Y\022\017\n\013M" + - "X_TAG_IAVE\020\014\022\022\n\016MX_TAG_TELEVIA\020\r\022\016\n\nMX_T" + - "ELEVIA\020\\\022\016\n\nMX_VIAPASS\020\016\022\026\n\022US_AL_FREEDO" + - "M_PASS\020\025\0222\n.US_AK_ANTON_ANDERSON_TUNNEL_" + - "BOOK_OF_10_TICKETS\020\026\022\021\n\rUS_CA_FASTRAK\020\004\022" + - "\035\n\031US_CA_FASTRAK_CAV_STICKER\020V\022\025\n\021US_CO_" + - "EXPRESSTOLL\020\027\022\021\n\rUS_CO_GO_PASS\020\030\022\022\n\016US_D" + - "E_EZPASSDE\020\031\022$\n US_FL_BOB_SIKES_TOLL_BRI" + - "DGE_PASS\020A\022:\n6US_FL_DUNES_COMMUNITY_DEVE" + - "LOPMENT_DISTRICT_EXPRESSCARD\020B\022\017\n\013US_FL_" + - "EPASS\020C\022\030\n\024US_FL_GIBA_TOLL_PASS\020D\022\020\n\014US_" + - "FL_LEEWAY\020E\022\021\n\rUS_FL_SUNPASS\020F\022\025\n\021US_FL_" + - "SUNPASS_PRO\020G\022\022\n\016US_IL_EZPASSIL\020I\022\017\n\013US_" + - "IL_IPASS\020H\022\022\n\016US_IN_EZPASSIN\020\032\022\032\n\026US_KS_" + - "BESTPASS_HORIZON\020\033\022\016\n\nUS_KS_KTAG\020\034\022\026\n\022US" + - "_KS_NATIONALPASS\020\035\022\033\n\027US_KS_PREPASS_ELIT" + - "EPASS\020\036\022\023\n\017US_KY_RIVERLINK\020\037\022\023\n\017US_LA_GE" + - "AUXPASS\020 \022\022\n\016US_LA_TOLL_TAG\020!\022\022\n\016US_MA_E" + - "ZPASSMA\020\006\022\022\n\016US_MD_EZPASSMD\020\"\022\022\n\016US_ME_E" + - "ZPASSME\020#\0221\n-US_MI_AMBASSADOR_BRIDGE_PRE" + - "MIER_COMMUTER_CARD\020$\022)\n%US_MI_GROSSE_ILE" + - "_TOLL_BRIDGE_PASS_TAG\020%\022\026\n\022US_MI_IQ_PROX" + - "_CARD\020&\022\"\n\036US_MI_MACKINAC_BRIDGE_MAC_PAS" + - "S\020\'\022\027\n\023US_MI_NEXPRESS_TOLL\020(\022\022\n\016US_MN_EZ" + - "PASSMN\020)\022\022\n\016US_NC_EZPASSNC\020*\022\024\n\020US_NC_PE" + - "ACH_PASS\020W\022\024\n\020US_NC_QUICK_PASS\020+\022\022\n\016US_N" + - "H_EZPASSNH\020P\022 \n\034US_NJ_DOWNBEACH_EXPRESS_" + - "PASS\020K\022\022\n\016US_NJ_EZPASSNJ\020J\022\025\n\021US_NY_EXPR" + - "ESSPASS\020L\022\022\n\016US_NY_EZPASSNY\020M\022\022\n\016US_OH_E" + - "ZPASSOH\020,\022\022\n\016US_PA_EZPASSPA\020-\022\022\n\016US_RI_E" + - "ZPASSRI\020.\022\021\n\rUS_SC_PALPASS\020/\022\022\n\016US_TX_BA" + - "NCPASS\0200\022\026\n\022US_TX_DEL_RIO_PASS\0201\022\024\n\020US_T" + - "X_EFAST_PASS\0202\022!\n\035US_TX_EAGLE_PASS_EXPRE" + - "SS_CARD\0203\022\020\n\014US_TX_EPTOLL\0204\022\022\n\016US_TX_EZ_" + - "CROSS\0205\022\017\n\013US_TX_EZTAG\0206\022\032\n\026US_TX_LAREDO" + - "_TRADE_TAG\0207\022\022\n\016US_TX_PLUSPASS\0208\022\021\n\rUS_T" + - "X_TOLLTAG\0209\022\017\n\013US_TX_TXTAG\020:\022\025\n\021US_TX_XP" + - "RESS_CARD\020;\022\'\n#US_UT_ADAMS_AVE_PARKWAY_E" + - "XPRESSCARD\020<\022\022\n\016US_VA_EZPASSVA\020=\022\022\n\016US_W" + - "A_BREEZEBY\020\021\022\024\n\020US_WA_GOOD_TO_GO\020\001\022\022\n\016US" + - "_WV_EZPASSWV\020>\022!\n\035US_WV_MEMORIAL_BRIDGE_" + - "TICKETS\020?\022#\n\037US_WV_NEWELL_TOLL_BRIDGE_TI" + - "CKET\020@B\307\001\n\032com.google.maps.routing.v2B\017T" + - "ollPassesProtoP\001Z=google.golang.org/genp" + - "roto/googleapis/maps/routing/v2;routing\370" + - "\001\001\242\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Go" + - "ogle\\Maps\\Routing\\V2\352\002\031Google::Maps::Rou" + - "ting::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java deleted file mode 100644 index f37ea450c892..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/UnitsProto.java +++ /dev/null @@ -1,43 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/units.proto - -package com.google.maps.routing.v2; - -public final class UnitsProto { - private UnitsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - 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/routing/v2/units.proto\022\026go" + - "ogle.maps.routing.v2*8\n\005Units\022\025\n\021UNITS_U" + - "NSPECIFIED\020\000\022\n\n\006METRIC\020\001\022\014\n\010IMPERIAL\020\002B\302" + - "\001\n\032com.google.maps.routing.v2B\nUnitsProt" + - "oP\001Z=google.golang.org/genproto/googleap" + - "is/maps/routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026" + - "Google.Maps.Routing.V2\312\002\026Google\\Maps\\Rou" + - "ting\\V2\352\002\031Google::Maps::Routing::V2b\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java deleted file mode 100644 index 675414ec1b98..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleEmissionTypeProto.java +++ /dev/null @@ -1,45 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/vehicle_emission_type.proto - -package com.google.maps.routing.v2; - -public final class VehicleEmissionTypeProto { - private VehicleEmissionTypeProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/maps/routing/v2/vehicle_emissio" + - "n_type.proto\022\026google.maps.routing.v2*p\n\023" + - "VehicleEmissionType\022%\n!VEHICLE_EMISSION_" + - "TYPE_UNSPECIFIED\020\000\022\014\n\010GASOLINE\020\001\022\014\n\010ELEC" + - "TRIC\020\002\022\n\n\006HYBRID\020\003\022\n\n\006DIESEL\020\004B\320\001\n\032com.g" + - "oogle.maps.routing.v2B\030VehicleEmissionTy" + - "peProtoP\001Z=google.golang.org/genproto/go" + - "ogleapis/maps/routing/v2;routing\370\001\001\242\002\005GM" + - "RV2\252\002\026Google.Maps.Routing.V2\312\002\026Google\\Ma" + - "ps\\Routing\\V2\352\002\031Google::Maps::Routing::V" + - "2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java deleted file mode 100644 index c3eebf302c3e..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/VehicleInfoProto.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/vehicle_info.proto - -package com.google.maps.routing.v2; - -public final class VehicleInfoProto { - private VehicleInfoProto() {} - 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_routing_v2_VehicleInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_VehicleInfo_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/routing/v2/vehicle_info.pr" + - "oto\022\026google.maps.routing.v2\0322google/maps" + - "/routing/v2/vehicle_emission_type.proto\"" + - "Q\n\013VehicleInfo\022B\n\remission_type\030\002 \001(\0162+." + - "google.maps.routing.v2.VehicleEmissionTy" + - "peB\310\001\n\032com.google.maps.routing.v2B\020Vehic" + - "leInfoProtoP\001Z=google.golang.org/genprot" + - "o/googleapis/maps/routing/v2;routing\370\001\001\242" + - "\002\005GMRV2\252\002\026Google.Maps.Routing.V2\312\002\026Googl" + - "e\\Maps\\Routing\\V2\352\002\031Google::Maps::Routin" + - "g::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_VehicleInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_VehicleInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_VehicleInfo_descriptor, - new java.lang.String[] { "EmissionType", }); - com.google.maps.routing.v2.VehicleEmissionTypeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java b/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java deleted file mode 100644 index 06d30c201f06..000000000000 --- a/owl-bot-staging/java-maps-routing/v2/proto-google-maps-routing-v2/src/main/java/com/google/maps/routing/v2/WaypointProto.java +++ /dev/null @@ -1,59 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/maps/routing/v2/waypoint.proto - -package com.google.maps.routing.v2; - -public final class WaypointProto { - private WaypointProto() {} - 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_routing_v2_Waypoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_maps_routing_v2_Waypoint_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/routing/v2/waypoint.proto\022" + - "\026google.maps.routing.v2\032%google/maps/rou" + - "ting/v2/location.proto\"\242\001\n\010Waypoint\0224\n\010l" + - "ocation\030\001 \001(\0132 .google.maps.routing.v2.L" + - "ocationH\000\022\022\n\010place_id\030\002 \001(\tH\000\022\013\n\003via\030\003 \001" + - "(\010\022\030\n\020vehicle_stopover\030\004 \001(\010\022\024\n\014side_of_" + - "road\030\005 \001(\010B\017\n\rlocation_typeB\305\001\n\032com.goog" + - "le.maps.routing.v2B\rWaypointProtoP\001Z=goo" + - "gle.golang.org/genproto/googleapis/maps/" + - "routing/v2;routing\370\001\001\242\002\005GMRV2\252\002\026Google.M" + - "aps.Routing.V2\312\002\026Google\\Maps\\Routing\\V2\352" + - "\002\031Google::Maps::Routing::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.maps.routing.v2.LocationProto.getDescriptor(), - }); - internal_static_google_maps_routing_v2_Waypoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_maps_routing_v2_Waypoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_maps_routing_v2_Waypoint_descriptor, - new java.lang.String[] { "Location", "PlaceId", "Via", "VehicleStopover", "SideOfRoad", "LocationType", }); - com.google.maps.routing.v2.LocationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}